[systemd-devel] [PATCH] tmpfiles.c: Honor ordering within files as the docs say.

2015-03-05 Thread Randy Witt
Previously, globs would always get processed first followed by any other items in arbitrary order. This is contrary to the documentation which states Otherwise, the files/directories are processed in the order they are listed. To fix this, remove the separate globs hashmap, and instead use only

Re: [systemd-devel] systemd-networkd and bonding config

2015-03-05 Thread Mikhail Morfikov
You can use options bonding max_bonds=0 to disable the creation of bond0. That's exactly what I needed: # cat /proc/net/bonding/bond0 Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) Bonding Mode: load balancing (round-robin) MII Status: up MII Polling Interval (ms): 1000 Up Delay

[systemd-devel] [PATCH 3/4] Update the tests

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Update the tests due to the new interface journal_file_open() and journal_file_open_reliably(). Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- src/journal/test-journal-flush.c| 2 +- src/journal/test-journal-interleaving.c | 11

[systemd-devel] [RFC][PATCH] Add option to enable COW for journal file

2015-03-05 Thread Goffredo Baroncelli
Hi All, the enclosed patches add an option to the journald.conf file to allow a COW behavior for the journal files. The commit 11689d2a force the NOCOW flag of the journal files. This was needed because systemd-journald has very poor performance when the filesytem is BTRFS due to its the COW

[systemd-devel] [PATCH 4/4] Document the new parameter CowJournal

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Document: - the new parameter CowJournal in journald.conf - the new options --cow-journal and --no-cow-journal for systemd-journal-remote. Signed-off-by: Goffredo Baroncelli kreij...@inwind.it --- man/journald.conf.xml | 56

[systemd-devel] [PATCH 1/4] Add BTRFS COW journal option

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it The commit 11689d2a force the NOCOW flag of the journal files. This was needed because systemd-journald has very poor perfomance when the filesytem is BTRFS due to its the COW behavior. However removing the COW behavior, the journal file also lost

