Re: [systemd-devel] [PATCH] unit: When stopping due to BindsTo=, log which unit caused it

2015-03-12 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2015-02-28 17:40 +0100]: > This is implemented now. Please check if this fixes this issue for > you. This fixes the bad unmounts at boot, but also breaks the automatic cleanup of stale mounts after CD ejection. After inserting a medium, the .device looks ok: $ sy

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 wrote on 03/12/2015 12:18:15 PM: > > > From: Andrei Borzenkov > > To: aaron_wri...@selinc.com > > Cc: systemd-devel@lists.freedesktop.org > > Date: 03/12/2015 12:18 PM > > Subject: Re: [systemd-devel] minimal re

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 > >>system

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 > 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 > >> /etc/machine-id is use

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 > 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 a

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 : > On Fri, Mar 13, 2015 at 10:07 AM, Michael Biebl 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 u

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 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 Jeff Waugh
On Fri, Mar 13, 2015 at 10:11 AM, Lucas De Marchi 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 that's where pkg-config com

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 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. :-) Thanks, Je

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 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 >> wrote: >> > On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh wrote: >> >> Generate pkg-config files during configur

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 : > On Fri, Mar 13, 2015 at 8:53 AM, Zbigniew Jędrzejewski-Szmek > 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 vers

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 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 during make).

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 > wrote: > > On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh wrote: > >> Generate pkg-config files during configure as God (Havoc) intended. This > >> fixes > >> all of systemd's pkg-confi

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 06:27:14PM +1100, Jeff Waugh wrote: > On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog > 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 > libdi

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov wrote on 03/12/2015 12:18:15 PM: > From: Andrei Borzenkov > 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 -0700 > aaron_wri...@selinc.com пи

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] 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 wrote: > "Notifications are of informal nature and no reply is expected, therefore

[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 systemd-networkd.se

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov wrote on 03/12/2015 10:38:19 AM: > From: Andrei Borzenkov > 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 -0700 > aaron_wri...@selinc.com пи

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",

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 wrote on 03/12/2015 09:33:38 AM: > > > From: Peter Sztan > > To: aaron_wri...@selinc.com > > Cc: systemd Mailing List > > Date: 03/12/2015 09:33 AM > > Subject: Re: [systemd-devel] minimal required units > > > > So

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 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, which should not cat

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Peter Sztan wrote on 03/12/2015 09:33:38 AM: > From: Peter Sztan > To: aaron_wri...@selinc.com > Cc: systemd Mailing List > Date: 03/12/2015 09:33 AM > Subject: Re: [systemd-devel] minimal required units > > Sorry for the noise, I have now read that you have already seen it. > Just for illus

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 wrote: > man 7 systemd.special > > On Thu, Mar 12, 2015 at 4:41 PM, wrote: >> Andrei Borzenkov wrote on 03/11/2015 08:47:43 PM: >> >>> From: Andrei Borzenkov >>> To: aaron_wri...@s

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, wrote: > Andrei Borzenkov wrote on 03/11/2015 08:47:43 PM: > >> From: Andrei Borzenkov >> To: aaron_wri...@selinc.com >> Cc: systemd-devel@lists.freedesktop.org >> Date: 03/11/2015 08:47 PM >> Subject: Re: [systemd-devel] minimal required

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

2015-03-12 Thread Philip Van Hoof
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/03/2015 8:27, Jeff Waugh wrote: > > Finally, a supporting appeal to authority: If you check > GNOME-land, practically all pkg-config files are generated at > configure time. :-) Yes and no. Certain projects in the confusing land of the gnomes

Re: [systemd-devel] minimal required units

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov wrote on 03/11/2015 08:47:43 PM: > From: Andrei Borzenkov > 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 -0700 > aaron_wri...@selinc.com пи

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

2015-03-12 Thread Aaron_Wright
Andrei Borzenkov wrote on 03/11/2015 08:44:28 PM: > From: Andrei Borzenkov > 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, 11 Mar 2015 11:26:52 -0700 > aar

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] is there a plan for NIC teaming support ?

2015-03-12 Thread Dax Kelson
On Mar 12, 2015 7:21 AM, "Andrei Borzenkov" 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/ ___ systemd-devel ma

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 : > On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog > 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=

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

2015-03-12 Thread Tom Gundersen
On Thu, Mar 12, 2015 at 2:41 PM, Andrei Borzenkov wrote: > On Thu, Mar 12, 2015 at 4:24 PM, David Herrmann wrote: >> Hi >> >> On Thu, Mar 12, 2015 at 2:06 PM, Andrei Borzenkov >> wrote: >>> On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann >>> wrote: >> With systemd-boot, there will be no c

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 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 end user must man

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

