reassign 971713 insserv 1.21.0-1 severity 971713 grave affects 971713 sysstat thanks
Julian Gilbey writes: > Package: sysstat > Version: 12.4.0-1 > Severity: normal > > When installing any package that has an init.d file, I get the > following warning message about sysstat: > > insserv: Script sysstat has overlapping Default-Start and Default-Stop > runlevels (2 3 4 5) and (2 3 4 5). This should be fixed. sysstat's init.d has the following lines in /etc/init.d/sysstat # Default-Start: 2 3 4 5 # Default-Stop: I'm not sure how empty Default-Stop is interpreted, so I've just tried to change it to: # Default-Stop: 0 1 6 As a result insserv displays two warnings instead of one: insserv: warning: current stop runlevel(s) (empty) of script `sysstat' overrides LSB defaults (0 1 6). insserv: Script ssh has overlapping Default-Start and Default-Stop runlevels (2 3 4 5) and (2 3 4 5). This should be fixed. As a maintainer of sysstat I have no idea what else I can do to fix the warning. It seems to me there is some bug in insserv. As the bug affects my package, and according to the bug report "any package that has init.d file", I'm setting severity of this report to grave. Oh, reinstalling the package does not fix the warnings either: robert@vox:~/TEMP/sysstat$ grep Default-Stop /etc/init.d/sysstat # Default-Stop: 0 1 6 robert@vox:~/TEMP/sysstat$ LC_ALL=C sudo dpkg -i sysstat_12.4.1-1~_amd64.deb (Reading database ... 315689 files and directories currently installed.) Preparing to unpack sysstat_12.4.1-1~_amd64.deb ... Unpacking sysstat (12.4.1-1~) over (12.4.1-1~) ... Setting up sysstat (12.4.1-1~) ... insserv: warning: current stop runlevel(s) (empty) of script `sysstat' overrides LSB defaults (0 1 6). insserv: Script ssh has overlapping Default-Start and Default-Stop runlevels (2 3 4 5) and (2 3 4 5). This should be fixed. robert@vox:~/TEMP/sysstat$ grep Default-Stop /etc/init.d/sysstat # Default-Stop: 0 1 6 robert@vox:~/TEMP/sysstat$ ls -la /etc/{init.d,rc*}/*sysstat -rwxr-xr-x 1 root root 1593 12-13 10:03 /etc/init.d/sysstat lrwxrwxrwx 1 root root 17 12-13 10:01 /etc/rc2.d/S03sysstat -> ../init.d/sysstat lrwxrwxrwx 1 root root 17 12-13 10:01 /etc/rc3.d/S03sysstat -> ../init.d/sysstat lrwxrwxrwx 1 root root 17 12-13 10:01 /etc/rc4.d/S03sysstat -> ../init.d/sysstat lrwxrwxrwx 1 root root 17 12-13 10:01 /etc/rc5.d/S03sysstat -> ../init.d/sysstat Also please note that sysstat's debian/rules uses the following lines, but I'm not sure if this information is relevant or not: override_dh_installinit-arch: dh_installinit --no-start --no-restart-after-upgrade --no-stop-on-upgrade override_dh_installsystemd-arch: dh_installsystemd --no-start --no-restart-after-upgrade --no-stop-on-upgrade BTW. I don't use insserv, I've installed it today, and I've seen these messages during installation: Konfigurowanie pakietu insserv (1.21.0-1) ... insserv: Script ssh has overlapping Default-Start and Default-Stop runlevels (2 3 4 5) and (2 3 4 5). This should be fixed. insserv: FATAL: service mountkernfs has to exist for service udev insserv: FATAL: service mountdevsubfs has to exist for service hwclock insserv: FATAL: service urandom has to exist for service networking insserv: exiting now! I don't know if they are related or not. I've checked that /etc/init.d/ssh also contains empty Default-Stop line. Regards, Robert