[systemd-devel] Systemd and network devices under LXC?

2013-01-23 Thread Lars Kellogg-Stedman
I am running Linux under LXC. I have a systemd unit file for dhcpcd (a DHCP client) that includes: BindsTo=sys-subsystem-net-devices-eth0.device And indeed, eth0 exists and is functioning: # ip link show eth0 35: eth0: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000 link/e

Re: [systemd-devel] systemd-analyze-197 broken

2013-01-23 Thread Kay Sievers
On Wed, Jan 23, 2013 at 9:45 PM, Lennart Poettering wrote: > On Wed, 23.01.13 12:43, Kok, Auke-jan H ([email protected]) wrote: >> On Wed, Jan 23, 2013 at 12:16 PM, Lennart Poettering >> wrote: >> > On Wed, 23.01.13 12:03, Kok, Auke-jan H ([email protected]) wrote: >> > >> >> >> >>

Re: [systemd-devel] [email protected]

2013-01-23 Thread Antonio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It is precisely that which Colin said me: http://lists.freedesktop.org/archives/systemd-devel/2013-January/008349.html :) - -- Antonio Trande "Fedora Ambassador" "Fedora italian translation group" "Blogger" mail: mailto:[email protected] Hom

Re: [systemd-devel] [email protected]

2013-01-23 Thread Lennart Poettering
On Wed, 23.01.13 21:37, Antonio ([email protected]) wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Lennart. > > >How can the same error persist if you remove the program that generates > >it out of the equation entirely? I.e. if you use User=/Group= instead of > >runuser,

Re: [systemd-devel] systemd-analyze-197 broken

2013-01-23 Thread Lennart Poettering
On Wed, 23.01.13 12:43, Kok, Auke-jan H ([email protected]) wrote: > > On Wed, Jan 23, 2013 at 12:16 PM, Lennart Poettering > wrote: > > On Wed, 23.01.13 12:03, Kok, Auke-jan H ([email protected]) wrote: > > > >> > >> On Tue, Jan 22, 2013 at 10:05 PM, Kok, Auke-jan H > >> wrote: >

Re: [systemd-devel] systemd-analyze-197 broken

2013-01-23 Thread Kok, Auke-jan H
On Wed, Jan 23, 2013 at 12:16 PM, Lennart Poettering wrote: > On Wed, 23.01.13 12:03, Kok, Auke-jan H ([email protected]) wrote: > >> >> On Tue, Jan 22, 2013 at 10:05 PM, Kok, Auke-jan H >> wrote: >> > On Tue, Jan 22, 2013 at 7:33 PM, Kay Sievers wrote: >> >> On Wed, Jan 23, 2013 at 4:21

Re: [systemd-devel] [email protected]

2013-01-23 Thread Antonio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Lennart. >How can the same error persist if you remove the program that generates >it out of the equation entirely? I.e. if you use User=/Group= instead of >runuser, then the least that shoild happen is that systemd now >complains, not runuser anym

Re: [systemd-devel] systemd-analyze-197 broken

2013-01-23 Thread Lennart Poettering
On Wed, 23.01.13 12:03, Kok, Auke-jan H ([email protected]) wrote: > > On Tue, Jan 22, 2013 at 10:05 PM, Kok, Auke-jan H > wrote: > > On Tue, Jan 22, 2013 at 7:33 PM, Kay Sievers wrote: > >> On Wed, Jan 23, 2013 at 4:21 AM, Lennart Poettering > >>> > >>> Check if you have > >>> /sys/firm

Re: [systemd-devel] systemd-analyze-197 broken

2013-01-23 Thread Kok, Auke-jan H
On Tue, Jan 22, 2013 at 10:05 PM, Kok, Auke-jan H wrote: > On Tue, Jan 22, 2013 at 7:33 PM, Kay Sievers wrote: >> On Wed, Jan 23, 2013 at 4:21 AM, Lennart Poettering >>> >>> Check if you have >>> /sys/firmware/efi/efivars/LoaderTicksExec-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f >>> on your system. >>

