Re: [systemd-devel] Socket is dying, how to automatically restart it?

2013-04-11 Thread Koen Kooi
Op 10 apr. 2013, om 22:20 heeft Kok, Auke-jan H auke-jan.h@intel.com het volgende geschreven: On Wed, Apr 10, 2013 at 1:12 PM, David Strauss da...@davidstrauss.net wrote: Are you sure it's not the corresponding service that really failed? actually, that's a good point, but if the

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Andrey Borzenkov
On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote: /usr/share/doc/systemd/README.Fedora-18 - A hacky workaround that allows udev to rename network interfaces into kernel's ethX namespace has been re-added. This is to support users who still rely on udev rules

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 11:25, schrieb Andrey Borzenkov: On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote: /usr/share/doc/systemd/README.Fedora-18 - A hacky workaround that allows udev to rename network interfaces into kernel's ethX namespace has been re-added. This is to

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote: /usr/share/doc/systemd/README.Fedora-18 - A hacky workaround that allows udev to rename network interfaces into kernel's ethX namespace has

[systemd-devel] [PATCH] cryptsetup-generator: add support for rd.luks.key=

2013-04-11 Thread harald
From: Harald Hoyer har...@redhat.com Also clarify rd.luks.uuid and luks.uuid in the manual. https://bugzilla.redhat.com/show_bug.cgi?id=905683 --- man/kernel-command-line.xml | 2 ++ man/systemd-cryptsetup-generator.xml | 26 +-

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 11/04/13 11:55 did gyre and gimble: Am 11.04.2013 12:41, schrieb Colin Guthrie: 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote:

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 11/04/13 12:10 did gyre and gimble: Am 11.04.2013 13:02, schrieb Tom Gundersen: On Thu, Apr 11, 2013 at 12:55 PM, Reindl Harald h.rei...@thelounge.net wrote: there are THOUSANDS of virtual machines with only two NICs and no race-problems In the case

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Harald Hoyer
Am 11.04.2013 12:55, schrieb Reindl Harald: Am 11.04.2013 12:41, schrieb Colin Guthrie: 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote: /usr/share/doc/systemd/README.Fedora-18 - A

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:13, schrieb Colin Guthrie: Any scripts that assume names are also broken by design and should really be written better to deal with things more gracefully, although I totally agree that breaking existing setups is bad aha and WHAT should scripts calling tons of cli-commands

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Harald Hoyer
Am 11.04.2013 13:13, schrieb Colin Guthrie: But regardless, unless the patch to allow renaming is carried locally in the distro for a long time (http://pkgs.fedoraproject.org/cgit/systemd.git/tree/0005-F18-Revert-udev-network-device-renaming-immediately-.patch?h=f18) then eventually the

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:27, schrieb Harald Hoyer: Just add net.ifnames=0 biosdevname=0 to the kernel command line and you don't need any 70-persistent-net.rules. Udev will not try to rename your interfaces. $ rpm -qf /lib/udev/rename_device initscripts-9.45-2.fc19.x86_64 kicks in and renames

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Reindl Harald
Am 11.04.2013 13:46, schrieb Colin Guthrie: 'Twas brillig, and Harald Hoyer at 11/04/13 12:27 did gyre and gimble: Only $ rpm -qf /lib/udev/rename_device initscripts-9.45-2.fc19.x86_64 kicks in and renames interfaces according to the ifcfg-* files, if HWADDR is set, and if there are no

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 12:41 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald h.rei...@thelounge.net wrote: /usr/share/doc/systemd/README.Fedora-18 - A hacky workaround

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 1:46 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Should we then consider trying to push a new default name scheme into the kernel side such that they come up as eth-ng0 etc. by default allowing any userspace stuff to rename them to eth1 or whatever without so much

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Colin Guthrie
'Twas brillig, and Kay Sievers at 11/04/13 12:51 did gyre and gimble: On Thu, Apr 11, 2013 at 1:46 PM, Colin Guthrie gm...@colin.guthr.ie wrote: Should we then consider trying to push a new default name scheme into the kernel side such that they come up as eth-ng0 etc. by default allowing

[systemd-devel] [PATCH] journal: add one more level on top with AND

2013-04-11 Thread harald
From: Harald Hoyer har...@redhat.com When using -p and -b in combination with -u, the output is not what you would expect. The reason is the sd_journal_add_disjunction() call in add_matches_for_unit() and add_matches_for_user_unit(), which adds two ORs without taking the other conditions to every

[systemd-devel] [PATCH V2] cryptsetup-generator: add support for rd.luks.key=

2013-04-11 Thread harald
From: Harald Hoyer har...@redhat.com Also clarify rd.luks.uuid and luks.uuid in the manual. https://bugzilla.redhat.com/show_bug.cgi?id=905683 --- Fixed some whitespace error. man/kernel-command-line.xml | 2 ++ man/systemd-cryptsetup-generator.xml | 26 +-

Re: [systemd-devel] Systemd and cgroups

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 12:46 PM, Kevin Wilson wkev...@gmail.com wrote: Hello, This is a default fedore 18 machine with default kernel. Kernel came with the F18 disto, no changes. No special things like LXC/OpenVZ. So I guess no 3rd party mount any cgroup. then systemd itself will mount all

Re: [systemd-devel] Systemd and cgroups

2013-04-11 Thread Kevin Wilson
Thanks! KV On Thu, Apr 11, 2013 at 5:37 PM, Kay Sievers k...@vrfy.org wrote: On Thu, Apr 11, 2013 at 12:46 PM, Kevin Wilson wkev...@gmail.com wrote: Hello, This is a default fedore 18 machine with default kernel. Kernel came with the F18 disto, no changes. No special things like LXC/OpenVZ.

[systemd-devel] [PATCH] [WIP]tools: add devname2tmpfile

2013-04-11 Thread Tom Gundersen
This tool reads modules.devname from the current kernel directory and writes the information out in the tmpfiles format so that systemd-tmpfiles can use this to create the required device nodes before systemd-udevd is started on boot. This makes sure nothing but kmod reads the private files

[systemd-devel] [PATCH] [RFC] udevd: let tmpfiles create all static nodes

2013-04-11 Thread Tom Gundersen
systemd-tmpfiles has had support for creation of static nodes for some time (to replace copying nodes from /lib/udev/). Make sure these nodes are created before udev is started. Also, drop support for creating static nodes based on modules.devname from systemd-udevd. This allows it to run witohut

Re: [systemd-devel] [PATCH] [WIP]tools: add devname2tmpfile

2013-04-11 Thread Dave Reisner
On Thu, Apr 11, 2013 at 05:47:55PM +0200, Tom Gundersen wrote: This tool reads modules.devname from the current kernel directory and writes the information out in the tmpfiles format so that systemd-tmpfiles can use this to create the required device nodes before systemd-udevd is started on

Re: [systemd-devel] Socket is dying, how to automatically restart it?

2013-04-11 Thread David Strauss
On Wed, Apr 10, 2013 at 11:00 PM, Koen Kooi k...@dominion.thruhere.net wrote: restarting it once it fails Is it the socket or the service? -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile] ___ systemd-devel mailing list