Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 03:00:03 +0900 (JST)
From:      sada@e-mail.ne.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7400: ports: ja-canna can't start
Message-ID:  <199807261801.DAA06740@mfi01.iij.ad.jp>

next in thread | raw e-mail | index | archive | help

>Number:         7400
>Category:       ports
>Synopsis:       ports: ja-canna can't start
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 26 11:10:01 PDT 1998
>Last-Modified:
>Originator:     SADA Kenji
>Organization:
Nagoya.Aichi.Japan
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

	FreeBSD 2.2.7-RELEASE i386

>Description:

	From this release, the system wipes out whole /var/run directory
	at the boot-up time, and the cannaserver couldn't make the pid file
	`/var/run/canna/Canna.pid'.

>How-To-Repeat:

	Install japanese/canna port and restart the system.

>Fix:

--- Makefile.orig	Sat Oct 18 00:59:04 1997
+++ Makefile	Sun Jul 26 21:33:38 1998
@@ -46,6 +46,8 @@
 		  >> ${STARTUP_SCRIPT} ;				\
 		echo 'if [ -f $$canna ]; then' >> ${STARTUP_SCRIPT} ;	\
 		echo '    rm -f /var/run/canna/Canna.pid' >> ${STARTUP_SCRIPT};\
+		echo '    mkdir -p /var/run/canna' >> ${STARTUP_SCRIPT};\
+		echo '    chown bin:bin /var/run/canna' >> ${STARTUP_SCRIPT};\
 		echo "    echo -n ' Canna'" >> ${STARTUP_SCRIPT};	\
 		echo '     $$canna' >> ${STARTUP_SCRIPT} ;		\
 		echo "fi" >> ${STARTUP_SCRIPT} ;			\

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807261801.DAA06740>