Subject: pkg/13250: INN pkg unuseable as installed
To: None <gnats-bugs@gnats.netbsd.org>
From: g r <gr@grappa.eclipsed.net>
List: netbsd-bugs
Date: 06/19/2001 20:31:32
>Number:         13250
>Category:       pkg
>Synopsis:       INN pkg unuseable as installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 19 17:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     gabriel rosenkoetter
>Release:        Jun 17 2001
>Organization:
	
>Environment:
	
System: NetBSD grappa 1.5W NetBSD 1.5W (GRAPPA) #5: Tue Jun 19 11:27:23 EDT 2001 gr@grappa:/usr/src/sys/arch/i386/compile/GRAPPA i386
Architecture: i386
Machine: i386
>Description:
	After doing a make install (or, I presume, pkg_add) of INN
	(pkgsrc/news/inn) it's not possible to just start INN up.

	Obviously, one should have to do configuration and starting the
	daemon up right off the bat is a bad idea, but this line in
	/etc/passwd, included in the default install, needs to be changed
	by the package:

	news:*:6:8::0:0:Network News:/var/spool/news:/sbin/nologin

	... as running the rc script installed by the package produces the
	following:

	grappa:~# /usr/pkg/etc/rc.d/innd start
	This account is currently not available.

	I'm *assuming* that just changing the news user's shell to /bin/sh
	is okay but I haven't exactly thought out all the security
	implications of doing so.
>How-To-Repeat:
	Install innd, try to use its start up script.
>Fix:
	none provided, especially since I'm unsure whether this should
	just be an addition to the post-install output ("You need to give
	the user 'news' a shell!") or an actual change to the package.

	Thoughts?
>Release-Note:
>Audit-Trail:
>Unformatted: