Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Frederic Crozat
Le mercredi 24 août 2011 à 14:12 +0200, Lennart Poettering a écrit : > On Wed, 24.08.11 13:42, Frederic Crozat (fcro...@suse.com) wrote: > > It didn't work as expected due to a bug in > > path-lookup.c:lookup_paths_init which remove from the lookup path lists > > empty directories : therefore /run

Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Lennart Poettering
On Wed, 24.08.11 13:42, Frederic Crozat (fcro...@suse.com) wrote: > > Hmm, I am a bit confused. A reload of systemd will cause the generators > > to be run, so yupp, they should be applied in that case. > > > > Maybe your generator does not work properly during the early boot phase > > since it r

Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Frederic Crozat
Le mercredi 24 août 2011 à 13:42 +0200, Frederic Crozat a écrit : > Le mardi 23 août 2011 à 17:56 +0200, Lennart Poettering a écrit : > > On Mon, 22.08.11 17:52, Frederic Crozat (fcro...@suse.com) wrote: > > > > > Hi, > > > > > > I'm testing a systemd-generator to create default.target symlink, >

Re: [systemd-devel] generators and service symlink

2011-08-24 Thread Frederic Crozat
Le mardi 23 août 2011 à 17:56 +0200, Lennart Poettering a écrit : > On Mon, 22.08.11 17:52, Frederic Crozat (fcro...@suse.com) wrote: > > > Hi, > > > > I'm testing a systemd-generator to create default.target symlink, > > depending on /etc/inittab content. > > > > Generator is working fine, crea

Re: [systemd-devel] generators and service symlink

2011-08-23 Thread Tom Gundersen
[sorry, forgot to reply to all] On Tue, Aug 23, 2011 at 5:56 PM, Lennart Poettering wrote: > Generators are executed very very early, and can only access data from > the root fs, not even /usr. Hm, why not? I thought booting with an empty /usr is not supported, so what is the issue? > Hence wri

Re: [systemd-devel] generators and service symlink

2011-08-23 Thread Lennart Poettering
On Mon, 22.08.11 17:52, Frederic Crozat (fcro...@suse.com) wrote: > Hi, > > I'm testing a systemd-generator to create default.target symlink, > depending on /etc/inittab content. > > Generator is working fine, creating symlink in /run/systemd/generator > but systemd isn't noticing the file (it i

[systemd-devel] generators and service symlink

2011-08-22 Thread Frederic Crozat
Hi, I'm testing a systemd-generator to create default.target symlink, depending on /etc/inittab content. Generator is working fine, creating symlink in /run/systemd/generator but systemd isn't noticing the file (it is still using default.target from /lib/systemd/system/ ) until systemctl daemon-r