Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-06-20 Thread Lennart Poettering
On Wed, 19.06.13 20:58, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: > >> Yes, just in that case. If all of you agreed, I'd like submit a V2 to > >> drop these lines. > > > > Hmm, this would break my usual testing routine, where i run user systemd > > against a bus daemon that is already runn

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-06-19 Thread Kok, Auke-jan H
On Tue, Jun 4, 2013 at 10:31 AM, Lennart Poettering wrote: > On Wed, 29.05.13 08:59, Yang Chengwei (chengwei.y...@intel.com) wrote: > >> > > diff --git a/src/core/manager.c b/src/core/manager.c >> > > index 0508628..467b5ba 100644 >> > > --- a/src/core/manager.c >> > > +++ b/src/core/manager.c >>

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-06-04 Thread Lennart Poettering
On Wed, 29.05.13 08:59, Yang Chengwei (chengwei.y...@intel.com) wrote: > > > diff --git a/src/core/manager.c b/src/core/manager.c > > > index 0508628..467b5ba 100644 > > > --- a/src/core/manager.c > > > +++ b/src/core/manager.c > > > @@ -503,7 +503,7 @@ int manager_new(SystemdRunningAs running_as,

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Yang Chengwei
On Tue, May 28, 2013 at 01:53:16PM -0700, Kok, Auke-jan H wrote: > On Tue, May 28, 2013 at 3:00 AM, Chengwei Yang > wrote: > > Currently, if we have a user session, when systemd user session start, > > just like the situation for it as PID 1, dbus-daemon isn't ready at that > > moment, so it alwa

Re: [systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Kok, Auke-jan H
On Tue, May 28, 2013 at 3:00 AM, Chengwei Yang wrote: > Currently, if we have a user session, when systemd user session start, > just like the situation for it as PID 1, dbus-daemon isn't ready at that > moment, so it always failed with below error. > > Feb 06 16:50:10 localhost.localdomain system

[systemd-devel] [PATCH] Delay dbus connection for user session

2013-05-28 Thread Chengwei Yang
Currently, if we have a user session, when systemd user session start, just like the situation for it as PID 1, dbus-daemon isn't ready at that moment, so it always failed with below error. Feb 06 16:50:10 localhost.localdomain systemd[417]: Failed to open private bus connection: Failed to connect