[systemd-devel] [PATCH] rules: Fix persistent input symlinks for interface 00

2012-10-10 Thread Martin Pitt
Hello, https://launchpad.net/bugs/1057824 reports a race condition in creating the persistent symlinks for input devices with more than one interface. Patch attached with a detailled explanation; this fixes a thinko of mine when I wrote the original rule. Can I commit this? Thanks, Martin --

Re: [systemd-devel] when will mount / df get fixed?

2012-10-10 Thread microcai
2012/10/11 Lennart Poettering : > On Wed, 10.10.12 12:48, Marti Raudsepp ([email protected]) wrote: > >> >> On Mon, Oct 1, 2012 at 8:22 PM, Jan Engelhardt wrote: >> >>and how they should do this after the change that there >> >>is no flag? dispaly a RANDOM line? >> > >> > That is a possibility. Base

[systemd-devel] [PATCH] Properly handle device aliases used as dependencies

2012-10-10 Thread Eelco Dolstra
If a device unit has aliases defined in udev rules, and there are other units that depend on that alias, as in BindTo=sys-subsystem-net-devices-eth0.device then systemd will fail the start the alias, and any dependent units will time out. See https://bugs.freedesktop.org/show_bug.cgi?id=525

Re: [systemd-devel] when will mount / df get fixed?

2012-10-10 Thread Lennart Poettering
On Wed, 10.10.12 12:48, Marti Raudsepp ([email protected]) wrote: > > On Mon, Oct 1, 2012 at 8:22 PM, Jan Engelhardt wrote: > >>and how they should do this after the change that there > >>is no flag? dispaly a RANDOM line? > > > > That is a possibility. Based upon that you are only interested > >

Re: [systemd-devel] when will mount / df get fixed?

2012-10-10 Thread Reindl Harald
Am 10.10.2012 11:48, schrieb Marti Raudsepp: > Why not just collect all the relevant mount points on one line, for > each disk? This way we don't throw away any information, but prevent > repeating redundant information that's always the same for each disk. > > Using the original example this wo

[systemd-devel] [PATCH] core: allow Type=oneshot services to have ExecReload

2012-10-10 Thread Mantas Mikulėnas
Use cases: * iptables.service – atomically reload rules without having to flush them beforehand (which may leave the system insecure if reload fails) * rpc-nfsd.service – reexport filesystems after /etc/exports update without completely stopping and restarting nfsd (In both cases, the ac

Re: [systemd-devel] when will mount / df get fixed?

2012-10-10 Thread Marti Raudsepp
On Mon, Oct 1, 2012 at 8:22 PM, Jan Engelhardt wrote: >>and how they should do this after the change that there >>is no flag? dispaly a RANDOM line? > > That is a possibility. Based upon that you are only interested > in the device anyway, I conclude the mountpoint is irrelevant. I didn't read th