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 ([email protected]) wrote: >> >>> Hey guys. I'm trying to figure out details for: >>> >>> http://www.freedesktop.org/wiki/Specifications/login-unlock/ >>> >>> Lennart we ta

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 ([email protected]) 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 th

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 wrote: > -Original Message- > From: Kay Sievers [mailto:[email protected]] > Sent: Tuesday, July 16, 2013 10:12 PM > To: Reshetova, Elena > Cc: Lennart Poettering; [email protected]; Ware, Ryan R; > Schaufler, Casey; walyong..

[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 cr

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 ([email protected]) 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 > +++

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 ([email protected]) 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 87b

Re: [systemd-devel] Impact when not loading ipv6 and autofs kernel module ...

2013-08-09 Thread Lennart Poettering
On Wed, 07.08.13 11:24, Hoyer, Marko (ADITG/SW2) ([email protected]) wrote: > Hello systemd developers, > > I found that systemd automatically tries to load ipv6 and autofs kernel > modules, when they are not compiled in. > Could you give me a hint what is not working, when they are neither

Re: [systemd-devel] Fwd: best way to handle service restarts after hibernate/suspend?

2013-08-09 Thread Lennart Poettering
On Wed, 07.08.13 10:12, Mathijs Kwik ([email protected]) wrote: > Hi all, > > I have a few things that need to get run after waking up my laptop > (things like hdparm to set device power options/spindown time). > I created oneshot, remainafterexit services for those and made them > wanted

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

2013-08-09 Thread Lennart Poettering
On Thu, 08.08.13 12:15, Stef Walter ([email protected]) 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'l

Re: [systemd-devel] [PATCH 1/3] systemctl: check for triggering units before calling StopUnit

2013-08-09 Thread Michal Sekletar
>From a62d3668fb2513b1ece827520d44d5b7cd560407 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Thu, 8 Aug 2013 13:26:56 +0200 Subject: [PATCH 1/3] systemctl: check for triggering units before calling StopUnit Rearranging the code in a way that we always check for triggers before we issue St

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 06:11:42PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Aug 08, 2013 at 03:19:09PM +0200, Michal Sekletar wrote: > > Calling enable on template units doesn't make sense since it is possible > > to enable instances directly and users are not forced to use Alias= > > tr

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 wrote: > > Calling enable on template units doesn't make sense since it is possible > > to enable instances directly and users are not forced to use Alias=

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 Ch

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. Th

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

2013-08-09 Thread Tom Gundersen
On Fri, Aug 9, 2013 at 5:41 AM, WANG Chao wrote: >> > Signed-off-by: WANG Chao >> >> For the future, no need to do s-o-b in systemd. I dropped the line >> before applying. > > Thanks. Any story here? Just that we should avoid giving the wrong impression. See e.g.

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

2013-08-09 Thread Maciej Wereski
--- 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 @@ -88,8 +88,6 @@ Features: full, make sure to write how many messages are lost as first thing to syslo

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" > > wrote: >>> >>> Am 08.08.2013 15:19, schrieb Michal Sekletar: Calling en

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" > wrote: >> >> Am 08.08.2013 15:19, schrieb Michal Sekletar: >> > Calling enable on template units doesn't make sense since it is possible >> > to enable

[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 +++ b/src/fstab-generator/fstab

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 > > b/src/fsta

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

2013-08-09 Thread Colin Guthrie
'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 > b/src/fstab-generator/fstab-generator.c > index 87b17cd..0c31409 1006

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

2013-08-09 Thread WANG Chao
--- src/fstab-generator/fstab-generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 87b17cd..0c31409 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-gen

Re: [systemd-devel] [PATCH 3/3] TODO: don't allow to enable/disable template

2013-08-09 Thread Kay Sievers
On Thu, Aug 8, 2013 at 3:19 PM, Michal Sekletar wrote: > --- > TODO | 5 - > 1 file changed, 5 deletions(-) > > diff --git a/TODO b/TODO > index ead699c..884acd6 100644 > --- a/TODO > +++ b/TODO > @@ -2,11 +2,6 @@ Bugfixes: > * the running hwdb seems not to pick up updated database files wit