Re: [systemd-devel] [email protected]

2013-01-23 Thread Lennart Poettering
On Wed, 23.01.13 16:29, Antonio ([email protected]) wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - Original Message > Subject: Re: [systemd-devel] [email protected] > Date: Wed, 23 Jan 2013 16:29:02 +0100 > From: Antonio > To: Reindl Harald > > > and w

Re: [systemd-devel] [HEADS-UP] systemd down/upstream meeting at FOSDEM?

2013-01-23 Thread Lennart Poettering
On Wed, 23.01.13 09:20, Frederic Crozat ([email protected]) wrote: > Le mardi 22 janvier 2013 à 23:11 +0100, Lennart Poettering a écrit : > > Heya, > > > > I just learned that a number of systemd downstream and upstream folks > > are attending FOSDEM. We'll at least have Michael Biebl, Tollef Fog

Re: [systemd-devel] [email protected]

2013-01-23 Thread David Strauss
On Wed, Jan 23, 2013 at 9:14 AM, Colin Guthrie wrote: > ExecStartPre=-/usr/bin/vncserver -kill %i > ExecStart=/usr/bin/vncserver %i -geometry 1024x600 -depth 24 -fp > /usr/share/X11/fonts/misc > ExecStop=/usr/bin/vncserver -kill %i The ExecStartPre should be unnecessary if this VNC server only ru

Re: [systemd-devel] [email protected]

2013-01-23 Thread Antonio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Well, whereever that file came from, it's wrong. systemd has built in >tools to switch user and they should be used as things like runuser and >su have a tendency to create their own sessions which is often not what >you want. Well, it is exactly a c

Re: [systemd-devel] [email protected]

2013-01-23 Thread Colin Guthrie
'Twas brillig, and Antonio at 23/01/13 15:54 did gyre and gimble: > > > Am 23.01.2013 16:29, schrieb Antonio: and why do you not use the User= and Group= options? >>> >>> Because they are not required by instructions. > >> as also runuser, but one is native systemd the other not > > runuse

Re: [systemd-devel] [email protected]

2013-01-23 Thread Antonio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 23.01.2013 16:29, schrieb Antonio: >>> and why do you not use the User= and Group= options? >> >> Because they are not required by instructions. > as also runuser, but one is native systemd the other not runuser is already written in the file.

Re: [systemd-devel] [email protected]

2013-01-23 Thread Reindl Harald
Am 23.01.2013 16:29, schrieb Antonio: >> and why do you not use the User= and Group= options? > > Because they are not required by instructions. as also runuser, but one is native systemd the other not > However I have just > tried but permission error remains. > > ... > User=antonio > Group=

Re: [systemd-devel] [email protected]

2013-01-23 Thread Antonio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - Original Message Subject: Re: [systemd-devel] [email protected] Date: Wed, 23 Jan 2013 16:29:02 +0100 From: Antonio To: Reindl Harald > and why do you not use the User= and Group= options? Because they are not required by instr

Re: [systemd-devel] [email protected]

2013-01-23 Thread Reindl Harald
Am 23.01.2013 14:48, schrieb Antonio: > In /lib/systemd/system/[email protected] file, I read how to edit it > to create a 'service unit file'. > These lines > > >ExecStart=/sbin/runuser -l -c "/usr/bin/vncserver %i" > >ExecStop=/sbin/runuser -l -c "/usr/bin/vncserver -kill %i" > > conside

[systemd-devel] [email protected]

2013-01-23 Thread Antonio
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. In /lib/systemd/system/[email protected] file, I read how to edit it to create a 'service unit file'. These lines >ExecStart=/sbin/runuser -l -c "/usr/bin/vncserver %i" >ExecStop=/sbin/runuser -l -c "/usr/bin/vncserver -kill %i" conside

[systemd-devel] [PATCH 2/2] service: make sure the watchdog timer is not restarted while stopping

