[Pkg-sysvinit-devel] Bug#584311: alsa-utils: postinst and init script disagree about stop runlevels

Sven Joachim svenjoac at gmx.de
Thu Jun 3 12:23:34 UTC 2010


Am 03.06.2010 um 14:14 schrieb Elimar Riesebieter:

> reassign 584311 sysv-rc
> thanks
>
> * Elimar Riesebieter [100603 11:53 +0200]
>> * Sven Joachim [100603 07:27 +0200]
>> > Package: alsa-utils
>> > Version: 1.0.23-1
>> > Severity: normal
>> > 
>> > I've just seen this:
>> > 
>> > ,----
>> > | Richte alsa-utils ein (1.0.23-1) ...
>> > | update-rc.d: warning: alsa-utils stop runlevel arguments (0 6) do not match LSB Default-Stop values (0 1 6)
>> > | insserv: warning: current stop runlevel(s) (0 6) of script `alsa-utils' overwrites defaults (0 1 6).
>> > `----
>> > 
>> > It seems that the Default-Stop header in the init script should be
>> > changed, since stopping in runlevel 1 is probably rather pointless.
>> 
>> Hmm, the initscript defaults to 0 1 6 which is the LSB
>> Default-Stop. Maybe there is a bug in the recent updatet sysvinit
>> package?
>
> Else:
> # update-rc.d -n alsa-utils defaults
> update-rc.d: warning: alsa-utils start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (S)
> update-rc.d: using dependency based boot sequencing
> insserv: warning: current stop runlevel(s) (0 6) of script `alsa-utils' overwrites defaults (0 1 6).
> insserv: dryrun, not creating .depend.boot, .depend.start, and .depend.stop
>
> # grep "^\#\ Default" /etc/init.d/alsa-utils
> # Default-Start:     S
> # Default-Stop:      0 1 6

Which does not match the postinst:

,----
| $ grep update-rc.d /var/lib/dpkg/info/alsa-utils.postinst
|         update-rc.d alsa-utils start 50 S . stop 50 0 6 . >/dev/null || exit $?
`----

> Reassignd to sysv-rc

Could you please elaborate?

Sven





More information about the Pkg-sysvinit-devel mailing list