Am 31.03.2014 18:18, schrieb Michael Biebl: > Am 31.03.2014 17:54, schrieb Ralf Jung: >> Package: systemd >> Version: 204-8 >> Severity: minor >> >> Dear Maintainer, >> >> I very much like how commands like "systemctl mask" or "systemctl unmask" >> print to stdout the commands they are executing, so that it becomes >> clear to the admin where this "magic" systemd state is stored and that >> it's not so magic after all. >> I seem to remember that this also used to be the case for >> "systemctl disable" and "systemctl enable". >> However, currently, no such output is done for what systemctl does >> with the service file: >> >> $ sudo systemctl disable osspd >> Synchronizing state for osspd with sysvinit using update-rc.d... >> Executing /usr/sbin/update-rc.d osspd defaults >> Executing /usr/sbin/update-rc.d osspd disable >> insserv: warning: current start runlevel(s) (empty) of script `osspd' >> overrides LSB defaults (2 3 4 5). >> insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script >> `osspd' overrides LSB defaults (0 1 6). >> >> I expected to see something like >> >> rm '/etc/systemd/system/multi-user.target.wants/osspd.service' >> >> in there. >> The same goes for "systemctl enable". > > We tried to mirror what update-rc.d does, ie. be silent and only output > errors.
Ah sorry, I somehow thought you were talking about the output of deb-systemd-helper (which is used in the maintainer scripts). Are you sure the service you are talking about actually ships a native systemd .service file. If e.g. I run that for ssh (which does ship one), I get # systemctl enable ssh.service Synchronizing state for ssh.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d ssh defaults insserv: warning: current start runlevel(s) (empty) of script `ssh' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh' overrides LSB defaults (empty). Executing /usr/sbin/update-rc.d ssh enable ln -s '/lib/systemd/system/ssh.service' '/etc/systemd/system/sshd.service' -- 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

