[systemd-devel] [PATCH] dbus-manager: don't allow enabling if unit is masked

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Oct 7 08:54:16 PDT 2014


On Tue, Oct 07, 2014 at 08:23:32AM +0200, Jan Synacek wrote:
> While I'm at it, what about disable? Should it behave in the same way,
> i.e. return error when the unit is masked? My guess is that yes, but I'm
> not sure.
I don't see a reason why disabling should be disallowed. I think we even
allow (or should allow) disabling of uninstalled units. Disabling is only
about removing links. E.g. in the situation where somebody masked a file
by adding a link to /dev/null,  and wants to remove the links also, this
should be totally OK.

Zbyszek


More information about the systemd-devel mailing list