Bug#806812: Double messages upon disable
Martin Pitt
mpitt at debian.org
Mon Jan 4 11:25:17 GMT 2016
Control: tag -1 unreproducible moreinfo
Hello Dan,
積丹尼 Dan Jacobson [2015-12-02 2:58 +0800]:
> Double messages upon disable:
>
> # systemctl disable mysql
> Synchronizing state of mysql.service with SysV init with /lib/systemd/systemd-sysv-install...
> Executing /lib/systemd/systemd-sysv-install disable mysql
> insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides LSB defaults (2 3 4 5).
> insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mysql' overrides LSB defaults (0 1 6).
> insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides LSB defaults (2 3 4 5).
> insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mysql' overrides LSB defaults (0 1 6).
I cannot reproduce this. I tried "apt install mysql-server" and that
very command, and I only get the two lines once. I also tried with
"haveged" to pick another package with just a sysvinit script.
Can you please install haveged (which is small and fairly harmless)
and see if you get this with that init script too?
Can you please run
strace -fvvs1024 -o /tmp/t systemctl disable mysql
and attach /tmp/t?
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the Pkg-systemd-maintainers
mailing list