Subject: pkg/33873: xorg-server installs /usr/pkg/xorg/etc/init.d/xprint
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <bad@bsd.de>
List: pkgsrc-bugs
Date: 06/30/2006 00:35:00
>Number: 33873
>Category: pkg
>Synopsis: xorg-server installs /usr/pkg/xorg/etc/init.d/xprint
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 30 00:35:00 +0000 2006
>Originator: Christoph Badura
>Release: NetBSD 3.0_STABLE
>Organization:
>Environment:
pkgsrc as of 2006-06-26
System: NetBSD limiting-factor 3.0_STABLE NetBSD 3.0_STABLE (GENERIC_LAPTOP) #7: Tue Jun 27 22:50:21 MEST 2006 bad@limiting-factor:/home/bad/c/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
x11/xorg-server silently and bogusly installes the xprint rc.d script into
/usr/pkg/xorg/etc/init.d/xprint.
This appears to be the only file under the xorg/etc directory.
It should be installed in one of the standard rc.d directories.
While I looked into this I also noticed the following in the PLIST
${X11ROOT_PREFIX}/etc/rc.d/rc2.d/K21xprint
${X11ROOT_PREFIX}/etc/rc.d/rc2.d/S21xprint
${X11ROOT_PREFIX}/etc/rc.d/rc3.d/K21xprint
${X11ROOT_PREFIX}/etc/rc.d/rc3.d/S21xprint
That's supposed to be etc/init.d/xprint since a couple of years.
And use insserv(8) to activate it.
>How-To-Repeat:
install x11/xorg-server
>Fix:
Install the rc.d script below PKG_SYSCONFDIR.