[Pkg-systemd-maintainers] Bug#743217: systemd: systemctl enabled/disable does not print what it's doing with the unit file

Michael Biebl biebl at debian.org
Mon Mar 31 17:18:26 BST 2014


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.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140331/21957e09/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list