Re: [systemd-devel] [PATCH] fix bogus boot error message

2011-07-19 Thread Kay Sievers
On Tue, Jul 19, 2011 at 15:37, Kelly Anderson wrote: > Here's a patch that should have the desired results: > -                                log_error("Failed to apply local time > delta: %s", strerror(-min)); The patch can not be applied it seems mangled and line-wrapped by you mail program.

[systemd-devel] environment/configuration in socket unit files

2011-07-19 Thread Honza Horak
Hi, I'm creating some systemd unit files for Fedora (currently myslq just FYI), but I need to set a socket path in the mydaemon.socket unit file according to user's configuration, which is provided by an executable. My intention is to store the generated configuration into a temporary file (

Re: [systemd-devel] [PATCH] fix bogus boot error message

2011-07-19 Thread Kelly Anderson
On 07/19/11 06:29, Kay Sievers wrote: On Tue, Jul 19, 2011 at 14:20, Kelly Anderson wrote: On 07/19/11 06:04, Kay Sievers wrote: On Tue, Jul 19, 2011 at 13:22, Kelly Anderson wrote: The following commit introduces a bogus error message on boot since localtime may be a negative number, i.

Re: [systemd-devel] Environment for prefdm.service

2011-07-19 Thread David Michael
Hi, Just to post on a more appropriate list than fedora-devel after the topic came up there: The following are systemd-relevant parts of my current RPM scriptlets with alternatives in mind. They should ensure a usable display-manager.service exists under /lib if at least one compatible display m

Re: [systemd-devel] [PATCH] fix bogus boot error message

2011-07-19 Thread Kay Sievers
On Tue, Jul 19, 2011 at 14:20, Kelly Anderson wrote: > On 07/19/11 06:04, Kay Sievers wrote: >> >> On Tue, Jul 19, 2011 at 13:22, Kelly Anderson >>  wrote: >>> >>> The following commit introduces a bogus error message on boot since >>> localtime may be a negative number, i.e. GMT-7. >>> The follo

Re: [systemd-devel] [PATCH] fix bogus boot error message

2011-07-19 Thread Kelly Anderson
On 07/19/11 06:04, Kay Sievers wrote: On Tue, Jul 19, 2011 at 13:22, Kelly Anderson wrote: The following commit introduces a bogus error message on boot since localtime may be a negative number, i.e. GMT-7. The following patch just uses errno directly rather than using it indirectly through hw

Re: [systemd-devel] [PATCH] fix bogus boot error message

2011-07-19 Thread Kay Sievers
On Tue, Jul 19, 2011 at 13:22, Kelly Anderson wrote: > The following commit introduces a bogus error message on boot since > localtime may be a negative number, i.e. GMT-7. > The following patch just uses errno directly rather than using it indirectly > through hwclock_apply_localtime_delta(): A

[systemd-devel] [PATCH] fix bogus boot error message

2011-07-19 Thread Kelly Anderson
Hey, The following commit introduces a bogus error message on boot since localtime may be a negative number, i.e. GMT-7. commit 2076cf883110bd6fc0f87b619005baf2117d6b95 Author: Lennart Poettering Date: Thu Jun 16 21:52:11 2011 +0200 timedated: sync clock down to RTC where necessary T

Re: [systemd-devel] using systemd for user-specific services

2011-07-19 Thread Kay Sievers
On Tue, Jul 19, 2011 at 12:43, Tim Cuthbertson wrote: > I've seen systemd described as a system & session manager, I was > wondering how far the session manager aspect could be taken. Is it > possible to have services run on a per-user basis, that don't require > root access to configure or run? >

[systemd-devel] using systemd for user-specific services

2011-07-19 Thread Tim Cuthbertson
Hi all, I've seen systemd described as a system & session manager, I was wondering how far the session manager aspect could be taken. Is it possible to have services run on a per-user basis, that don't require root access to configure or run? I'd like to use systemd's features to provide services

[systemd-devel] [PATCH] src/shutdown.c: initialize the controlling terminal

2011-07-19 Thread harald
From: Harald Hoyer Thanks Kay Sievers! --- src/shutdown.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/shutdown.c b/src/shutdown.c index 0905ef5..d6b47c5 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -276,6 +276,9 @@ static int pivot_to_new_root(void) {

[systemd-devel] [PATCH] src/shutdown.c: remove close_nointr_nofail after make_stdio call

2011-07-19 Thread harald
From: Harald Hoyer make_stdio itsselves closes the fd already --- src/shutdown.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/shutdown.c b/src/shutdown.c index c16871d..0905ef5 100644 --- a/src/shutdown.c +++ b/src/shutdown.c @@ -276,7 +276,6 @@ static int pivot_t