2013-01-23 Thread Michael Olbrich
A watchdog notification may be handled after the watchdog timer was stopped while stopping the service. As a result the timer is restarted and the service may be restarted as well. The watchdog timestamp is initially set during startup in service_enter_start_post() and cleared when the timer is sto

[systemd-devel] [PATCH 1/2] service: really stop watchdog timer when stopping

2013-01-23 Thread Michael Olbrich
For services without ExecStop= the state SERVICE_STOP is never entered. as a result the watchdog timer is not stopped and the service is restarted (if it is configuered to restart). Stopping the watchdog timer for SERVICE_STOP_SIGTERM as well fixes this. --- src/core/service.c |2 +- 1 file ch

Re: [systemd-devel] [HEADS-UP] systemd down/upstream meeting at FOSDEM?

2013-01-23 Thread Thomas H.P. Andersen
On Tue, Jan 22, 2013 at 11:11 PM, Lennart Poettering wrote: > Heya, > > I just learned that a number of systemd downstream and upstream folks > are attending FOSDEM. We'll at least have Michael Biebl, Tollef Fog > Heen, Colin Guthrie, Kay Sievers, Harald Hoyer and myself around. > > We were wonder

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-23 Thread Colin Guthrie
'Twas brillig, and Stef Bon at 23/01/13 10:28 did gyre and gimble: > what should the gui toolkit be? Gtk3? I prefer that over qt, which is > not my favorite. > > And is there a location to store the project? I can of course get one at > github or something like that, but maybe there is a better on

Re: [systemd-devel] [HEADS-UP] systemd down/upstream meeting at FOSDEM?

2013-01-23 Thread Michael Olbrich
Hi, On Tue, Jan 22, 2013 at 11:11:22PM +0100, Lennart Poettering wrote: > I just learned that a number of systemd downstream and upstream folks > are attending FOSDEM. We'll at least have Michael Biebl, Tollef Fog > Heen, Colin Guthrie, Kay Sievers, Harald Hoyer and myself around. > > We were won

Re: [systemd-devel] Someone working on gui for multiseat?

2013-01-23 Thread Stef Bon
Hi, Thanks what should the gui toolkit be? Gtk3? I prefer that over qt, which is not my favorite. And is there a location to store the project? I can of course get one at github or something like that, but maybe there is a better one? Stef ___ systemd

Re: [systemd-devel] systemd and RTAI not getting along

2013-01-23 Thread JB
Lennart Poettering wrote: On Tue, 22.01.13 02:33, JB ([email protected]) wrote: Subsequent starts and stops of the application of course do not change those process ID and kernel threads because, I can only assume, they are reused. A kill -9 as root will not even kill them. The problem I hav

Re: [systemd-devel] [PATCH] core: Set source for mountinfo .mount units

2013-01-23 Thread Umut Tezduyar
Regardless of this patch, it might be a good idea to mention /proc/self/mountinfo in systemd.mount(5) as currently there is no mention of .mount files might pop up by systemd by looking at /proc/self/mountinfo. Thanks On Wed, Jan 23, 2013 at 9:23 AM, Umut Tezduyar wrote: > --- > src/core/mount

[systemd-devel] [PATCH] core: Set source for mountinfo .mount units

2013-01-23 Thread Umut Tezduyar
--- src/core/mount.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/core/mount.c b/src/core/mount.c index 03eff9d..e5f5e42 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -1472,7 +1472,7 @@ static int mount_add_one( int r; Unit *u;

Re: [systemd-devel] [HEADS-UP] systemd down/upstream meeting at FOSDEM?

2013-01-23 Thread Frederic Crozat
Le mardi 22 janvier 2013 à 23:11 +0100, Lennart Poettering a écrit : > Heya, > > I just learned that a number of systemd downstream and upstream folks > are attending FOSDEM. We'll at least have Michael Biebl, Tollef Fog > Heen, Colin Guthrie, Kay Sievers, Harald Hoyer and myself around. > > We w