[systemd-devel] Most important changes the last 15 months

2015-03-16 Thread Cecil Westerhof
About 15 months ago I gave a presentation about systemd/journald. I am asked to give another presentation about systemd/journald. What are the most important changes I should integrate into my presentation? -- Cecil Westerhof ___ systemd-devel mailing l

Re: [systemd-devel] systemd-fsckd: Couldn't connect to plymouth: Connection refused

2015-03-16 Thread Didier Roche
Le 14/03/2015 21:37, Mikhail Morfikov a écrit : This is the full log I got when I tried to mount the device: Mar 14 20:46:08 morfikownia polkitd(authority=local)[1266]: Registered Authentication Agent for unix-process:11439:94979 (system bus name :1.41 [/usr/bin/pkttyagent --notify-fd 5 --fall

Re: [systemd-devel] Most important changes the last 15 months

2015-03-16 Thread Mihamina Rakotomandimby
On 03/16/2015 10:05 AM, Cecil Westerhof wrote: About 15 months ago I gave a presentation about systemd/journald. I am asked to give another presentation about systemd/journald. What are the most important changes I should integrate into my presentation? -- Would you share your slides? ;-) I'm

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Hi folks, > udev seems to create a problem here with the hostap (prism2) kernel > driver. Unlike many wifi devices, the hostap device driver always > creates paired interfaces, a raw interface (wifiX) and a network > interface (wlanX) that represents the configured network. > > Unfortunately, ude

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Andrei Borzenkov
On Mon, Mar 16, 2015 at 10:26 AM, Thomas Richter wrote: > Hi folks, > >> udev seems to create a problem here with the hostap (prism2) kernel >> driver. Unlike many wifi devices, the hostap device driver always >> creates paired interfaces, a raw interface (wifiX) and a network >> interface (wlanX)

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Greg KH
On Mon, Mar 16, 2015 at 08:26:00AM +0100, Thomas Richter wrote: > Hi folks, > > > udev seems to create a problem here with the hostap (prism2) kernel > > driver. Unlike many wifi devices, the hostap device driver always > > creates paired interfaces, a raw interface (wifiX) and a network > > inter

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Am 16.03.2015 um 09:04 schrieb Greg KH: > On Mon, Mar 16, 2015 at 08:26:00AM +0100, Thomas Richter wrote: >> Hi folks, >> >>> udev seems to create a problem here with the hostap (prism2) kernel >>> driver. Unlike many wifi devices, the hostap device driver always >>> creates paired interfaces, a ra

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Greg KH
On Mon, Mar 16, 2015 at 09:32:17AM +0100, Thomas Richter wrote: > Am 16.03.2015 um 09:04 schrieb Greg KH: > > On Mon, Mar 16, 2015 at 08:26:00AM +0100, Thomas Richter wrote: > >> Hi folks, > >> > >>> udev seems to create a problem here with the hostap (prism2) kernel > >>> driver. Unlike many wifi

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Tom Gundersen
On Mon, Mar 16, 2015 at 8:26 AM, Thomas Richter wrote: > Hi folks, > >> udev seems to create a problem here with the hostap (prism2) kernel >> driver. Unlike many wifi devices, the hostap device driver always >> creates paired interfaces, a raw interface (wifiX) and a network >> interface (wlanX)

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Am 16.03.2015 um 09:54 schrieb Greg KH: >> >> It's regular PCI based prism2, thank you. I'm not expecting *you* to fix >> things in prism2, for sure. This is not the hostap mailing list. > > Which exact kernel driver is this? I don't see a prism2 PCI driver in > the latest kernel source tree, bu

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Tom Gundersen
On Mon, Mar 16, 2015 at 10:34 AM, Thomas Richter wrote: > The laptop in question had a ipw2200 card installed, which was > configured by udev as wlan0 (obviously). This card got replaced > (basically, due to another bug in ipw2200 which is unrelated to udev), > and "obviously" udev picked a new na

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Am 16.03.2015 um 10:53 schrieb Tom Gundersen: > On Mon, Mar 16, 2015 at 10:34 AM, Thomas Richter > wrote: >> The laptop in question had a ipw2200 card installed, which was >> configured by udev as wlan0 (obviously). This card got replaced >> (basically, due to another bug in ipw2200 which is unre

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Tom Gundersen
On Mon, Mar 16, 2015 at 11:01 AM, Thomas Richter wrote: > Am 16.03.2015 um 10:53 schrieb Tom Gundersen: >> On Mon, Mar 16, 2015 at 10:34 AM, Thomas Richter >> wrote: >>> The laptop in question had a ipw2200 card installed, which was >>> configured by udev as wlan0 (obviously). This card got repl

[systemd-devel] bootloader time on a non-EFI bootloader

2015-03-16 Thread Umut Tezduyar Lindskog
Hi, I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI bootloader? Or is there an another way? Umut ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org h

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

2015-03-16 Thread Tobias Hunger
Just a short update: I managed to get my machine image to (kind of) boot in systemd-nspawn this weekend. Kind-of as it tries to mount some drives that are obviously not there in the container. But apart from that it seems to boot fine:-) On real hardware I am not so lucky: Once I get to system-sw

Re: [systemd-devel] bootloader time on a non-EFI bootloader

2015-03-16 Thread Kay Sievers
On Mon, Mar 16, 2015 at 11:29 AM, Umut Tezduyar Lindskog wrote: > I would like to pass the time it was spent in bootloader to systemd. > Is there a kernel command line to pass this information on non EFI > bootloader? Or is there an another way? No, there isn't anything I know of. The kernel boo

[systemd-devel] [HEADS-UP] hwdb: change 60-keyboard.hwdb matches

2015-03-16 Thread David Herrmann
Hi Hans & Martin I've pushed some patches that change the hwdb 60-keyboard matching logic. This was needed to support bluetooth devices, and then I just went ahead and cleaned up the other rules. This email is meant as a heads-up to you guys, as you are the most frequent contributors to that file.

Re: [systemd-devel] [HEADS-UP] hwdb: change 60-keyboard.hwdb matches

2015-03-16 Thread Hans de Goede
Hi, On 16-03-15 12:31, David Herrmann wrote: Hi Hans & Martin I've pushed some patches that change the hwdb 60-keyboard matching logic. This was needed to support bluetooth devices, and then I just went ahead and cleaned up the other rules. This email is meant as a heads-up to you guys, as you

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 11:09 AM, Tom Gundersen wrote: > On Mon, Mar 16, 2015 at 11:01 AM, Thomas Richter > wrote: >> Am 16.03.2015 um 10:53 schrieb Tom Gundersen: >>> On Mon, Mar 16, 2015 at 10:34 AM, Thomas Richter >>> wrote: The laptop in question had a ipw2200 card installed, whic

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Am 16.03.2015 um 12:53 schrieb David Herrmann: > I don't see how we can fix that via name_assign_type. Sure, we could > set this to NET_NAME_PREDICTABLE and udev would no longer rename it. > But the name is *NOT* predictable, so it would be a hack. > > The other fix would be to tell udev to never

[systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-16 Thread Chris Morgan
--- man/journal-remote.conf.xml| 111 + man/systemd-journal-remote.xml | 1 + 2 files changed, 112 insertions(+) create mode 100644 man/journal-remote.conf.xml diff --git a/man/journal-remote.conf.xml b/man/journal-remote.conf.xml new file mode 10064

Re: [systemd-devel] Most important changes the last 15 months

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 08:05:07AM +0100, Cecil Westerhof wrote: > About 15 months ago I gave a presentation about systemd/journald. I am > asked to give another presentation about systemd/journald. What are the > most important changes I should integrate into my presentation? There is NEWS. Zbysz

Re: [systemd-devel] Reliably waiting for udevd to finish processing triggered events

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 9, 2015 at 8:58 PM, Ray Strode wrote: >> No, applications should not watch the queue. And the file is internal >> to udev anyway. If you watch it, you get to keep the pieces. > udev recently gained public api for monitoring the queue. > Regardless, I think using a timeout is a bett

Re: [systemd-devel] [PATCH] core: don't change removed devices to state "tentative" [was: Re: [PATCH] unit: When stopping due to BindsTo=, log which unit caused it]

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 10:28:36AM +0100, Martin Pitt wrote: > would you mind pushing for me? Pushed. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] "systemd --test" fails

2015-03-16 Thread Frank Steiner
Lennart Poettering wrote >> This is a SLES 12 system. Any idea what I'm doing wrong? What permissions >> does the user need to run the test mode? Adding him to the root group >> didn't suffice. > > 210 is really old. THis has been fixed a while back in newer > versions. Please update or ask you

[systemd-devel] Minimal unit monitoring daemon

2015-03-16 Thread Spooge
Inspired by https://github.com/joonty/systemd_mon I wrote a more minimal (1 file, <150 line) systemd unit monitor: https://github.com/Rendaw/sysd_minmon It really just forwards state change events to a user provided script. It is my humble wish that someone perhaps will find this useful, and

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 1:04 PM, Thomas Richter wrote: > Am 16.03.2015 um 12:53 schrieb David Herrmann: > >> I don't see how we can fix that via name_assign_type. Sure, we could >> set this to NET_NAME_PREDICTABLE and udev would no longer rename it. >> But the name is *NOT* predictable, so it

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Am 16.03.2015 um 16:28 schrieb David Herrmann: > > However, it would be nice if you could describe your issues in more > detail. In particular, I cannot see any "wifiX" to "wlanX" issue. The > hostap driver exports a "wlanX" device as a base and multiple > sub-devices with a special suffix if reque

[systemd-devel] systemd does not shutdown system, it is waiting for a serial tty to show up

2015-03-16 Thread Hans de Goede
Hi, On some of the ARM boards I work on in my spare time I've done "systemctl enable getty@ttyGS0.service" to get a getty on the usb gadget serial port which I've configured on the devices otg controller. This serial port device node /dev/ttyGS0 shows up as soon as the gadget serial port driver

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter wrote: > If udev comes into play, it renames wlan0 to wlan1, because wlan0 was > already taken from a previously installed ipw2200 card that is no longer > in the system. Hence, I have now the network interfaces wifi0 and wlan1, > and that confus

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Michael Biebl
2015-03-16 17:25 GMT+01:00 David Herrmann : > Hi > > On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter > wrote: >> If udev comes into play, it renames wlan0 to wlan1, because wlan0 was >> already taken from a previously installed ipw2200 card that is no longer >> in the system. Hence, I have now th

[systemd-devel] [PATCH] core: Remove explicit Plymouth integration

2015-03-16 Thread Jasper St. Pierre
Even if plymouth is running, it might have not displayed the splash yet, so we'll see a few lines on fbcon when we should have otherwise had nothing. Plymouth integration was added to systemd in commit 6faa11140bf776cdaeb8d22d01816e6e48296971. That same day, Plymouth got systemd integration [0]. A

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread Thomas Richter
Am 16.03.2015 um 17:25 schrieb David Herrmann: > Ok, forget my previous mail, your issue is only related to the wext > driver, not the hostap extensions. > > Up front, upstream udev never renames wlan0 to wlan1. This is a > downstream problem. > > The problem is the following: > Kernel hostap cr

Re: [systemd-devel] [PATCH] core: Remove explicit Plymouth integration

2015-03-16 Thread Tom Gundersen
Thanks! Enthusiastically applied. Tom PS There is still some plymouth integration left in case anyone wants to work on getting rid of that. On Mon, Mar 16, 2015 at 5:34 PM, Jasper St. Pierre wrote: > Even if plymouth is running, it might have not displayed the splash yet, > so we'll see a few

Re: [systemd-devel] udev breaks hostap linkage of raw/user interfaces, causing wpa_supplicant problems

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 5:35 PM, Michael Biebl wrote: > 2015-03-16 17:25 GMT+01:00 David Herrmann : >> Hi >> >> On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter >> wrote: >>> If udev comes into play, it renames wlan0 to wlan1, because wlan0 was >>> already taken from a previously installed ip

Re: [systemd-devel] systemd does not shutdown system, it is waiting for a serial tty to show up

2015-03-16 Thread David Herrmann
Hi Hans On Mon, Mar 16, 2015 at 5:15 PM, Hans de Goede wrote: > Hi, > > On some of the ARM boards I work on in my spare time I've > done "systemctl enable getty@ttyGS0.service" to get a getty > on the usb gadget serial port which I've configured on the > devices otg controller. > > This serial po

Re: [systemd-devel] [PATCH] core: Remove explicit Plymouth integration

2015-03-16 Thread Didier Roche
Le 16/03/2015 17:53, Tom Gundersen a écrit : Thanks! Enthusiastically applied. Tom PS There is still some plymouth integration left in case anyone wants to work on getting rid of that. Hey Tom, Jasper, Note that systemd-fsckd (in the new set of patch posted last week on that ML to address L

Re: [systemd-devel] [PATCH] core: Remove explicit Plymouth integration

2015-03-16 Thread Tom Gundersen
On Mon, Mar 16, 2015 at 6:15 PM, Didier Roche wrote: > Le 16/03/2015 17:53, Tom Gundersen a écrit : >> >> Thanks! Enthusiastically applied. >> >> Tom >> >> PS >> >> There is still some plymouth integration left in case anyone wants to >> work on getting rid of that. > > Hey Tom, Jasper, > > Note t

Re: [systemd-devel] [PATCH] path-lookup: use secure_getenv()

2015-03-16 Thread David Herrmann
Hi On Sun, Mar 15, 2015 at 12:36 PM, Ronny Chevalier wrote: > 2015-03-15 3:27 GMT+01:00 Shawn Landden : >> All these except user_data_home_dir() are certainly vectors for >> arbitrary code execution. These should use secure_getenv() >> --- > > Hi, > > I don't see why secure_getenv() is appropriat

Re: [systemd-devel] [PATCH 4/5] fsckd: check if plymouth is running before attempting connection

2015-03-16 Thread Tom Gundersen
On Tue, Mar 10, 2015 at 6:00 PM, Didier Roche wrote: > Le 10/03/2015 11:44, Lennart Poettering a écrit : >> >> On Tue, 10.03.15 11:34, Didier Roche (didro...@ubuntu.com) wrote: >> >> I think it would make more sense to return 0 when ply isn't running, >> and 1 if it is, no? > > > Did this in the a

Re: [systemd-devel] parsing audit messages

2015-03-16 Thread David Herrmann
Hi On Sun, Mar 15, 2015 at 3:49 AM, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > I was looking at some debug logs, and the audit messages are > semi-useless in their current undecoded form: > > mar 14 22:24:02 fedora22 audit[1]: pid=1 uid=0 auid=4294967295 > ses=4294967295 subj=system_u:system_

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

2015-03-16 Thread Tom Gundersen
Looks good. Pushed. Thanks. Tom On Wed, Mar 11, 2015 at 2:25 PM, Didier Roche wrote: > Le 11/03/2015 09:34, Didier Roche a écrit : >> >> Le 11/03/2015 09:29, Martin Pitt a écrit : >>> >>> Hello all, >>> >>> Didier Roche [2015-03-10 17:56 +0100]: --- a/src/fsckd/fsckd.c +++ b/src/

Re: [systemd-devel] [PATCH] core: Remove explicit Plymouth integration

2015-03-16 Thread Didier Roche
Le 16/03/2015 18:23, Tom Gundersen a écrit : On Mon, Mar 16, 2015 at 6:15 PM, Didier Roche wrote: Le 16/03/2015 17:53, Tom Gundersen a écrit : Thanks! Enthusiastically applied. Tom PS There is still some plymouth integration left in case anyone wants to work on getting rid of that. Hey Tom

Re: [systemd-devel] parsing audit messages

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 06:33:39PM +0100, David Herrmann wrote: > Hi > > On Sun, Mar 15, 2015 at 3:49 AM, Zbigniew Jędrzejewski-Szmek > wrote: > > Hi, > > > > I was looking at some debug logs, and the audit messages are > > semi-useless in their current undecoded form: > > > > mar 14 22:24:02 fed

Re: [systemd-devel] [systemd-commits] 3 commits - src/fsckd src/shared

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 10:33:54AM -0700, Tom Gundersen wrote: > src/fsckd/fsckd.c | 13 ++--- > src/shared/util.c |4 > src/shared/util.h |2 ++ > 3 files changed, 16 insertions(+), 3 deletions(-) > > New commits: > commit e26169bd48c64753510a1194abdf4fb5dc907123 > Author:

Re: [systemd-devel] [PATCH] path-lookup: use secure_getenv()

2015-03-16 Thread Djalal Harouni
Hi, On Mon, Mar 16, 2015 at 06:31:29PM +0100, David Herrmann wrote: > Hi > > On Sun, Mar 15, 2015 at 12:36 PM, Ronny Chevalier > wrote: > > 2015-03-15 3:27 GMT+01:00 Shawn Landden : > >> All these except user_data_home_dir() are certainly vectors for > >> arbitrary code execution. These should u

Re: [systemd-devel] [systemd-commits] 3 commits - src/fsckd src/shared

2015-03-16 Thread Didier Roche
Le 16/03/2015 18:41, Zbigniew Jędrzejewski-Szmek a écrit : On Mon, Mar 16, 2015 at 10:33:54AM -0700, Tom Gundersen wrote: src/fsckd/fsckd.c | 13 ++--- src/shared/util.c |4 src/shared/util.h |2 ++ 3 files changed, 16 insertions(+), 3 deletions(-) New commits: commi

Re: [systemd-devel] systemd does not shutdown system, it is waiting for a serial tty to show up

2015-03-16 Thread Hans de Goede
Hi, On 16-03-15 18:12, David Herrmann wrote: Hi Hans On Mon, Mar 16, 2015 at 5:15 PM, Hans de Goede wrote: Hi, On some of the ARM boards I work on in my spare time I've done "systemctl enable getty@ttyGS0.service" to get a getty on the usb gadget serial port which I've configured on the devi

Re: [systemd-devel] [PATCH] path-lookup: use secure_getenv()

2015-03-16 Thread Ronny Chevalier
2015-03-16 18:31 GMT+01:00 David Herrmann : > Hi > > On Sun, Mar 15, 2015 at 12:36 PM, Ronny Chevalier > wrote: >> 2015-03-15 3:27 GMT+01:00 Shawn Landden : >>> All these except user_data_home_dir() are certainly vectors for >>> arbitrary code execution. These should use secure_getenv() >>> --- >>

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

2015-03-16 Thread Goffredo Baroncelli
On 2015-03-16 04:12, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Mar 10, 2015 at 09:07:41PM +0100, Goffredo Baroncelli wrote: >> 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 n

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

2015-03-16 Thread Goffredo Baroncelli
On 2015-03-16 04:24, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Mar 10, 2015 at 09:07:42PM +0100, Goffredo Baroncelli wrote: >> Update the man page of tmpfiles.d(5), to document the new h/H command. >> --- >> man/tmpfiles.d.xml | 32 >> 1 file changed, 32 inserti

Re: [systemd-devel] [PATCH] path-lookup: use secure_getenv()

2015-03-16 Thread Colin Walters
On Mon, Mar 16, 2015, at 02:31 PM, Ronny Chevalier wrote: > I think it would hurt in a SELinux environment. Because if the > AT_SECURE flag is set, secure_getenv will return NULL and tools like > systemctl will fail for certain tasks. Yeah, beware the possible regressions here, see e.g.: https://

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

2015-03-16 Thread Ronny Chevalier
2015-03-11 16:13 GMT+01:00 Shawn Landden : > --- Hi, > 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-

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

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

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

2015-03-16 Thread Goffredo Baroncelli
From: 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

[systemd-devel] [PATCH 1/4] Add change_attr_fd()

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli Add change_attr_fd() function to modify the file/directory attribute. --- src/shared/util.c | 22 ++ src/shared/util.h | 1 + 2 files changed, 23 insertions(+) diff --git a/src/shared/util.c b/src/shared/util.c index ba035ca..56097ec 100644 --- a/s

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

2015-03-16 Thread Goffredo Baroncelli
From: 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/jo

[systemd-devel] [PATCH V4] Allow systemd-tmpfiles to set file/directory attributes

2015-03-16 Thread Goffredo Baroncelli
Hi all, This set of patches add two new line types to the tmpfiles files format. These new types of line are 'h' and 'H' (the recursively version), and allow to change the file/directory attributes, like chattr(1) does. One of the motivation of these patches is to get rid of the commit 11689d2a

Re: [systemd-devel] systemd does not shutdown system, it is waiting for a serial tty to show up

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 7:32 PM, Hans de Goede wrote: > Hi, > > On 16-03-15 18:12, David Herrmann wrote: >> >> Hi Hans >> >> On Mon, Mar 16, 2015 at 5:15 PM, Hans de Goede >> wrote: >>> >>> Hi, >>> >>> On some of the ARM boards I work on in my spare time I've >>> done "systemctl enable getty@

Re: [systemd-devel] [systemd-commits] 3 commits - src/fsckd src/shared

2015-03-16 Thread David Herrmann
Hi On Mon, Mar 16, 2015 at 6:58 PM, Didier Roche wrote: > Le 16/03/2015 18:41, Zbigniew Jędrzejewski-Szmek a écrit : >> >> On Mon, Mar 16, 2015 at 10:33:54AM -0700, Tom Gundersen wrote: >>> >>> src/fsckd/fsckd.c | 13 ++--- >>> src/shared/util.c |4 >>> src/shared/util.h |

[systemd-devel] [PATCH] hwdb: ship ids-update.pl & sdio.ids in the release tarballs.

2015-03-16 Thread Dimitri John Ledkov
This makes it easier to apply stable branch patches on top of the release tarball. --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 856accb..0ed35ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3877,7 +3877,9 @@ dist_udevhwdb_

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl & sdio.ids in the release tarballs.

2015-03-16 Thread Marcel Holtmann
Hi Dimitri, > This makes it easier to apply stable branch patches on top of the > release tarball. > --- > Makefile.am | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Makefile.am b/Makefile.am > index 856accb..0ed35ac 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@