2015-03-12 Thread Andrei Borzenkov
On Thu, Mar 12, 2015 at 4:24 PM, David Herrmann wrote: > Hi > > On Thu, Mar 12, 2015 at 2:06 PM, Andrei Borzenkov wrote: >> On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann >> wrote: > With systemd-boot, there will be no config to sign: > > https://harald.hoyer.xyz/2015/02/25/sing

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

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 2:06 PM, Andrei Borzenkov wrote: > On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann wrote: With systemd-boot, there will be no config to sign: https://harald.hoyer.xyz/2015/02/25/single-uefi-executable-for-kernelinitrdcmdline/ >>> >>> How exactly

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 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 whatever) aw

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

2015-03-12 Thread Andrei Borzenkov
On Thu, Mar 12, 2015 at 1:30 PM, David Herrmann wrote: > Hi > > On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov wrote: >> В Wed, 11 Mar 2015 18:50:23 +0100 >> Kay Sievers пишет: >> >>> On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy >>> wrote: >>> > On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hung

Re: [systemd-devel] overrride env variable

2015-03-12 Thread David Herrmann
Hi On Thu, Mar 12, 2015 at 12:33 PM, Reindl Harald wrote: > > > Am 12.03.2015 um 12:24 schrieb Vasiliy Tolstov: >> >> 2015-03-12 14:10 GMT+03:00 Simon McVittie >> : >>> >>> SYSTEMD.EXEC(5) systemd.exec >>> >>> NAME >>> systemd.exec - Execution environment configuration >>

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 : SYSTEMD.EXEC(5) systemd.exec NAME systemd.exec - Execution environment configuration ... EnvironmentFile= ... Settings from these files override settings made w

Re: [systemd-devel] overrride env variable

2015-03-12 Thread Vasiliy Tolstov
2015-03-12 14:10 GMT+03:00 Simon McVittie : > SYSTEMD.EXEC(5) systemd.exec > > NAME >systemd.exec - Execution environment configuration > ... >EnvironmentFile= > ... >Settings from these files override settings made with >Environment=. If the same va

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.ex

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

[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 Kay Sievers
On Thu, Mar 12, 2015 at 11:30 AM, David Herrmann wrote: > On Thu, Mar 12, 2015 at 4:57 AM, Andrei Borzenkov wrote: >> В Wed, 11 Mar 2015 18:50:23 +0100 >> Kay Sievers пишет: >> >>> On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy >>> wrote: >>> > On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger >

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 wrote: > В Wed, 11 Mar 2015 18:50:23 +0100 > Kay Sievers пишет: > >> On Wed, Mar 11, 2015 at 6:32 PM, Chris Murphy >> wrote: >> > On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger >> > wrote: >> >>> If you're concerned about bootloader config

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 sho

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 wrote: > On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh 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). > Ka

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

2015-03-12 Thread Chris Murphy
On Wed, Mar 11, 2015 at 1:46 PM, Kay Sievers wrote: > On Wed, Mar 11, 2015 at 7:45 PM, Chris Murphy wrote: >> On Wed, Mar 11, 2015 at 11:50 AM, Kay Sievers wrote: >> >>>There is no >>> point in handling raid without native firmware support; manual >>> intervention is needed anyway on these syste

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

2015-03-12 Thread Chris Murphy
On Wed, Mar 11, 2015 at 2:22 AM, Tobias Hunger 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 passphrase/key

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 wrote: > On Wed, Mar 11, 2015 at 12:55 PM, David Herrmann > wrote: >> Hi >> >> On Tue, Mar 10, 2015 at 8:56 PM, wrote: >>> From: Lucas De Marchi >>> >>> If we don't check the error of the child process, systemd-vconsole-setup >>> would exit

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 wrote: > On Fri, Feb 27, 2015 at 6:12 PM, Marcel Holtmann 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 field ‘Blue’ o

[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 --- a/src/resolve/resolve

[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 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] vconsole-setup: check error of child process

2015-03-12 Thread lucas . de . marchi
From: Lucas De Marchi 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 ~]# strace -f -e execve /usr/li

[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 ++

[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 a

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 thi

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 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 file changed,

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 thu

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

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

2015-03-12 Thread Alban Crequy
From: Alban Crequy 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. --- src/import/import-raw

[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 +++ b/man/tmpfiles.d.xm

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 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: prefix=/usr exec

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] [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:39, Didier Roche (didro...@ubuntu.com) wrote: > Le 10/03/2015 08:33, Martin Pitt a écrit : > >Lennart Poettering [2015-03-09 19:11 +0100]: > > > >>Oh, and I am only realizing now that the whole thing doesn't do *at > >>all* what we discussed. The idea was to invoke the actual f

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_FD

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] [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

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. > > https://tools.ietf.org/html/rfc5952#

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 > Date: Tue, 10 Mar 2015 09:57:38 +0100 > Subject: [PATCH 3/5] fsckd: Reduce the SA

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 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). > > (Note: I might've m