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] [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] 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 halfl...@gmail.com 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

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 your

[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

[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

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

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

[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] 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 t...@jklm.no wrote: On Mon, Mar 16, 2015 at 11:01 AM, Thomas Richter t...@math.tu-berlin.de wrote: Am 16.03.2015 um 10:53 schrieb Tom Gundersen: On Mon, Mar 16, 2015 at 10:34 AM, Thomas Richter t...@math.tu-berlin.de wrote: The laptop in

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 t...@math.tu-berlin.de 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

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 u...@tezduyar.com 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.

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

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 requested by

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 jstpie...@mecheye.net wrote: Even if plymouth is running, it might have not displayed the splash yet,

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 mbi...@gmail.com wrote: 2015-03-16 17:25 GMT+01:00 David Herrmann dh.herrm...@gmail.com: Hi On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter t...@math.tu-berlin.de wrote: If udev comes into play, it renames wlan0 to wlan1, because wlan0 was

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 dh.herrm...@gmail.com: Hi On Mon, Mar 16, 2015 at 4:48 PM, Thomas Richter t...@math.tu-berlin.de 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

[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 t...@math.tu-berlin.de 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

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

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 creates

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 t...@math.tu-berlin.de 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*

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 didro...@ubuntu.com 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 +++

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 didier.ro...@canonical.com 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

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 zbys...@in.waw.pl 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]: audit-1130 pid=1 uid=0 auid=4294967295 ses=4294967295

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 hdego...@redhat.com 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

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 chevalier.ro...@gmail.com wrote: 2015-03-15 3:27 GMT+01:00 Shawn Landden sh...@churchofgit.com: All these except user_data_home_dir() are certainly vectors for arbitrary code execution. These should use secure_getenv() --- Hi, I don't

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 didro...@ubuntu.com 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

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 zbys...@in.waw.pl 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

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:

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 chevalier.ro...@gmail.com wrote: 2015-03-15 3:27 GMT+01:00 Shawn Landden sh...@churchofgit.com: All these except user_data_home_dir() are certainly vectors for

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

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 @@ -3877,7

[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

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

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, udev (or

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? ;-)

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 t...@math.tu-berlin.de 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

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 hdego...@redhat.com 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

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

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 insertions(+)

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 sh...@churchofgit.com: --- 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

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 dh.herrm...@gmail.com: Hi On Sun, Mar 15, 2015 at 12:36 PM, Ronny Chevalier chevalier.ro...@gmail.com wrote: 2015-03-15 3:27 GMT+01:00 Shawn Landden sh...@churchofgit.com: All these except user_data_home_dir() are certainly vectors for arbitrary

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

[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 kreij...@inwind.it 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

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 didro...@ubuntu.com 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 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it 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

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

2015-03-16 Thread Goffredo Baroncelli
From: Goffredo Baroncelli kreij...@inwind.it 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

[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

[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 kreij...@inwind.it 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.

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 hdego...@redhat.com 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 hdego...@redhat.com wrote: Hi, On some of the ARM boards I work on in my spare time I've done systemctl

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 interface

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 raw interface

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 devices, the