[Pkg-sysvinit-devel] Bug#660862: initscripts: symlink /etc/nologin points to non existent file:

Carlos Alberto Lopez Perez clopez at igalia.com
Fri Nov 23 14:49:15 UTC 2012


reassign 660862 initscripts
retitle 660862 initscripts: symlink /etc/nologin points to non existent file:
thanks


Same here. 

Such symlink was created by an upgrade of the package initscripts on a system running Debian/Squeeze.


Here is the relevant part:


$ grep -C3 /etc/nologin sysvinit-2.88dsf/debian/initscripts.postinst
# Set up nologin symlink so that dynamic-login-disabling will work
# (when DELAYLOGIN is set to "yes")
#
if [ ! -L /etc/nologin ] && [ ! -e /etc/nologin ]
then
	rm -f /var/lib/initscripts/nologin
	ln -s /var/lib/initscripts/nologin /etc/nologin
fi




I don't know why the postinst script does that.  Can somebody explain?


Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20121123/126e65a7/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list