Re: [systemd-devel] Hybrid-sleep needs to be executed bu superuser

2012-12-17 Thread Philip Müller
I think *Mantas Mikule.nas* fixed it some minutes ago:/ http://lists.freedesktop.org/archives/systemd-devel/2012-December/007766.html / Am 17.12.2012 21:33, schrieb Christian Hesse: Federico Di Pierro on Mon, 2012/12/17 21:19: Hi! I'm using systemd 196 on my archlinux, with linux 3.7.0 . I fou

Re: [systemd-devel] Hybrid-sleep needs to be executed bu superuser

2012-12-17 Thread Christian Hesse
Christian Hesse on Mon, 2012/12/17 21:33: > Federico Di Pierro on Mon, 2012/12/17 21:19: > > Hi! > > I'm using systemd 196 on my archlinux, with linux 3.7.0 . > > I found out that "systemctl hybrid-sleep" needs to be ran as root. While > > my session is active (using systemd-logind feature), and

Re: [systemd-devel] Hybrid-sleep needs to be executed bu superuser

2012-12-17 Thread Christian Hesse
Federico Di Pierro on Mon, 2012/12/17 21:19: > Hi! > I'm using systemd 196 on my archlinux, with linux 3.7.0 . > I found out that "systemctl hybrid-sleep" needs to be ran as root. While my > session is active (using systemd-logind feature), and in fact i can > hibernate/poweroff/suspend with my no

[systemd-devel] [PATCH] logind: allow HybridSleep methods in default DBus context

2012-12-17 Thread Mantas Mikulėnas
--- src/login/org.freedesktop.login1.conf | 8 1 file changed, 8 insertions(+) diff --git a/src/login/org.freedesktop.login1.conf b/src/login/org.freedesktop.login1.conf index 5860fd9..6c1f2f5 100644 --- a/src/login/org.freedesktop.login1.conf +++ b/src/login/org.freedesktop.login1.conf

[systemd-devel] Hybrid-sleep needs to be executed bu superuser

2012-12-17 Thread Federico Di Pierro
Hi! I'm using systemd 196 on my archlinux, with linux 3.7.0 . I found out that "systemctl hybrid-sleep" needs to be ran as root. While my session is active (using systemd-logind feature), and in fact i can hibernate/poweroff/suspend with my normal user. But hybrid-sleep still requires superuser pri

[systemd-devel] DeviceAllow

2012-12-17 Thread Juan Orti Alcaine
Hello, I'm testing some of the security measures described in this post [1], and I'm having problems with the DeviceAllow directive. If I get it right, if I allow one access, all the remaining devices are disallowed. But my tests show otherwise. The man page doesn't talk about this behavior.

Re: [systemd-devel] eudev fork and patches there

2012-12-17 Thread Kay Sievers
On Mon, Dec 17, 2012 at 2:04 PM, Koen Kooi wrote: > Op 17 dec. 2012, om 12:17 heeft Zbigniew Jędrzejewski-Szmek > het volgende geschreven: >> eudev has made a project annoucement [1], and I thought it would be >> worthwhile to go through their patches and cherry-pick. I've now done >> that (unt

Re: [systemd-devel] eudev fork and patches there

2012-12-17 Thread Koen Kooi
Op 17 dec. 2012, om 12:17 heeft Zbigniew Jędrzejewski-Szmek het volgende geschreven: > Hi, > > eudev has made a project annoucement [1], and I thought it would be > worthwhile to go through their patches and cherry-pick. I've now done > that (until cc5c144a70fc37e 'Merge pull request #32') and

Re: [systemd-devel] eudev fork and patches there

2012-12-17 Thread Tom Gundersen
On Mon, Dec 17, 2012 at 1:10 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Dec 17, 2012 at 12:34:22PM +0100, Tom Gundersen wrote: >> On Dec 17, 2012 12:17 PM, "Zbigniew Jędrzejewski-Szmek" >> wrote: >> > There's also nice patch bfc850 'Add fallback path when accept4() is >> > not available.' D

