[Pkg-sysvinit-devel] Bug#584089: clarify warning: current situation, or (proposed) action

jidanni at jidanni.org jidanni at jidanni.org
Tue Jun 1 05:52:48 UTC 2010


Package: sysv-rc
Version: 2.88dsf-7
Severity: wishlist

Let's take a look at this warning

# update-rc.d cron defaults
update-rc.d: using dependency based boot sequencing
update-rc.d: warning: cron stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)

1. it is not clear if the warning is about
   a. the situation on the disk before any action is taken
   b. the proposed action
   c. the situation on the disk after the action has completed

2. it is not clear if
   a. a action was done
   b. no action was done

Perhaps detailed reading of the "old behaviour" section of the man page
might give some clue, but for the average user, it is very unclear just
what your program is thinking / doing.

(By the way, it turns out the answers in this particular case are 1b and 2b, as
before and after the command, we find the same

# ls -1 /etc/rc?.d/???cron
/etc/rc1.d/K01cron
/etc/rc2.d/S02cron
/etc/rc3.d/S02cron
/etc/rc4.d/S02cron
/etc/rc5.d/S02cron )

(So one might say, "is there any way to find out what any 1a warning
might be?" However, even with -n, one needs to give a action parameter.
There is no way just to plain observe things... See also
#520060 add "show" or "status" command to update-rc.d .)






More information about the Pkg-sysvinit-devel mailing list