Re: [systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-03-05 Thread James Hogarth
On 5 March 2015 at 17:07, James Hogarth james.hoga...@gmail.com wrote: On 5 March 2015 at 15:10, Lennart Poettering lenn...@poettering.net wrote: Right before switch rooting systemd will kill all remaining processes of the initrd, including the strace, hence the strace logs aren't that

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread Michael Biebl
2015-03-05 11:58 GMT+01:00 har...@redhat.com: From: Harald Hoyer har...@redhat.com The speedup is significant Original libtool $ ccache -C make clean time make -j4 […] real6m4.104s user13m49.234s sys7m37.864s Original libtool + dolt $ ccache -C make clean time make

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread josh
On Fri, Mar 06, 2015 at 12:55:38AM +0100, Michael Biebl wrote: 2015-03-05 11:58 GMT+01:00 har...@redhat.com: From: Harald Hoyer har...@redhat.com The speedup is significant Original libtool $ ccache -C make clean time make -j4 […] real6m4.104s user13m49.234s sys

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread Lucas De Marchi
On Thu, Mar 5, 2015 at 9:58 PM, j...@joshtriplett.org wrote: On Fri, Mar 06, 2015 at 12:55:38AM +0100, Michael Biebl wrote: 2015-03-05 11:58 GMT+01:00 har...@redhat.com: From: Harald Hoyer har...@redhat.com The speedup is significant Original libtool $ ccache -C make clean time

[systemd-devel] [PATCH 2/4] Update journal-remote

2015-03-05 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it Update the journal-remote due to the update of the parameters of the functions journal_file_open()/journal_file_open_reliably(). Moreover two options are added to systemd-journal-remote: --cow-journal and --no-cow-journal to unset/set the no copy on

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread josh
On Thu, Mar 05, 2015 at 10:33:19PM -0300, Lucas De Marchi wrote: On Thu, Mar 5, 2015 at 9:58 PM, j...@joshtriplett.org wrote: On Fri, Mar 06, 2015 at 12:55:38AM +0100, Michael Biebl wrote: 2015-03-05 11:58 GMT+01:00 har...@redhat.com: From: Harald Hoyer har...@redhat.com The

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread Randy Witt
On 03/05/2015 05:33 PM, Lucas De Marchi wrote: On Thu, Mar 5, 2015 at 9:58 PM, j...@joshtriplett.org wrote: On Fri, Mar 06, 2015 at 12:55:38AM +0100, Michael Biebl wrote: 2015-03-05 11:58 GMT+01:00 har...@redhat.com: From: Harald Hoyer har...@redhat.com The speedup is significant Original

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread Lucas De Marchi
On Thu, Mar 5, 2015 at 10:37 PM, j...@joshtriplett.org wrote: On Thu, Mar 05, 2015 at 10:33:19PM -0300, Lucas De Marchi wrote: On Thu, Mar 5, 2015 at 9:58 PM, j...@joshtriplett.org wrote: On Fri, Mar 06, 2015 at 12:55:38AM +0100, Michael Biebl wrote: 2015-03-05 11:58 GMT+01:00

[systemd-devel] [PATCH] networkd vxlan: Add support for enabling UDP checksums

2015-03-05 Thread Susant Sahani
Add UDPCheckSum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add UDP6ZeroChecksumRx, and UDP6ZeroChecksumTx options to enable sending zero checksums and receiving zero checksums in VXLAN/IPv6 V2: rename Udp to UDP --- man/systemd.netdev.xml | 20

Re: [systemd-devel] [PATCH] networkd vxlan: Add support for enabling UDP checksums

2015-03-05 Thread Susant Sahani
On Thu, 05 Mar 2015 16:51:37 +0530, Lennart Poettering lenn...@poettering.net wrote: On Thu, 05.03.15 14:05, Susant Sahani (sus...@redhat.com) wrote: Add UdpCheckSum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add Udp6ZeroChecksumRx, and Udp6ZeroChecksumTx options to

Re: [systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread Dan Williams
On Thu, 2015-03-05 at 16:00 +0100, system_error wrote: OK, thx! Am 05.03.2015 um 15:56 schrieb Tom Gundersen: This is i segfault in NetworkManager, so I would start by figuring that one out. Probably the NM mailing list may be able to help you better. nm-connection-editor, to be

Re: [systemd-devel] systemd-networkd and bonding config

2015-03-05 Thread Susant Sahani
On Thu, 05 Mar 2015 21:01:53 +0530, Michał Bartoszkiewicz mbartoszkiew...@gmail.com wrote: On Thu, Mar 5, 2015 at 3:47 PM, Tom Gundersen t...@jklm.no wrote: The kernel creates bond0 itself. This is confusing and we should probably request the kernel to stop doing that (patch needed). You

Re: [systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread Michael Biebl
2015-03-05 17:54 GMT+01:00 Dan Williams d...@redhat.com: On Thu, 2015-03-05 at 16:00 +0100, system_error wrote: OK, thx! Am 05.03.2015 um 15:56 schrieb Tom Gundersen: This is i segfault in NetworkManager, so I would start by figuring that one out. Probably the NM mailing list may be able

Re: [systemd-devel] systemd-networkd and bonding config

2015-03-05 Thread Ian Pilcher
On 03/05/2015 09:31 AM, Michał Bartoszkiewicz wrote: You can use options bonding max_bonds=0 to disable the creation of bond0. Now there's a poorly documented (and named) module parameter! -- Ian Pilcher

Re: [systemd-devel] [PATCHv2] core: do not spawn jobs or touch other units during coldplugging

2015-03-05 Thread Ivan Shapovalov
On 2015-02-28 at 00:50 +0300, Ivan Shapovalov wrote: On 2015-02-27 at 22:25 +0100, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Feb 25, 2015 at 09:40:23PM +0300, Ivan Shapovalov wrote: Because the order of coldplugging is not defined, we can reference a not-yet-coldplugged unit and read its

Re: [systemd-devel] [PATCH 0/3] using firstboot and sysusers to construct an initramfs

2015-03-05 Thread Ivan Shapovalov
On 2015-02-26 at 02:53 +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:46 +0300, Ivan Shapovalov wrote: Hi there. These patches allow using firstboot and sysusers together to construct an initramfs with a fully functional emergency.service and rescue.service. Moreover, they allow

[systemd-devel] Regression in 219: tmpfiles.d order not respected any more

2015-03-05 Thread Martin Pitt
Hey Zbigniew, hey all, our autopkgtests found a regression in 219; unfortunately only yesterday when we flipped our cloud images to systemd by default, before that the bug was hidden. As per tmpfiles.d(5), the first match should win if there are several tmpfiles.d lines for the same directory.

[systemd-devel] [PATCH] networkd vxlan: Add support for enabling UDP checksums

2015-03-05 Thread Susant Sahani
Add UdpCheckSum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add Udp6ZeroChecksumRx, and Udp6ZeroChecksumTx options to enable sending zero checksums and receiving zero checksums in VXLAN/IPv6 --- man/systemd.netdev.xml | 24 +++-

Re: [systemd-devel] Cleaning up transient scopes

2015-03-05 Thread Alexander Larsson
On tor, 2015-03-05 at 00:00 +0100, Lennart Poettering wrote: On Wed, 04.03.15 18:51, Alexander Larsson (al...@redhat.com) wrote: If i run a transient scope on the user systemd instance like: $ systemd-run --user --scope true Then the scope seems to live past the end of the process.

Re: [systemd-devel] Cleaning up transient scopes

2015-03-05 Thread Umut Tezduyar Lindskog
On Thu, Mar 5, 2015 at 12:00 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 04.03.15 18:51, Alexander Larsson (al...@redhat.com) wrote: If i run a transient scope on the user systemd instance like: $ systemd-run --user --scope true Then the scope seems to live past the end of

Re: [systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-03-05 Thread James Hogarth
On 5 March 2015 at 15:10, Lennart Poettering lenn...@poettering.net wrote: Right before switch rooting systemd will kill all remaining processes of the initrd, including the strace, hence the strace logs aren't that useful either, they end before the transition. Please boot with

[systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-03-05 Thread James Hogarth
Hi, I spent some time last night trying to track down the issue preventing fedup from fedora 21 to 22: https://bugzilla.redhat.org/show_bug.cgi?id=1185604 I'm pretty sure I've tracked it down to when switch-root is called and systemd-219 gets executed being passed the serialised state of

[systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Martin Pitt
Hey Zbigniew, all, Martin Pitt [2015-03-05 10:20 +0100]: As per tmpfiles.d(5), the first match should win if there are several tmpfiles.d lines for the same directory. Our rsyslog package ships a /usr/lib/tmpfiles.d/00rsyslog.conf which sets /var/log to 0775, so that it can write into it as

Re: [systemd-devel] systemd-networkd and bonding config

2015-03-05 Thread Michał Bartoszkiewicz
On Thu, Mar 5, 2015 at 3:47 PM, Tom Gundersen t...@jklm.no wrote: The kernel creates bond0 itself. This is confusing and we should probably request the kernel to stop doing that (patch needed). You can use options bonding max_bonds=0 to disable the creation of bond0. -- Michał Bartoszkiewicz

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Dimitri John Ledkov
On 5 March 2015 at 15:14, Martin Pitt martin.p...@ubuntu.com wrote: Zbigniew Jędrzejewski-Szmek [2015-03-05 15:47 +0100]: Looks good, please push! Done, thanks for reviewing! Is this going into v219-stable as well? -- Regards, Dimitri. Intel Corporation (UK) Ltd. - Co. Reg. #1134945 -

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 03:37:46PM +, Dimitri John Ledkov wrote: On 5 March 2015 at 15:14, Martin Pitt martin.p...@ubuntu.com wrote: Zbigniew Jędrzejewski-Szmek [2015-03-05 15:47 +0100]: Looks good, please push! Done, thanks for reviewing! Is this going into v219-stable as well?

Re: [systemd-devel] [PATCH 0/3] using firstboot and sysusers to construct an initramfs

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 09:09:54PM +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:53 +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:46 +0300, Ivan Shapovalov wrote: Hi there. These patches allow using firstboot and sysusers together to construct an initramfs with a fully

Re: [systemd-devel] [PATCH 0/3] using firstboot and sysusers to construct an initramfs

2015-03-05 Thread Ivan Shapovalov
On 2015-03-05 at 19:16 +0100, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Mar 05, 2015 at 09:09:54PM +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:53 +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:46 +0300, Ivan Shapovalov wrote: Hi there. These patches allow using

Re: [systemd-devel] [PATCH] core/socket: Add REMOTE_IP environment variable for Accept=true

2015-03-05 Thread Lennart Poettering
On Thu, 05.03.15 01:27, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: /varlistentry varlistentry diff --git a/src/core/service.c b/src/core/service.c index a89ff3f..0942072 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -1119,6 +1119,30 @@

Re: [systemd-devel] Notification socket and chroot vs PrivateNetwork conflict (abstract vs file-system)

2015-03-05 Thread Alban Crequy
On 9 December 2014 at 17:28, Lennart Poettering lenn...@poettering.net wrote: On Tue, 09.12.14 16:24, Krzysztof Kotlenga (k.kotle...@sims.pl) wrote: Hi. Currently notify socket is unavailable in chrooted services (again) unless you bind mount it there. Is there perhaps another, less

Re: [systemd-devel] systemd-networkd 219 chokes on can device

2015-03-05 Thread Mads
I have an Atom NM10-based industrial PC with three e1000e devices and a PEAK can device (PCI ID 001c:0008). After updating from 216 to 219, systemd-networkd is unable to get my e1000e-devices up and running. I don't have any configuration for can0 within /etc/systemd/network. It hit me

[systemd-devel] how to nest slices under system.slice

2015-03-05 Thread Umut Tezduyar Lindskog
Hi, How do I add a slice that is inside the system.slice? Following slice gets nested to -.slice where I want to nest it inside system.slice (just like instantaneous service slices). hello.slice [Unit] Description=hello slice I tried following which produced the correct output with systemctl

Re: [systemd-devel] systemd-networkd 219 chokes on can device

2015-03-05 Thread Mads
I have an Atom NM10-based industrial PC with three e1000e devices and a PEAK can device (PCI ID 001c:0008). After updating from 216 to 219, systemd-networkd is unable to get my e1000e-devices up and running. I don't have any configuration for can0 within /etc/systemd/network. It hit me that I

[systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread harald
From: Harald Hoyer har...@redhat.com The speedup is significant Original libtool $ ccache -C make clean time make -j4 […] real6m4.104s user13m49.234s sys7m37.864s Original libtool + dolt $ ccache -C make clean time make -j4 […] real2m24.869s user7m30.198s sys

Re: [systemd-devel] systemd-networkd and bonding config

2015-03-05 Thread Tom Gundersen
On Thu, Mar 5, 2015 at 5:27 AM, Mikhail Morfikov mmorfi...@gmail.com wrote: The logic here is that when we create a new bond we will create it with these settings, but we will not change the settings of a preexisting bond, as that may have been created by somebody else we don't know about so

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 03:06:05PM +0100, Martin Pitt wrote: Hey Zbigniew, all, Martin Pitt [2015-03-05 10:20 +0100]: As per tmpfiles.d(5), the first match should win if there are several tmpfiles.d lines for the same directory. Our rsyslog package ships a

Re: [systemd-devel] [PATCH] core/socket: Add REMOTE_IP environment variable for Accept=true

2015-03-05 Thread Lennart Poettering
On Wed, 04.03.15 15:18, Shawn Landden (sh...@churchofgit.com) wrote: Can't this just use getpeername_pretty()? Lennart -- Lennart Poettering, Red Hat ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] networkd vxlan: Add support for enabling UDP checksums

2015-03-05 Thread Lennart Poettering
On Thu, 05.03.15 14:05, Susant Sahani (sus...@redhat.com) wrote: Add UdpCheckSum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add Udp6ZeroChecksumRx, and Udp6ZeroChecksumTx options to enable sending zero checksums and receiving zero checksums in VXLAN/IPv6 I think

Re: [systemd-devel] Possible bug when a dummy service declares After= and/or Conflicts= a .mount unit?

2015-03-05 Thread Lennart Poettering
On Thu, 05.03.15 08:36, Didier Roche (didro...@ubuntu.com) wrote: Le 04/03/2015 16:27, Michael Biebl a écrit : 2015-03-04 15:41 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, just removing the symlink is kinda pointless. It might still be pulled in by anything else that implicitly

Re: [systemd-devel] Possible bug when a dummy service declares After= and/or Conflicts= a .mount unit?

2015-03-05 Thread Lennart Poettering
On Wed, 04.03.15 16:27, Michael Biebl (mbi...@gmail.com) wrote: 2015-03-04 15:41 GMT+01:00 Lennart Poettering lenn...@poettering.net: Well, just removing the symlink is kinda pointless. It might still be pulled in by anything else that implicitly depepends on /tmp. What unit is supposed

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 11:58:30AM +0100, har...@redhat.com wrote: Original libtool $ ccache -C make clean time make -j4 […] real6m4.104s user13m49.234s sys7m37.864s Original libtool + dolt $ ccache -C make clean time make -j4 […] real2m24.869s user7m30.198s

[systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread system_error
Hello developers, I have a Problem whit Jessie, systemd (maybe?) and my OpenVPN. I am looking for help at the Debian Forum first, but i get no Answers :( (0) Maybe only developers can help by this issue? I use following packages: network-manager | 0.9.10.0-6 network-manager

Re: [systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread Tom Gundersen
On Thu, Mar 5, 2015 at 3:46 PM, system_error t...@cacn.de wrote: Hello developers, I have a Problem whit Jessie, systemd (maybe?) and my OpenVPN. I am looking for help at the Debian Forum first, but i get no Answers :( (0) Maybe only developers can help by this issue? I use following

Re: [systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread Lennart Poettering
On Thu, 05.03.15 15:46, system_error (t...@cacn.de) wrote: #NM-Manager (Window) crashes. My LAN was still allive (whitout VPN) Mar 5 14:55:45 desktop kernel: [ 1140.258095] nm-connection-e[2123]: segfault at 1326510 ip 01326510 sp 7fff11ebda18 error 15 This appears to be a bug

Re: [systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread system_error
OK, thx! Am 05.03.2015 um 15:56 schrieb Tom Gundersen: This is i segfault in NetworkManager, so I would start by figuring that one out. Probably the NM mailing list may be able to help you better. mike signature.asc Description: OpenPGP digital signature

Re: [systemd-devel] Possible systemd segfault switching from 216 to 219 in fedora upgrade

2015-03-05 Thread Lennart Poettering
On Thu, 05.03.15 13:52, James Hogarth (james.hoga...@gmail.com) wrote: Hi, I spent some time last night trying to track down the issue preventing fedup from fedora 21 to 22: https://bugzilla.redhat.org/show_bug.cgi?id=1185604 I'm pretty sure I've tracked it down to when switch-root is

Re: [systemd-devel] No (more) OpenVPN on Debian8 (Jessie) - Thanks systemd ?!

2015-03-05 Thread Jóhann B. Guðmundsson
On 03/05/2015 02:46 PM, system_error wrote: Mar 5 14:55:45 desktop kernel: [ 1140.258095] nm-connection-e[2123]: segfault at 1326510 ip 01326510 sp 7fff11ebda18 error 15 I'm not sure how you came to the conclusion that NetworkManager segfaulting is systemd's fault but file a

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Martin Pitt
Zbigniew Jędrzejewski-Szmek [2015-03-05 15:47 +0100]: Looks good, please push! Done, thanks for reviewing! Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)

Re: [systemd-devel] is there a plan for NIC teaming support ?

2015-03-05 Thread Andrei Borzenkov
В Thu, 05 Mar 2015 05:41:55 +0100 Branko bran...@s5tehnika.net пишет: I have a need to put my NICs in RAID0 so to speak, but according to materials I have found on net I can't use NIC bonding driver because I would need LACP (IEEE whatever) aware L2 switch, so I was refered to teaming