Re: [systemd-devel] [PATCH] add org.freedesktop.DBus.Properies.Set method

2011-03-06 Thread Lennart Poettering
On Sun, 06.03.11 19:17, Andrey Borzenkov ([email protected]) wrote: > The patch adds framework for processing Set requests on properties > and as first consumers allows setting of LogTarget and LogLevel on > interface org.freedesktop.systemd1.Manager of org.freedesktop.systemd1. > > The code sh

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

2011-03-06 Thread Lennart Poettering
On Sat, 05.03.11 14:27, Andrey Borzenkov ([email protected]) wrote: > pts/1}% systemctl --no-pager show systemd-tmpfiles-clean.service > Id=systemd-tmpfiles-clean.service > Names=systemd-tmpfiles-clean.service > Wants=local-fs.target > Before=sysinit.target shutdown.target > After=systemd-tmpfiles

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

2011-03-06 Thread Lennart Poettering
On Fri, 04.03.11 14:51, Bill Nottingham ([email protected]) wrote: > 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 is true. > That means

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

2011-03-06 Thread Lennart Poettering
On Fri, 04.03.11 22:37, Andrey Borzenkov ([email protected]) wrote: > 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

Re: [systemd-devel] Errors in log for "systemctl status" as non-root user

2011-03-06 Thread Lennart Poettering
On Sat, 05.03.11 17:35, Andrey Borzenkov ([email protected]) wrote: > Mar 5 17:33:44 cooker dbus-daemon: [system] Rejected send message, 2 > matched rules; type="method_call", sender=":1.62" (uid=501 pid=3778 > comm="systemctl status haldaemon.service ") > interface="org.freedesktop.systemd1.Ma

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

2011-03-06 Thread Lennart Poettering
On Fri, 04.03.11 19:52, Andrey Borzenkov ([email protected]) wrote: > 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

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

2011-03-06 Thread Lennart Poettering
On Fri, 04.03.11 16:54, Andrey Borzenkov ([email protected]) wrote: Heya, > If we ever expect caller to not be interested in allocated > string, this string should be freed in this case. Hmm, there's an assert(_r) in the header of the function. Which I guess makes the whole 'if' check unnecess

[systemd-devel] [PATCH] add org.freedesktop.DBus.Properies.Set method

2011-03-06 Thread Andrey Borzenkov
The patch adds framework for processing Set requests on properties and as first consumers allows setting of LogTarget and LogLevel on interface org.freedesktop.systemd1.Manager of org.freedesktop.systemd1. The code should be generic enough to allow processing of any property on other objects and i