Subject: pkg/24471: news/inn cannot be started as installed
To: None <firstname.lastname@example.org>
From: Olaf Seibert <email@example.com>
Date: 02/18/2004 14:58:00
>Synopsis: news/inn cannot be started as installed
>Arrival-Date: Wed Feb 18 13:59:00 UTC 2004
>Originator: Olaf Seibert
>Release: <NetBSD-current source date>
NetBSD rode 1.6.1 NetBSD 1.6.1 (RODE) #6: Wed Dec 17 13:10:00 CET 2003 root@rode:/usr/src/sys/arch/i386/compile/RODE i386
When inn is installed, it has a rc.d/innd script which contains
(among others) the following line:
su news -c "/usr/pkg/inn/bin/rc.news start" >/dev/null
This does not work.
The password file contains the following line:
The shell is /sbin/nologin. Therefore, if the above command is
run, you get the following error message:
bash-2.05b# su news -c "/usr/pkg/inn/bin/rc.news"
This account is currently not available.
Due to the redirection one normally doesn't see the error, and
it is completely unclear what happens. The error is printed by
To avoid this problem, you can change the command to
SH=/bin/sh su -m news -c "/usr/pkg/inn/bin/rc.news start"
(and change its other similar occurrences too).
Now I get innd started, but it logs various problems that may
be caused by trying to use a spool directory and history file
from a previous version. (Which would not be nice, if it is
indeed impossible to upgrade inn without erasing the spool).
Install inn. Try to start it.
___ Olaf 'Rhialto' Seibert - rhialto@ -- "What good is a Ring of Power
\X/ polderland.nl -- if you're unable...to Speak." - Agent Elrond