Re: [systemd-devel] eudev fork and patches there

2012-12-17 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 17, 2012 at 12:34:22PM +0100, Tom Gundersen wrote: > On Dec 17, 2012 12:17 PM, "Zbigniew Jędrzejewski-Szmek" > wrote: > > There's also nice patch bfc850 'Add fallback path when accept4() is > > not available.' Do we care about kernels < 2.6.28? (This version is > > according to man acc

Re: [systemd-devel] eudev fork and patches there

2012-12-17 Thread Dave Reisner
On Dec 17, 2012 6:17 AM, "Zbigniew Jędrzejewski-Szmek" wrote: > > Hi, > > eudev has made a project annoucement [1], and I thought it would be > worthwhile to go through their patches and cherry-pick. I've now done > that (until cc5c144a70fc37e 'Merge pull request #32') and the results > regarding

Re: [systemd-devel] [PATCH] licence: remove references to old FSF address

2012-12-17 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 17, 2012 at 11:16:55AM +, Daniel P. Berrange wrote: > On Sun, Dec 16, 2012 at 10:23:23PM +, Sami Kerola wrote: > > Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206 > > > diff --git a/src/gudev/gudevclient.h b/src/gudev/gudevclient.h > > index b425d03..23bfce6 100644 > >

Re: [systemd-devel] [PATCH] licence: remove references to old FSF address

2012-12-17 Thread Daniel P. Berrange
On Sun, Dec 16, 2012 at 10:23:23PM +, Sami Kerola wrote: > Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206 > diff --git a/src/gudev/gudevclient.h b/src/gudev/gudevclient.h > index b425d03..23bfce6 100644 > --- a/src/gudev/gudevclient.h > +++ b/src/gudev/gudevclient.h > @@ -3,19 +3,18 @

[systemd-devel] eudev fork and patches there

2012-12-17 Thread Zbigniew Jędrzejewski-Szmek
Hi, eudev has made a project annoucement [1], and I thought it would be worthwhile to go through their patches and cherry-pick. I've now done that (until cc5c144a70fc37e 'Merge pull request #32') and the results regarding patches which can be used directly are not very impressive: one patch to fix

Re: [systemd-devel] [PATCH] sd-daemon: fix cppcheck warnings

2012-12-17 Thread Zbigniew Jędrzejewski-Szmek
On 10/15/2012 10:24 PM, Lennart Poettering wrote: On Mon, 15.10.12 21:05, Sami Kerola (kerol...@iki.fi) wrote: Found with 'cppcheck --enable=all --inconclusive --std=posix' while working with util-linux, which has a copy of this file. [snip] @@ -358,10 +358,10 @@ _sd_export_ int sd_is_socket

Re: [systemd-devel] [PATCH 2/2] socket-util: added check of return value

2012-12-17 Thread Zbigniew Jędrzejewski-Szmek
On 12/13/2012 02:59 PM, Michal Sekletar wrote: --- src/shared/socket-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shared/socket-util.c b/src/shared/socket-util.c index 49ea758..42ea545 100644 --- a/src/shared/socket-util.c +++ b/src/shared/socket-util.c @@ -369,6 +369,8 @@

Re: [systemd-devel] [PATCH] licence: remove references to old FSF address

2012-12-17 Thread Zbigniew Jędrzejewski-Szmek
On 12/17/2012 09:15 AM, Tomasz Torcz wrote: On Sun, Dec 16, 2012 at 10:23:23PM +, Sami Kerola wrote: Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206 15 files changed, 121 insertions(+), 141 deletions(-) Could you modify TODO also? #v+ * need to update LGPL2.1 text to newest ve

Re: [systemd-devel] [PATCH] licence: remove references to old FSF address

2012-12-17 Thread Tomasz Torcz
On Sun, Dec 16, 2012 at 10:23:23PM +, Sami Kerola wrote: > Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206 > 15 files changed, 121 insertions(+), 141 deletions(-) Could you modify TODO also? #v+ * need to update LGPL2.1 text to newest version (with updated FSF address) #v- -- Tom