Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-16 Thread Lennart Poettering
On Fri, 14.06.13 12:26, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, right now, udev stores its binary hwdb cache in /etc/udev/, which is ugly IMHO. This is neither user-editable nor configuration of any kind. It's just a cache file, and does not need to appear in backup, VCSes

Re: [systemd-devel] [PATCH] rules: only run systemd-sysctl when a network device is added

2013-06-16 Thread Kay Sievers
On Fri, Jun 14, 2013 at 3:39 PM, Ross Lagerwall rosslagerw...@gmail.com wrote: On Fri, Jun 14, 2013 at 02:44:23PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jun 13, 2013 at 10:45:12AM +0100, Ross Lagerwall wrote: Otherwise, when a network device is renamed, systemd-sysctl is run twice

[systemd-devel] how to get a device name matching .device to use into a dynamic@.unit ?

2013-06-16 Thread Pablo Saratxaga
Hello, I'm learning (and appreciating) the new systemd; and I'm currently trying to make it work to load some firmware, in the most generic way. The hardware needing that firmware is a cheap bluetooth usb dongle; so cheap that without loading the firware it just plain doesn't work. So, the

Re: [systemd-devel] System units packaging and rpmlint

2013-06-16 Thread David Greaves
On 06/06/13 08:33, Lennart Poettering wrote: On Sat, 18.05.13 23:44, Michael Scherer (m...@zarb.org) wrote: So I planned to warn if the unit are directly in /lib, but I know there is some distribution that didn't choose this path yet. So when /usr is not merged, what is the canonical location

Re: [systemd-devel] [PATCH] rules: only run systemd-sysctl when a network device is added

2013-06-16 Thread Ross Lagerwall
On Sun, Jun 16, 2013 at 07:42:03PM +0200, Kay Sievers wrote: Yes. Currently, systemd-sysctl is run twice when a network device is added, *both* times with the new name as the prefix, like: systemd-sysctl --prefix=/proc/sys/net/ipv4/conf/enp0s1f3 ... (with the new name) Once is caused

Re: [systemd-devel] [PATCH] rules: only run systemd-sysctl when a network device is added

2013-06-16 Thread Michał Bartoszkiewicz
On Sun, Jun 16, 2013 at 11:58 PM, Ross Lagerwall rosslagerw...@gmail.com wrote: OK, thanks. But my testing shows otherwise: I created a .conf file with: net.ipv4.conf.enp1s0.forwarding=1 (where eth0 is the old name, enp1s0 is the new, predictable name) It *correctly* sets

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-16 Thread Lennart Poettering
On Sun, 16.06.13 22:32, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello Lennart, Lennart Poettering [2013-06-16 8:36 +0200]: As Tom pointed out, /usr is package manager territory and exactly the same on all machines (with the same set of package installed at least). I wrote

Re: [systemd-devel] [PATCH] udev hwdb: Store binary database in libdir, not in /etc

2013-06-16 Thread Reindl Harald
Am 16.06.2013 22:32, schrieb Martin Pitt: Of course /etc isn't particularly beautiful for this either, since it doesn't match *conceptually* what else is stored on that partition, but at least it has the right *availability*, *shareability* and *access* guarantees. /lib has exactly the same

Re: [systemd-devel] [PATCH] rules: only run systemd-sysctl when a network device is added

2013-06-16 Thread Reindl Harald
Am 16.06.2013 23:58, schrieb Ross Lagerwall: The problem Zbigniew describes is that if one adds config options with predictable network names used, and we do not apply the stuff at move, we will never apply them. OK, thanks. But my testing shows otherwise: I created a .conf file with: