Re: [systemd-devel] [PATCH] fstab-generator: respect noauto/nofail when adding sysroot mount

2013-08-09 Thread WANG Chao
On 08/09/13 at 02:08am, Tom Gundersen wrote: On Thu, Aug 8, 2013 at 9:18 AM, WANG Chao chaow...@redhat.com wrote: Currently we don't respect noauto/nofail root mount options (from rootflags kernel cmdline). We should map these two flags to the corresponding boolean variable noauto and

Re: [systemd-devel] [PATCH] fstab-generator: read rd.fstab=on/off switch correctly

2013-08-09 Thread WANG Chao
On 08/09/13 at 10:07am, Colin Guthrie wrote: 'Twas brillig, and WANG Chao at 09/08/13 09:13 did gyre and gimble: --- src/fstab-generator/fstab-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fstab-generator/fstab-generator.c

[systemd-devel] [PATCH v2] fstab-generator: read rd.fstab=on/off switch correctly

2013-08-09 Thread WANG Chao
--- src/fstab-generator/fstab-generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 87b17cd..5a2074e 100644 --- a/src/fstab-generator/fstab-generator.c +++

Re: [systemd-devel] [PATCH 2/3] install: don't allow to enable/disable templates

2013-08-09 Thread Colin Guthrie
'Twas brillig, and Tom Gundersen at 08/08/13 18:08 did gyre and gimble: On 8 Aug 2013 17:57, Thomas Bächler tho...@archlinux.org mailto:tho...@archlinux.org wrote: Am 08.08.2013 15:19, schrieb Michal Sekletar: Calling enable on template units doesn't make sense since it is possible to

Re: [systemd-devel] [PATCH 2/3] install: don't allow to enable/disable templates

2013-08-09 Thread Colin Guthrie
'Twas brillig, and Colin Guthrie at 09/08/13 12:02 did gyre and gimble: 'Twas brillig, and Tom Gundersen at 08/08/13 18:08 did gyre and gimble: On 8 Aug 2013 17:57, Thomas Bächler tho...@archlinux.org mailto:tho...@archlinux.org wrote: Am 08.08.2013 15:19, schrieb Michal Sekletar: Calling

Re: [systemd-devel] Have 'session' keyrings per service

2013-08-09 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 08, 2013 at 12:15:59PM +0200, Stef Walter wrote: So perhaps cryptsetup would put the password in its own named keyring, and then gdm.service would have: [Service] Keyrings=@cryptsetup Which tells systemd to link the cryptsetup keyring into the gdm (session) keyring. That

Re: [systemd-devel] [PATCH] fstab-generator: respect noauto/nofail when adding sysroot mount

2013-08-09 Thread Vivek Goyal
On Thu, Aug 08, 2013 at 03:18:11PM +0800, WANG Chao wrote: Currently we don't respect noauto/nofail root mount options (from rootflags kernel cmdline). We should map these two flags to the corresponding boolean variable noauto and nofail when calling add_mount(). Signed-off-by: WANG Chao

Re: [systemd-devel] [PATCH 2/3] install: don't allow to enable/disable templates

2013-08-09 Thread Michal Sekletar
On Thu, Aug 08, 2013 at 03:35:24PM +0200, Tom Gundersen wrote: Hi Michal, Hello Tom, On Thu, Aug 8, 2013 at 3:19 PM, Michal Sekletar msekl...@redhat.com wrote: Calling enable on template units doesn't make sense since it is possible to enable instances directly and users are not forced

Re: [systemd-devel] Have 'session' keyrings per service

2013-08-09 Thread Lennart Poettering
On Thu, 08.08.13 12:15, Stef Walter (st...@redhat.com) wrote: Hey guys. I'm trying to figure out details for: http://www.freedesktop.org/wiki/Specifications/login-unlock/ Lennart we talked about this briefly in Brno ... basically the concept is that when systemd does cryptsetup, it'll

Re: [systemd-devel] [PATCH v2] fstab-generator: read rd.fstab=on/off switch correctly

2013-08-09 Thread Lennart Poettering
On Fri, 09.08.13 17:01, WANG Chao (chaow...@redhat.com) wrote: Applied! Thanks! --- src/fstab-generator/fstab-generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index

Re: [systemd-devel] [PATCH] service: prohibit Restart= set when Type=oneshot

2013-08-09 Thread Lennart Poettering
On Fri, 09.08.13 12:54, Maciej Wereski (m.were...@partner.samsung.com) wrote: Applied! Thanks! --- TODO | 2 -- src/core/service.c | 6 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index ead699c..60622f7 100644 --- a/TODO +++ b/TODO

[systemd-devel] [PATCH] Recognize discard option in /etc/crypttab

2013-08-09 Thread Michael Stapelberg
Hi, forwarding this patch we received in the Debian bugtracker. systemd-cryptsetup recognizes option 'allow-discards' in /etc/crypttab to enable TRIM passthrough to underlying encrypted device. In Debian this option was changed to 'discard' to avoid hyphen in option name (see: #648868 and `man

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-08-09 Thread Kok, Auke-jan H
On Wed, Jul 24, 2013 at 3:15 AM, Reshetova, Elena elena.reshet...@intel.com wrote: -Original Message- From: Kay Sievers [mailto:k...@vrfy.org] Sent: Tuesday, July 16, 2013 10:12 PM To: Reshetova, Elena Cc: Lennart Poettering; systemd-devel@lists.freedesktop.org; Ware, Ryan R;

Re: [systemd-devel] Have 'session' keyrings per service

2013-08-09 Thread Stef Walter
On 09.08.2013 17:44, Lennart Poettering wrote: On Thu, 08.08.13 12:15, Stef Walter (st...@redhat.com) wrote: Hey guys. I'm trying to figure out details for: http://www.freedesktop.org/wiki/Specifications/login-unlock/ Lennart we talked about this briefly in Brno ... basically the concept

Re: [systemd-devel] Have 'session' keyrings per service

2013-08-09 Thread Stef Walter
On 10.08.2013 07:22, Stef Walter wrote: On 09.08.2013 17:44, Lennart Poettering wrote: On Thu, 08.08.13 12:15, Stef Walter (st...@redhat.com) wrote: Hey guys. I'm trying to figure out details for: http://www.freedesktop.org/wiki/Specifications/login-unlock/ Lennart we talked about this