Am 09.08.2013 20:30, schrieb Michael Stapelberg: > Hi Michael, > > Michael Biebl <bi...@debian.org> writes: >> We should probably add test cases for these different use cases, i.e. >> - SysV-only services >> - systemd-only services >> - services with both SysV and native service files > That would be good, but it’s not a priority for me currently. The test > matrix is simple enough that manual testing is doable. > > I pushed a fix to debian-experimental.
I've tested the latest git master (a9589a2) and I still noticed a few issues a/ For a service with sysv + native service, where the service is masked, we still run the update-rc.d call but then fail when trying to modify the native service: root@pluto:/etc# systemctl mask kbd.service ln -s '/dev/null' '/etc/systemd/system/kbd.service' root@pluto:/etc# systemctl disable kbd.service Synchronizing state for kbd.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d kbd disable insserv: warning: current start runlevel(s) (empty) of script `kbd' overrides LSB defaults (S). insserv: warning: current stop runlevel(s) (S) of script `kbd' overrides LSB defaults (empty). Failed to issue method call: No such file or directory root@pluto:/etc# echo $? 1 root@pluto:/etc# ll /etc/rc?.d/???kbd lrwxrwxrwx 1 root root 13 Aug 10 13:20 /etc/rcS.d/K19kbd -> ../init.d/kbd b/ the systemctl disable output is incomplete, example rsyslog without the patch: root@pluto:/etc# systemctl enable rsyslog.service ln -s '/lib/systemd/system/rsyslog.service' '/etc/systemd/system/syslog.service' ln -s '/lib/systemd/system/rsyslog.service' '/etc/systemd/system/multi-user.target.wants/rsyslog.service' with the patch: root@pluto:/etc# systemctl enable rsyslog.service Synchronizing state for rsyslog.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d rsyslog enable ln -s '/lib/systemd/system/rsyslog.service' '/etc/systemd/system/syslog.service' Notice, how "ln -s '/lib/systemd/system/rsyslog.service' '/etc/systemd/system/multi-user.target.wants/rsyslog.service'" is missing in the second output. It seems to create that symlink, just misses to output that information. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature