[systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts
Martin Pitt
martin.pitt at ubuntu.com
Wed May 27 06:30:01 PDT 2015
Lennart Poettering [2015-05-27 15:18 +0200]:
> Maybe introducing a new tool for this that covers all options is the
> better idea. Let's call it /usr/lib/systemd/systemd-sysv-install or
> so, taking the --root= switch as before, plus "enable", "disable",
> "is-enabled" plus one or more LSB init script names is the better
> option...
To reiterate, I'm really worried about "multiple names". Not only does
that needlessly complicate the implementation of the wrapper, it also
seems like unnecessarily introducing ambiguity. What should
is-enabled foo bar baz
mean? "any", "all", "first", "error"?
Where do we need this? systemctl calls stuff one by one in a loop
anyway?
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the systemd-devel
mailing list