Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-28 Thread Michael Biebl
Am 27.02.2011 22:36, schrieb Michael Biebl: My sugggestion would be something like this: in net.agent: if [ -d /sys/fs/cgoup/systemd ] ; then systemctl start ifup@$INTERFACE.service else exec ifup --allow=hotplug $INTERFACE fi and provide a instanced ifup@.serivce file, which

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-28 Thread Bernhard Schmidt
On 28.02.2011 17:29, Michael Biebl wrote: Hi Michael, My sugggestion would be something like this: in net.agent: if [ -d /sys/fs/cgoup/systemd ] ; then systemctl start ifup@$INTERFACE.service else exec ifup --allow=hotplug $INTERFACE fi and provide a instanced ifup@.serivce file,

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-27 Thread Bernhard Schmidt
On 18.02.2011 08:24, Tollef Fog Heen wrote: | No. This is a very basic Squeeze installation in a KVM VM. Ok. | However, I do see weird things, namely duplicate mounts. Looks like you don't have /etc/mtab pointing to /proc/mounts? Correct. Fixed that, does not fix my non-starting network

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-27 Thread Michael Biebl
Am 27.02.2011 22:24, schrieb Bernhard Schmidt: On 18.02.2011 08:24, Tollef Fog Heen wrote: | However, I do see weird things, namely duplicate mounts. Looks like you don't have /etc/mtab pointing to /proc/mounts? Correct. Fixed that, does not fix my non-starting network though. Upgrading

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-27 Thread Michael Biebl
Am 27.02.2011 22:36, schrieb Michael Biebl: My sugggestion would be something like this: in net.agent: if [ -d /sys/fs/cgoup/systemd ] ; then systemctl start ifup@$INTERFACE.service else exec ifup --allow=hotplug $INTERFACE fi For completeness sake, Tollef was suggestion

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-17 Thread Bernhard Schmidt
On 16.02.2011 21:57, Michael Biebl wrote: Am 16.02.2011 21:50, schrieb Bernhard Schmidt: I'm not sure where to look further. I tried redirecting the stderr and stdout of the actual ifup invocation to a file in /dev, but I always end up with an empty file. Not sure why. Do you have separate

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-17 Thread Tollef Fog Heen
]] Bernhard Schmidt | No. This is a very basic Squeeze installation in a KVM VM. Ok. | However, I do see weird things, namely duplicate mounts. Looks like you don't have /etc/mtab pointing to /proc/mounts? | Could this be related somehow? A mount command directly before the | ifup in

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-16 Thread Tollef Fog Heen
]] Michael Biebl | So you might start adding some debugging output there to find out what is going | wrong on your system. Hi, have you had a chance to take a look at debugging this? Regards, -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- To

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-16 Thread Bernhard Schmidt
On 16.02.2011 21:34, Tollef Fog Heen wrote: Hi, | So you might start adding some debugging output there to find out what is going | wrong on your system. have you had a chance to take a look at debugging this? Sorry, I completely forgot. Please find hotplug.log attached. I added two

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-02-16 Thread Michael Biebl
Am 16.02.2011 21:50, schrieb Bernhard Schmidt: I'm not sure where to look further. I tried redirecting the stderr and stdout of the actual ifup invocation to a file in /dev, but I always end up with an empty file. Not sure why. Do you have separate partitions for /var, /tmp or /usr ?

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-01-31 Thread Bernhard Schmidt
On 25.01.2011 21:58, Tollef Fog Heen wrote: Hi, | After upgrading from systemd 11-1 to 16-1 my eth0 is not started | automatically anymore. Replacing | | allow-hotplug eth0 (which is default after d-i) | | with | | auto eth0 | | in /etc/network/interfaces it works as expected. Can you see if

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-01-31 Thread Tollef Fog Heen
]] Bernhard Schmidt | On 25.01.2011 21:58, Tollef Fog Heen wrote: | | Can you see if /etc/network/run is a symlink to /lib/init/rw or /dev/shm | or a regular directory, please? | | It is a regular directory. This is a plain squeeze installation from | about two months ago in a VM, only

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-01-31 Thread Bernhard Schmidt
On 31.01.2011 14:04, Tollef Fog Heen wrote: Hi, Yeah, this is a known bug in ifupdown that it doesn't create that directory properly as a symlink. Just make it a symlink to /lib/init/rw/network or /dev/shm/network and it should work better. (This is documented in README.Debian) Done,

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-01-31 Thread Michael Biebl
On 31.01.2011 14:09, Bernhard Schmidt wrote: On 31.01.2011 14:04, Tollef Fog Heen wrote: Hi, Yeah, this is a known bug in ifupdown that it doesn't create that directory properly as a symlink. Just make it a symlink to /lib/init/rw/network or /dev/shm/network and it should work better.

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-01-25 Thread Tollef Fog Heen
]] Bernhard Schmidt | After upgrading from systemd 11-1 to 16-1 my eth0 is not started | automatically anymore. Replacing | | allow-hotplug eth0 (which is default after d-i) | | with | | auto eth0 | | in /etc/network/interfaces it works as expected. Can you see if /etc/network/run is a

Bug#610871: systemd: allow-hotplug interfaces are not brought up automatically

2011-01-23 Thread Bernhard Schmidt
Package: systemd Version: 16-1 Severity: normal After upgrading from systemd 11-1 to 16-1 my eth0 is not started automatically anymore. Replacing allow-hotplug eth0 (which is default after d-i) with auto eth0 in /etc/network/interfaces it works as expected. -- System Information: Debian