Re: [systemd-devel] dbus API for unit state change?

2013-10-06 Thread Brandon Philips
On Sun, Oct 6, 2013 at 3:10 PM, Lennart Poettering wrote: > So, yeah, if you respond to each UnitNew signal you get with a property > Get/GetAll call, then this will result in endless ping pong, which is > certainly not a good idea. > > What are you trying to do? Write some tool that tracks all un

Re: [systemd-devel] [PATCH 2/2] Run with a custom SMACK domain (label).

2013-10-06 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Oct 02, 2013 at 11:12:09AM -0700, Auke Kok wrote: > Allows the systemd --system process to change its current > SMACK label to a predefined custom label (usually "system") > at boot time. > > This is needed to have a few system-generated folders and > sockets automatically be created with

Re: [systemd-devel] dbus API for unit state change?

2013-10-06 Thread Lennart Poettering
On Fri, 04.10.13 17:19, Brandon Philips ([email protected]) wrote: > > Another dbus question: > > Is it expected that a UnitNew and UnitRemove are sent when I use > org.freedesktop.DBus.Properties.Get or GetAll? This also happens with > `systemctl status doesnt-exist.service` Yupp it kinda is. T