[Pkg-sysvinit-devel] Bug#365062: initscripts: running
/etc/init.d/hostname.sh as non-root does not return errorcode
Michael Prokop
mika at grml.org
Thu Apr 27 16:19:50 UTC 2006
Package: initscripts
Version: 2.86.ds1-14
Severity: normal
% /etc/init.d/hostname.sh start
Setting hostname to 'grml'...hostname: you must be root to change the host name
failed.
% echo $?
0
%
Please exit with a return-value != 0 if running hostname.sh fails.
regards,
-mika-
More information about the Pkg-sysvinit-devel
mailing list