[systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts
lennart at poettering.net
Wed May 27 06:36:38 PDT 2015
On Wed, 27.05.15 15:30, Martin Pitt (martin.pitt at ubuntu.com) wrote:
> 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
OK, sounds Ok to not do this then.
Lennart Poettering, Red Hat
More information about the systemd-devel