services and systemd in F16
Nils Philippsen
nils at redhat.com
Thu Sep 1 11:49:51 UTC 2011
On Wed, 2011-08-31 at 17:55 +0200, Lennart Poettering wrote:
> On Wed, 31.08.11 17:01, Nils Philippsen (nils at redhat.com) wrote:
>
> > What's missing is a way to enable/disable/monitor enablement of a
> > systemd/SysV service, partly because systemd doesn't expose this via its
> > dbus interface (which the privileged s-c-services mechanism uses). I'll
> > probably make it check this when a service is selected, but I'd really
> > like something (dbus signals?) which I could monitor for instantaneous
> > updates (Lennart, pretty please?). So much to do and so few round
> > tuits :-).
>
> We actually support this for quite some time now in F16. You can get a
> list of all unit files that are installed with their enablement status,
> and you get notifications if their state changes. You have bus calls to
> enable/disable/link/mask/unmask units files. So it should all be there.
>
> The bus interfaces are not really documented very well, but it's quite
> straight-forward I think and fully introspectable. If you have
> questions, please ping me.
Cool. I guess I'll use that if available and fall back to running
systemctl is-enabled/enable/disable if not.
Thanks,
Nils
--
Nils Philippsen "Those who would give up Essential Liberty to purchase
Red Hat a little Temporary Safety, deserve neither Liberty
nils at redhat.com nor Safety." -- Benjamin Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011
More information about the test
mailing list