Re: [systemd-devel] [PATCH] manager: Ensure user's systemd runtime directory exists.

2014-11-03 Thread Colin Guthrie
Zbigniew Jędrzejewski-Szmek wrote on 02/11/14 18:18: On Sun, Nov 02, 2014 at 02:04:20PM +, Colin Guthrie wrote: This mirrors code in dbus.c when creating the private socket and avoids error messages like: systemd[1353]: bind(/run/user/603/systemd/notify) failed: No such file or

Re: [systemd-devel] statelessy system

2014-11-03 Thread Łukasz Stelmach
It was 2014-10-31 pią 17:04, when Zbigniew Jędrzejewski-Szmek wrote: On Fri, Oct 31, 2014 at 02:06:37PM +0100, Łukasz Stelmach wrote: My question: is v217 ready to run without /etc/systemd/*.conf and read them from /usr/lib/systemd wher I (vendor) can put properly tailored files? Hi Łukasz,

Re: [systemd-devel] statelessy system

2014-11-03 Thread Łukasz Stelmach
It was 2014-11-02 nie 19:06, when Lennart Poettering wrote: On Fri, 31.10.14 14:06, Łukasz Stelmach (l.stelm...@samsung.com) wrote: Hello. I am working to upgrade systemd in Tizen to v217 from v212. To verify rpm packages we use rpmlint with some rules from opensuse[1]. For whatever reason

Re: [systemd-devel] statelessy system

2014-11-03 Thread Lennart Poettering
On Mon, 03.11.14 09:48, Łukasz Stelmach (l.stelm...@samsung.com) wrote: It was 2014-11-02 nie 19:06, when Lennart Poettering wrote: On Fri, 31.10.14 14:06, Łukasz Stelmach (l.stelm...@samsung.com) wrote: Hello. I am working to upgrade systemd in Tizen to v217 from v212. To verify

[systemd-devel] [PATCH] sd-pppoe: include ppp_defs.h

2014-11-03 Thread Lukas Nykryn
On older kernels before this patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e8b671460410c8fd996c8a1c228b718c547cc236 ppp-ioctl.h did not pull in ppp_defs.h which results in build errors --- src/libsystemd-network/sd-pppoe.c | 1 + 1 file changed, 1 insertion(+)

Re: [systemd-devel] [PATCH] sd-pppoe: include ppp_defs.h

2014-11-03 Thread Tom Gundersen
Applied. Thanks! Tom On Mon, Nov 3, 2014 at 12:31 PM, Lukas Nykryn lnyk...@redhat.com wrote: On older kernels before this patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e8b671460410c8fd996c8a1c228b718c547cc236 ppp-ioctl.h did not pull in ppp_defs.h which

Re: [systemd-devel] [PATCH 2/5] libsystemd:terminal :fix uninitialized warning

2014-11-03 Thread David Herrmann
Hi On Thu, Oct 16, 2014 at 11:43 PM, philippedesw...@gmail.com wrote: From: Philippe De Swert philippedesw...@gmail.com Remove the following warning during the compilation: src/libsystemd-terminal/grdev-drm.c: In function 'grdrm_card_hotplug': src/libsystemd-terminal/grdev-drm.c:1087:45:

Re: [systemd-devel] [PATCH 2/5] libsystemd:terminal :fix uninitialized warning

2014-11-03 Thread Tom Gundersen
On Mon, Nov 3, 2014 at 1:12 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Thu, Oct 16, 2014 at 11:43 PM, philippedesw...@gmail.com wrote: From: Philippe De Swert philippedesw...@gmail.com Remove the following warning during the compilation: src/libsystemd-terminal/grdev-drm.c: In

Re: [systemd-devel] [PATCH 2/5] libsystemd:terminal :fix uninitialized warning

2014-11-03 Thread Lennart Poettering
On Mon, 03.11.14 13:12, David Herrmann (dh.herrm...@gmail.com) wrote: Hi On Thu, Oct 16, 2014 at 11:43 PM, philippedesw...@gmail.com wrote: From: Philippe De Swert philippedesw...@gmail.com Remove the following warning during the compilation: src/libsystemd-terminal/grdev-drm.c: In

Re: [systemd-devel] [PATCH 2/5] libsystemd:terminal :fix uninitialized warning

2014-11-03 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 03, 2014 at 01:41:20PM +0100, Lennart Poettering wrote: On Mon, 03.11.14 13:12, David Herrmann (dh.herrm...@gmail.com) wrote: Hi On Thu, Oct 16, 2014 at 11:43 PM, philippedesw...@gmail.com wrote: From: Philippe De Swert philippedesw...@gmail.com Remove the following

Re: [systemd-devel] [PATCH 2/5] libsystemd:terminal :fix uninitialized warning

2014-11-03 Thread David Herrmann
Hi On Mon, Nov 3, 2014 at 1:44 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Nov 03, 2014 at 01:41:20PM +0100, Lennart Poettering wrote: On Mon, 03.11.14 13:12, David Herrmann (dh.herrm...@gmail.com) wrote: Hi On Thu, Oct 16, 2014 at 11:43 PM,

Re: [systemd-devel] statelessy system

2014-11-03 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 03, 2014 at 12:24:42PM +0100, Lennart Poettering wrote: Would be happy to take a patch that makes those cases check for a config file in /usr/lib as fallback though, to cover all bases. Didn't we have a patch to support .d directories floated on the ml? Can't seem to find it at the

[systemd-devel] [PATCH] localectl: fix localectl set-x11-keymap syntax description

2014-11-03 Thread Jan Synacek
This complements the fix in commit cd4c6fb12598435fe24431f1dd616f9582f0e3b. --- src/locale/localectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/localectl.c b/src/locale/localectl.c index 3690f9f..d4a2d29 100644 --- a/src/locale/localectl.c +++

Re: [systemd-devel] [PATCH] udev: Add hidraw_id and a rule file to invoke it

2014-11-03 Thread Tom Gundersen
Hi Andy, On Tue, Oct 28, 2014 at 11:46 PM, Andy Lutomirski l...@amacapital.net wrote: So far, hidraw_id detects U2F tokens and sets: ID_U2F_TOKEN=1 ID_SECURITY_TOKEN=1 This causes the uaccess rules to apply to U2F devices. --- I've never written any udev code before. Feedback welcome.

[systemd-devel] [PATCH] Properly define the __NR_memfd_create macro for MIPS

2014-11-03 Thread Vicente Olivert Riera
This macro exists for MIPS since v3.17: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=42944521af97a3b25516f15f3149aec3779656dc Signed-off-by: Vicente Olivert Riera vincent.ri...@imgtec.com --- src/shared/missing.h | 11 +-- 1 files changed, 9

[systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Martin Pitt
Hello all, LXC upstream (in CC:) supports unprivileged containers, i. e. you can create a rootfs in your $HOME and then run lxc-start on it with some initial preparation [1]. While of course they have some limits, they are very useful for a lot of applications and are by nature quite safe towards

Re: [systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Jóhann B. Guðmundsson
On 11/03/2014 03:25 PM, Martin Pitt wrote: Hints are appreciated. Thanks! Assuming you have read [1] Is not the solution to this problem to simply drop systemd-shim and cgmanager and just use systemd? 1. http://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/

Re: [systemd-devel] Detecting inactive sessions

2014-11-03 Thread David Herrmann
Hi On Wed, Oct 29, 2014 at 3:45 PM, Bastien Nocera had...@hadess.net wrote: For a very specific definition of inactive. I'm looking at a way for the iio-sensor-proxy at: https://github.com/hadess/iio-sensor-proxy to suspend reading from accelerometers (or maybe to turn them off), when all

Re: [systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Martin Pitt
Jóhann B. Guðmundsson [2014-11-03 16:20 +]: Assuming you have read [1] Is not the solution to this problem to simply drop systemd-shim and cgmanager and just use systemd? For the most part, this can't be retroactively done for stable releases (for the container payloads). Also, I think

Re: [systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Cameron Norman
On Nov 3, 2014 8:21 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 11/03/2014 03:25 PM, Martin Pitt wrote: Hints are appreciated. Thanks! Assuming you have read [1] Is not the solution to this problem to simply drop systemd-shim and cgmanager and just use systemd? His message is

Re: [systemd-devel] Detecting inactive sessions

2014-11-03 Thread Bastien Nocera
On Mon, 2014-11-03 at 17:28 +0100, David Herrmann wrote: Hi On Wed, Oct 29, 2014 at 3:45 PM, Bastien Nocera had...@hadess.net wrote: For a very specific definition of inactive. I'm looking at a way for the iio-sensor-proxy at: https://github.com/hadess/iio-sensor-proxy to suspend

Re: [systemd-devel] systemctl user start Xorg

2014-11-03 Thread arnaud gaboury
Perhaps /etc/X11/Xwrapper.config needs_root_rights = auto allowed_users = anybody I placed the Xwrapper.config, but the xorg.service still fails My unit files : $XDG_CONFIG_HOME/systemd/user/xorg.service [Unit] Description=Xorg server at display :0

Re: [systemd-devel] [PATCH] udev: Add hidraw_id and a rule file to invoke it

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 5:32 AM, Tom Gundersen t...@jklm.no wrote: Hi Andy, On Tue, Oct 28, 2014 at 11:46 PM, Andy Lutomirski l...@amacapital.net wrote: So far, hidraw_id detects U2F tokens and sets: ID_U2F_TOKEN=1 ID_SECURITY_TOKEN=1 This causes the uaccess rules to apply to U2F devices.

Re: [systemd-devel] statelessy system

2014-11-03 Thread Josh Triplett
Zbigniew Jędrzejewski-Szmek wrote: On Mon, Nov 03, 2014 at 12:24:42PM +0100, Lennart Poettering wrote: Would be happy to take a patch that makes those cases check for a config file in /usr/lib as fallback though, to cover all bases. Didn't we have a patch to support .d directories floated on

Re: [systemd-devel] [RFC] [PATCH] cgroup: don't trim cgroup trees created by someone else

2014-11-03 Thread Michal Sekletar
On Tue, Oct 21, 2014 at 09:16:16PM +0200, Lennart Poettering wrote: On Fri, 19.09.14 17:14, Michal Sekletar (msekl...@redhat.com) wrote: snip I do see the usecase though for those projects. I'd probably suggest not to merge it for RHEL either. But instead I'd propose a different solution

Re: [systemd-devel] [PATCH] localectl: fix localectl set-x11-keymap syntax description

2014-11-03 Thread David Herrmann
Hi On Mon, Nov 3, 2014 at 2:01 PM, Jan Synacek jsyna...@redhat.com wrote: This complements the fix in commit cd4c6fb12598435fe24431f1dd616f9582f0e3b. Applied! Thanks David --- src/locale/localectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [systemd-devel] [PATCH] udev: Add hidraw_id and a rule file to invoke it

2014-11-03 Thread Tom Gundersen
On Mon, Nov 3, 2014 at 5:47 PM, Andy Lutomirski l...@amacapital.net wrote: On Mon, Nov 3, 2014 at 5:32 AM, Tom Gundersen t...@jklm.no wrote: Hi Andy, On Tue, Oct 28, 2014 at 11:46 PM, Andy Lutomirski l...@amacapital.net wrote: So far, hidraw_id detects U2F tokens and sets: ID_U2F_TOKEN=1

Re: [systemd-devel] [PATCH] Properly define the __NR_memfd_create macro for MIPS

2014-11-03 Thread David Herrmann
Hi On Mon, Nov 3, 2014 at 3:48 PM, Vicente Olivert Riera vincent.ri...@imgtec.com wrote: This macro exists for MIPS since v3.17: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=42944521af97a3b25516f15f3149aec3779656dc Signed-off-by: Vicente Olivert Riera

Re: [systemd-devel] Put user@.service cgroups into all controllers (user LXC)

2014-11-03 Thread Cameron Norman
On Mon, Nov 3, 2014 at 8:32 AM, Cameron Norman camerontnor...@gmail.com wrote: On Nov 3, 2014 8:21 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 11/03/2014 03:25 PM, Martin Pitt wrote: Hints are appreciated. Thanks! Assuming you have read [1] Is not the solution to this problem to

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread David Herrmann
Hi On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski l...@amacapital.net wrote: I want to get U2F (universal second factor, sometimes called security key or even gnubby) working on Linux. U2F tokens are HID devices that speak a custom protocol. The intent is that user code will speak to then

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 11:03 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski l...@amacapital.net wrote: I want to get U2F (universal second factor, sometimes called security key or even gnubby) working on Linux. U2F tokens are HID devices

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread David Herrmann
Hi On Mon, Nov 3, 2014 at 8:19 PM, Andy Lutomirski l...@amacapital.net wrote: On Mon, Nov 3, 2014 at 11:03 AM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Nov 2, 2014 at 7:57 PM, Andy Lutomirski l...@amacapital.net wrote: I want to get U2F (universal second factor, sometimes

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread Jiri Kosina
On Mon, 3 Nov 2014, David Herrmann wrote: Agreed, mostly. My only real concern is that this could be annoying for the userspace developers who will need to target Linux and HIDAPI separately. Admittedly the Linux support will be trivial. I see. I'll not stop you from using hidraw, I'd

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 12:21 PM, Jiri Kosina jkos...@suse.cz wrote: On Mon, 3 Nov 2014, David Herrmann wrote: Agreed, mostly. My only real concern is that this could be annoying for the userspace developers who will need to target Linux and HIDAPI separately. Admittedly the Linux support

Re: [systemd-devel] [PATCH] localectl: fix localectl set-x11-keymap syntax description

2014-11-03 Thread Jan Synacek
David Herrmann dh.herrm...@gmail.com writes: Hi On Mon, Nov 3, 2014 at 2:01 PM, Jan Synacek jsyna...@redhat.com wrote: This complements the fix in commit cd4c6fb12598435fe24431f1dd616f9582f0e3b. Applied! I don't think it was, I can't see the patch anywhere in the logs. Thanks David ---

Re: [systemd-devel] [PATCH] localectl: fix localectl set-x11-keymap syntax description

2014-11-03 Thread David Herrmann
Hi On Tue, Nov 4, 2014 at 8:13 AM, Jan Synacek jsyna...@redhat.com wrote: David Herrmann dh.herrm...@gmail.com writes: Hi On Mon, Nov 3, 2014 at 2:01 PM, Jan Synacek jsyna...@redhat.com wrote: This complements the fix in commit cd4c6fb12598435fe24431f1dd616f9582f0e3b. Applied! I don't