Re: [systemd-devel] [PACKAGERS] Packaging systemd >= 20

2011-03-04 Thread Andrey Borzenkov
On Sat, Mar 5, 2011 at 7:23 AM, Mike Kazantsev wrote: > On Sat, 5 Mar 2011 06:44:13 +0300 > Andrey Borzenkov wrote: > >> >> What do you mean - optional? Unless d-bus is patched to look at >> /etc/machine-id (or is informed about this location by some other >> means) it will never even know about

Re: [systemd-devel] [PACKAGERS] Packaging systemd >= 20

2011-03-04 Thread Mike Kazantsev
On Sat, 5 Mar 2011 06:44:13 +0300 Andrey Borzenkov wrote: > > What do you mean - optional? Unless d-bus is patched to look at > /etc/machine-id (or is informed about this location by some other > means) it will never even know about this file. So symlink > /var/lib/dbus/machine-id -> /etc/machin

Re: [systemd-devel] [PACKAGERS] Packaging systemd >= 20

2011-03-04 Thread Andrey Borzenkov
On Sat, Mar 5, 2011 at 1:41 AM, Lennart Poettering wrote: > Heya, > > Here's a little headsup to all packagers, regarding packaging of systemd > v20 (which isn't released yet): > > With v20 we introduced /etc/machine-id, which needs special attention > when packaging. > > First, here's a bit of ba

[systemd-devel] [PACKAGERS] Packaging systemd >= 20

2011-03-04 Thread Lennart Poettering
Heya, Here's a little headsup to all packagers, regarding packaging of systemd v20 (which isn't released yet): With v20 we introduced /etc/machine-id, which needs special attention when packaging. First, here's a bit of background regarding this new feature: http://lists.freedesktop.org/archive

[systemd-devel] systemctl is-enabled...

2011-03-04 Thread Bill Nottingham
The implementation of the is-enabled command makes its not necessarily useful as I might expect it to be. From looking at it, it merely checks whether the '[Install]' section has been executed. That means that it's not going to be correct for any service that has been enabled via other means, or do

[systemd-devel] Dynamic generators (after systemd start)

2011-03-04 Thread Andrey Borzenkov
I am playing with per-interface auto-generated units (for the case without NetworkManager :) ) and so far it looks quite promising - using trivial unit file and even more trivial generator I automatically get interfaces up at the correct time: netif@eth0.service - Interface Setup for eth0

[systemd-devel] [PATCH] add Mandriva distribution support

2011-03-04 Thread Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in

[systemd-devel] [PATCH] trivial memory leak in sysv_translate_facility()

2011-03-04 Thread Andrey Borzenkov
If we ever expect caller to not be interested in allocated string, this string should be freed in this case. Signed-off-by: Andrey Borzenkov --- src/service.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/service.c b/src/service.c index 8517579..1ffda05 100644 --