[systemd-devel] [PATCH] vconsole-setup: check error of child process

2015-03-12 Thread lucas . de . marchi
From: Lucas De Marchi lucas.demar...@intel.com If we don't check the error of the child process, systemd-vconsole-setup would exit with 0 even if it could not really setup the console. For a simple test, move loadkeys elsewhere and execute systemd-vconsole-setup: [root@localhost ~]#

[systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-12 Thread Goffredo Baroncelli
Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. --- src/tmpfiles/tmpfiles.c | 140 1 file changed, 140 insertions(+) diff --git

[systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-12 Thread Goffredo Baroncelli
Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW flags disables the checksum and prevent scrub to rebuild a corrupted journal. --- tmpfiles.d/journal-nocow.conf | 12

Re: [systemd-devel] [PATCH] cgtop: fix assert when not on tty

2015-03-12 Thread David Herrmann
Hi On Wed, Mar 11, 2015 at 11:24 AM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: systemd-cgtop --dept=1 -b -n 10 -d 0.1 | cat Assertion 'new_length = 3' failed at src/shared/util.c:3 \ 595, function ellipsize_mem(). Aborting. Aborted (core dumped) --- src/cgtop/cgtop.c | 2 +- 1

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Simon McVittie
On 10/03/15 16:01, Lennart Poettering wrote: Yes, dbus is currently not compatible with stateless bootups. PAM is neither. For PAM we ship a tmpfiles snippet to work around this, for dbus we don't though, since kdbus kinda makes the problem go away... In the meantime, you might be interested

Re: [systemd-devel] [PATCH] path_is_mount_point: handle false positive on some fs

2015-03-12 Thread Didier Roche
Le 10/03/2015 16:53, Lennart Poettering a écrit : On Mon, 09.03.15 11:27, Didier Roche (didro...@ubuntu.com) wrote: However, some file systems (seems overlayfs at least) would report a major(st_dev) as 0 on directories and not on files. The current path_is_mount_point() fallback logic would

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Umut Tezduyar Lindskog
Ok! I have another problem with pc files but I solve it downstream. When I configure systemd with --configure=/usr and set the DESTDIR to my host path, the pc files don't have the DESTDIR extension. I solve it manually by 'sed'ding the files after installation. I thought maybe your patch solves

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Chris Murphy
On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger tobias.hun...@gmail.com wrote: If you're concerned about bootloader configuration modification as a threat vector, then it needs to go on an encrypted volume. This suggests an initial bootloader configuration that only enables the user to supply a

[systemd-devel] [PATCH 2/6] fix strict aliasing violations in src/udev/udev-builtin-usb_id.c

2015-03-12 Thread Shawn Landden
--- src/udev/udev-builtin-usb_id.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/udev/udev-builtin-usb_id.c b/src/udev/udev-builtin-usb_id.c index 6516d93..3c15b2f 100644 --- a/src/udev/udev-builtin-usb_id.c +++ b/src/udev/udev-builtin-usb_id.c @@ -28,6

[systemd-devel] [PATCH 6/6] refactor in_addr_to_string()

2015-03-12 Thread Shawn Landden
--- src/resolve/resolved-dns-rr.c | 6 ++ src/shared/in-addr-util.c | 32 +++- 2 files changed, 13 insertions(+), 25 deletions(-) diff --git a/src/resolve/resolved-dns-rr.c b/src/resolve/resolved-dns-rr.c index 78d9e4a..a73ccd7 100644 ---

[systemd-devel] [PATCH 4/6] make in_addr_from_string() accept ipv4 addresses even when using AF_INET6

2015-03-12 Thread Shawn Landden
if we are going to have a function to fix up the deficiencies of inet_pton(), better go all the way. --- src/shared/in-addr-util.c | 17 + src/shared/in-addr-util.h | 1 + 2 files changed, 18 insertions(+) diff --git a/src/shared/in-addr-util.c b/src/shared/in-addr-util.c index

Re: [systemd-devel] [PATCH] boot: efi - move background pixel variable into different scope

2015-03-12 Thread David Herrmann
Hi On Fri, Feb 27, 2015 at 8:11 PM, Kay Sievers k...@vrfy.org wrote: On Fri, Feb 27, 2015 at 6:12 PM, Marcel Holtmann mar...@holtmann.org wrote: CC src/boot/efi/splash.o src/boot/efi/splash.c: In function ‘graphics_splash’: src/boot/efi/splash.c:256:9: warning: missing initializer for

Re: [systemd-devel] [PATCH] vconsole-setup: check error of child process

2015-03-12 Thread David Herrmann
Hi On Wed, Mar 11, 2015 at 5:12 PM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Wed, Mar 11, 2015 at 12:55 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Tue, Mar 10, 2015 at 8:56 PM, lucas.de.mar...@gmail.com wrote: From: Lucas De Marchi lucas.demar...@intel.com If we

[systemd-devel] overrride env variable

2015-03-12 Thread Vasiliy Tolstov
Hello. If service file have Environment and EnvironmentFile in which order it parsed and does it possible to define via Environment variables default and override it via EnvironmentFile ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Chris Murphy
On Wed, Mar 11, 2015 at 1:46 PM, Kay Sievers k...@vrfy.org wrote: On Wed, Mar 11, 2015 at 7:45 PM, Chris Murphy li...@colorremedies.com wrote: On Wed, Mar 11, 2015 at 11:50 AM, Kay Sievers k...@vrfy.org wrote: There is no point in handling raid without native firmware support; manual

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Kay Sievers
On Thu, Mar 12, 2015 at 5:09 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This fixes all of systemd's pkg-config files when cross-compiling (and

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Kay Sievers
On Thu, Mar 12, 2015 at 11:30 AM, David Herrmann dh.herrm...@gmail.com wrote: On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Wed, 11 Mar 2015 18:50:23 +0100 Kay Sievers k...@vrfy.org пишет: On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy li...@colorremedies.com

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Simon McVittie
On 12/03/15 07:50, Umut Tezduyar Lindskog wrote: Ok! I have another problem with pc files but I solve it downstream. When I configure systemd with --configure=/usr and set the DESTDIR to my host path, the pc files don't have the DESTDIR extension. I solve it manually by 'sed'ding the files

Re: [systemd-devel] overrride env variable

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 12:33 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 12.03.2015 um 12:24 schrieb Vasiliy Tolstov: 2015-03-12 14:10 GMT+03:00 Simon McVittie simon.mcvit...@collabora.co.uk: SYSTEMD.EXEC(5) systemd.exec NAME systemd.exec - Execution

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

2015-03-12 Thread Andrei Borzenkov
On Thu, Mar 12, 2015 at 1:08 PM, Michal Sekletar msekl...@redhat.com wrote: On Thu, Mar 05, 2015 at 05:41:55AM +0100, Branko wrote: 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

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Michael Biebl
2015-03-12 8:27 GMT+01:00 Jeff Waugh j...@bethesignal.org: On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: What does this fix Jeff, could you please explain? Here's the relevant part of a pkg-config file produced during make: prefix=/usr exec_prefix=/usr

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 2:41 PM, Andrei Borzenkov arvidj...@gmail.com wrote: initrd and cmdline are volatile and generated on end-user system. So your container must be signed on end user system. End user obviously does not have Microsoft or vendor private keys to sign your container, so

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Tom Gundersen
On Thu, Mar 12, 2015 at 2:41 PM, Andrei Borzenkov arvidj...@gmail.com wrote: On Thu, Mar 12, 2015 at 4:24 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Thu, Mar 12, 2015 at 2:06 PM, Andrei Borzenkov arvidj...@gmail.com wrote: On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann

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

2015-03-12 Thread Christian Seiler
Am 2015-03-12 15:29, schrieb Dax Kelson: Could you please explain (or link to description of) what teamd can do that bonding cannot? Table, info, benchmarks here: http://rhelblog.redhat.com/2014/06/23/team-driver/ [2] On a side note, out of curiosity: does teamd support ARP monitoring if

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Andrei Borzenkov
On Thu, Mar 12, 2015 at 4:24 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Thu, Mar 12, 2015 at 2:06 PM, Andrei Borzenkov arvidj...@gmail.com wrote: On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann dh.herrm...@gmail.com wrote: With systemd-boot, there will be no config to sign:

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

2015-03-12 Thread Dax Kelson
On Mar 12, 2015 7:21 AM, Andrei Borzenkov arvidj...@gmail.com wrote: Could you please explain (or link to description of) what teamd can do that bonding cannot? Table, info, benchmarks here: http://rhelblog.redhat.com/2014/06/23/team-driver/ ___

Re: [systemd-devel] [PATCH] path_is_mount_point: handle false positive on some fs

2015-03-12 Thread Lennart Poettering
On Wed, 11.03.15 08:12, Didier Roche (didro...@ubuntu.com) wrote: Le 10/03/2015 18:54, Lennart Poettering a écrit : On Tue, 10.03.15 18:01, Didier Roche (didro...@ubuntu.com) wrote: The context is bug https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1411140, where

Re: [systemd-devel] minimal required units

2015-03-12 Thread Andrei Borzenkov
В Thu, 12 Mar 2015 13:49:38 -0700 aaron_wri...@selinc.com пишет: Andrei Borzenkov arvidj...@gmail.com wrote on 03/12/2015 12:18:15 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/12/2015 12:18 PM Subject: Re:

Re: [systemd-devel] initrd mount wrongly unmounted during bootup

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/11/2015 08:44:28 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/11/2015 08:44 PM Subject: Re: [systemd-devel] initrd mount wrongly unmounted during bootup В Wed,

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/11/2015 08:47:43 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/11/2015 08:47 PM Subject: Re: [systemd-devel] minimal required units В Wed, 11 Mar 2015 12:02:29

Re: [systemd-devel] minimal required units

2015-03-12 Thread Peter Sztan
Sorry for the noise, I have now read that you have already seen it. On Thu, Mar 12, 2015 at 5:32 PM, Peter Sztan sztan...@gmail.com wrote: man 7 systemd.special On Thu, Mar 12, 2015 at 4:41 PM, aaron_wri...@selinc.com wrote: Andrei Borzenkov arvidj...@gmail.com wrote on 03/11/2015 08:47:43

Re: [systemd-devel] minimal required units

2015-03-12 Thread Andrei Borzenkov
В Thu, 12 Mar 2015 09:42:25 -0700 aaron_wri...@selinc.com пишет: Peter Sztan sztan...@gmail.com wrote on 03/12/2015 09:33:38 AM: From: Peter Sztan sztan...@gmail.com To: aaron_wri...@selinc.com Cc: systemd Mailing List systemd-devel@lists.freedesktop.org Date: 03/12/2015 09:33 AM

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Peter Sztan sztan...@gmail.com wrote on 03/12/2015 09:33:38 AM: From: Peter Sztan sztan...@gmail.com To: aaron_wri...@selinc.com Cc: systemd Mailing List systemd-devel@lists.freedesktop.org Date: 03/12/2015 09:33 AM Subject: Re: [systemd-devel] minimal required units Sorry for the noise,

Re: [systemd-devel] [PATCH] rules: Fix by-path of mmc RPMB partitions and don't blkid them

2015-03-12 Thread Kay Sievers
On Fri, Feb 13, 2015 at 10:35 AM, Martin Pitt martin.p...@ubuntu.com wrote: Kay Sievers [2015-02-13 10:12 +0100]: This looks awful. We should not litter generic rules with exotic niche use cases like this. It will end up in a mess. Fully agreed :/ It is a rather small whitelist for now,

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Simon McVittie
On 12/03/15 16:17, Philip Van Hoof wrote: I wonder if in a few years libsystemd.pc should have been libsystemd-1.0.pc because a libsystemd-2.0.pc became needed? If libsystemd breaks C API, the systemd developers would just have to declare that libsystemd actually meant libsystemd API 1.0, and

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/12/2015 12:18:15 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/12/2015 12:18 PM Subject: Re: [systemd-devel] minimal required units В Thu, 12 Mar 2015 11:09:57

Re: [systemd-devel] minimal required units

2015-03-12 Thread Peter Sztan
man 7 systemd.special On Thu, Mar 12, 2015 at 4:41 PM, aaron_wri...@selinc.com wrote: Andrei Borzenkov arvidj...@gmail.com wrote on 03/11/2015 08:47:43 PM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/11/2015 08:47

Re: [systemd-devel] minimal required units

2015-03-12 Thread Alison Chaiken
aaron_wri...@selinc.com writes: Just for illustration purposes, here are few units listed in systemd.special, that I don't feel like I need, but which I'm left wondering if systemd needs them: cryptsetup.target display-manager.service getty.target graphical.target hibernate.target

Re: [systemd-devel] [PATCH] networkd: Begin with serial number 1 for netlink requests

2015-03-12 Thread Tom Gundersen
Great catch Richard! Much appreciated! However, the patch didn't compile so had to fix it up before applying. Could you verify that it still fixes the bug for you? Tom On Thu, Mar 12, 2015 at 7:14 PM, Richard Maw richard@codethink.co.uk wrote: Notifications are of informal nature and no

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov arvidj...@gmail.com wrote on 03/12/2015 10:38:19 AM: From: Andrei Borzenkov arvidj...@gmail.com To: aaron_wri...@selinc.com Cc: systemd-devel@lists.freedesktop.org Date: 03/12/2015 10:38 AM Subject: Re: [systemd-devel] minimal required units В Thu, 12 Mar 2015 09:42:25

[systemd-devel] [PATCH] networkd: Begin with serial number 1 for netlink requests

2015-03-12 Thread Richard Maw
Notifications are of informal nature and no reply is expected, therefore the sequence number is typically set to 0.[1] If networkd is started soon after recent netlink activity, then there will be messages with sequence number 0 in the buffer. The first thing networkd does is to request a dump

[systemd-devel] [PATCH] Fix rare crash on networkd start-up

2015-03-12 Thread Richard Maw
I could reliably make networkd crash by starting it immediately after using Open vSwitch to make a lot of links. This would make most of my system fail to boot, because they were ordered after network-online.target, and systemd-networkd-wait-online.service is not restarted when

Re: [systemd-devel] minimal required units

2015-03-12 Thread Andrei Borzenkov
В Thu, 12 Mar 2015 11:09:57 -0700 aaron_wri...@selinc.com пишет: I feel like there needs to be a list of required units to get base functionality out of systemd. So that embedded guys like me can build up a system from scratch, instead of starting from full blown desktop support and

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 10:23:23PM +0100, Tobias Hunger wrote: On Tue, Mar 10, 2015 at 9:33 PM, Tobias Hunger tobias.hun...@gmail.com wrote: presets and machined ID are applied by PID 1, before it begins with starting any units, hence *really* early on. Note though that actually

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 12, 2015 at 11:00:55AM +0100, Kay Sievers wrote: On Thu, Mar 12, 2015 at 5:09 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Jeff Waugh
On Fri, Mar 13, 2015 at 8:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: So you prefer the second version to the first, right? Does not exec_prefix get assigned and then substituted, leading to an identical result? Those are the as-installed versions (they're not manipulated again

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

2015-03-12 Thread Michal Sekletar
On Thu, Mar 05, 2015 at 05:41:55AM +0100, Branko wrote: 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 driver, which should

Re: [systemd-devel] overrride env variable

2015-03-12 Thread Vasiliy Tolstov
2015-03-12 14:10 GMT+03:00 Simon McVittie simon.mcvit...@collabora.co.uk: SYSTEMD.EXEC(5) systemd.exec NAME systemd.exec - Execution environment configuration ... EnvironmentFile= ... Settings from these files override settings made with

Re: [systemd-devel] overrride env variable

2015-03-12 Thread Reindl Harald
Am 12.03.2015 um 12:24 schrieb Vasiliy Tolstov: 2015-03-12 14:10 GMT+03:00 Simon McVittie simon.mcvit...@collabora.co.uk: SYSTEMD.EXEC(5) systemd.exec NAME systemd.exec - Execution environment configuration ... EnvironmentFile= ... Settings from these

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov arvidj...@gmail.com wrote: В Wed, 11 Mar 2015 18:50:23 +0100 Kay Sievers k...@vrfy.org пишет: On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy li...@colorremedies.com wrote: On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger

Re: [systemd-devel] overrride env variable

2015-03-12 Thread Simon McVittie
On 12/03/15 10:45, Vasiliy Tolstov wrote: If service file have Environment and EnvironmentFile in which order it parsed and does it possible to define via Environment variables default and override it via EnvironmentFile ? SYSTEMD.EXEC(5) systemd.exec NAME systemd.exec

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Lucas De Marchi
On Thu, Mar 12, 2015 at 6:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Mar 12, 2015 at 11:00:55AM +0100, Kay Sievers wrote: On Thu, Mar 12, 2015 at 5:09 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh j...@bethesignal.org

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Jeff Waugh
On Fri, Mar 13, 2015 at 10:07 AM, Michael Biebl mbi...@gmail.com wrote: Those are the as-installed versions (they're not manipulated again during make). And how does that improve cross-compilation? It allows you to successfully build other software that uses the library. A minor detail. :-)

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 09:54:48AM +1100, Jeff Waugh wrote: On Fri, Mar 13, 2015 at 8:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: So you prefer the second version to the first, right? Does not exec_prefix get assigned and then substituted, leading to an identical result?

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Michael Biebl
2015-03-12 23:54 GMT+01:00 Jeff Waugh j...@bethesignal.org: On Fri, Mar 13, 2015 at 8:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: So you prefer the second version to the first, right? Does not exec_prefix get assigned and then substituted, leading to an identical result?

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Jeff Waugh
On Fri, Mar 13, 2015 at 10:11 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: I can't but think this is just to conform to other (gnome) projects. These patches come from an absolutely non-GNOME environment (OpenWrt), but I'm appealing to an authority in actively maintained GNOME code as

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Jeff Waugh
On Fri, Mar 13, 2015 at 10:11 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: Both kmod and systemd are being crosscompiled for quite some time by yocto, buildroot, etc It does interest me that buildroot doesn't have an equivalent change, despite (at least) pciutils depending on it.

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Michael Biebl
2015-03-13 0:13 GMT+01:00 Jeff Waugh j...@bethesignal.org: On Fri, Mar 13, 2015 at 10:07 AM, Michael Biebl mbi...@gmail.com wrote: Those are the as-installed versions (they're not manipulated again during make). And how does that improve cross-compilation? It allows you to successfully

Re: [systemd-devel] is systemd killing dhclient?,

2015-03-12 Thread Ido Barkan
Thanks a lot! I have chased that for a long time. As I understand this is a feature and not a bug, IMO this behavior is very surprising. If a process was killed during ExecStartPre I would expect the starting of the service unit to fail (not happen). This is because something obviously went

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Umut Tezduyar Lindskog
What does this fix Jeff, could you please explain? On Tue, Mar 10, 2015 at 7:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This fixes all of systemd's pkg-config files when cross-compiling (and possibly other use cases).

Re: [systemd-devel] [PATCH] add REMOTE_ADDR and REMOTE_PORT for Accept=yes

2015-03-12 Thread Lennart Poettering
On Mon, 09.03.15 14:48, Shawn Landden (sh...@churchofgit.com) wrote: We shouldn't bind us too closely to the precise formatting. I mean, if one day libc decides to format the thing as ipv6 again, or with uppercase hex chars, we shouldn't break.

Re: [systemd-devel] [PATCH 3/5] fsckd: Reduce the SAK window when writing to console

2015-03-12 Thread Lennart Poettering
On Tue, 10.03.15 11:33, Didier Roche (didro...@ubuntu.com) wrote: Looks good, applied! Thanks for looking into this! From 3e877d1d493476f63fa6af7997914f93b50218bd Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Tue, 10 Mar 2015 09:57:38 +0100 Subject: [PATCH 3/5]

Re: [systemd-devel] [systemd-commits] 9 commits - configure.ac .gitignore Makefile.am Makefile-man.am man/systemd-fsckd.service.xml man/systemd-f...@.service.xml po/de.po po/el.po po/fr.po po/hu.po po

2015-03-12 Thread Lennart Poettering
On Tue, 10.03.15 08:21, Martin Pitt (martin.p...@ubuntu.com) wrote: Please, be more careful with complex code like this, this needs more rounds of review before something like this can be merged... Okay. It went through 4 rounds of review on the ML and several folks commented, there were

Re: [systemd-devel] [PATCH] util: add rename_noreplace

2015-03-12 Thread Lennart Poettering
On Tue, 10.03.15 16:16, Alban Crequy (alban.cre...@gmail.com) wrote: -if (renameat2(AT_FDCWD, t, AT_FDCWD, to, replace ? 0 : RENAME_NOREPLACE) 0) { -unlink_noerrno(t); -return -errno; +if (replace) { +if (renameat(AT_FDCWD,

Re: [systemd-devel] [PATCHv3] bus-proxy: add support for GetConnectionCredentials method

2015-03-12 Thread Lennart Poettering
On Tue, 10.03.15 16:09, Lukasz Skalski (l.skal...@samsung.com) wrote: GetConnectionCredentials method was added to dbus-1 specification more than one year ago. This method should return [...] as many credentials as possible for the process connected to the server, but at this moment only

Re: [systemd-devel] [PATCH 1/5] fsckd: Don't use strjoina on gettext() call

2015-03-12 Thread Lennart Poettering
On Tue, 10.03.15 11:32, Didier Roche (didro...@ubuntu.com) wrote: static int manager_send_plymouth_message(Manager *m, const char *message) { -const char *plymouth_cancel_message = NULL; +_cleanup_free_ const char *plymouth_cancel_message = NULL; int r;

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Lennart Poettering
On Mon, 09.03.15 12:02, Tobias Hunger (tobias.hun...@gmail.com) wrote: Hi everybody, I am running a kiosk-like box here and have a read-only copy of /etc hidden away in /usr/ somewhere. /etc is a symlink to that directory and that works fine. Recently I thought I'd experiment with

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Jeff Waugh
On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: What does this fix Jeff, could you please explain? Here's the relevant part of a pkg-config file produced during make: prefix=/usr exec_prefix=/usr libdir=/usr/lib includedir=/usr/include Versus during configure:

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Chris Murphy
On Wed, Mar 11, 2015 at 9:39 PM, Andrei Borzenkov arvidj...@gmail.com wrote: Windows bootloader configuration is stored on ESP; of course it is not changed often. Also Windows still needs to update bootloader every now and then. I'm not seeing a BCD on the ESP, that's usually on NTFS

[systemd-devel] [PATCH 3/4] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-12 Thread Goffredo Baroncelli
Update the man page of tmpfiles.d(5), to document the new h/H command. --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 8815bf9..469deeb 100644 --- a/man/tmpfiles.d.xml +++

[systemd-devel] [PATCH] [PATCH v2] util: add rename_noreplace

2015-03-12 Thread Alban Crequy
From: Alban Crequy al...@endocode.com renameat2() exists since Linux 3.15 but btrfs support for the flag RENAME_NOREPLACE was added later. This patch implements a fallback when renameat2() returns EINVAL. EINVAL is the error returned when the filesystem does not support one of the flags. ---