Re: [systemd-devel] [PATCH] path-util: Fix path_is_mount_point for files

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:20150527080708.GC3176%40piware.de -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing list

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 11:52, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-05-27 11:42 +0200]: Well, but let's not forget that a major part of the issues popping up actually were committed weeks ago. Actually, no. As I said, on May 11 most everything was working just

[systemd-devel] [PATCH 2/2] man: use configured path for mount and umount binaries in manpages

2015-05-27 Thread Filipe Brandenburger
Export the MOUNT_PATH and UMOUNT_PATH variables as XML entities and use them in the systemctl.1 manpage instead of hardcoding the path in /usr/bin. Tested: - Ran ./configure ac_cv_path_MOUNT_PATH=/bin/mount (same for umount) and rebuilt the manpages, confirmed that the correct path was in

Re: [systemd-devel] [PATCH 2/2] man: use configured path for mount and umount binaries in manpages

2015-05-27 Thread Dimitri John Ledkov
On 27 May 2015 at 10:38, Filipe Brandenburger filbran...@google.com wrote: Export the MOUNT_PATH and UMOUNT_PATH variables as XML entities and use them in the systemctl.1 manpage instead of hardcoding the path in /usr/bin. Tested: - Ran ./configure ac_cv_path_MOUNT_PATH=/bin/mount (same for

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Martin Pitt
Lennart Poettering [2015-05-27 11:42 +0200]: Well, but let's not forget that a major part of the issues popping up actually were committed weeks ago. Actually, no. As I said, on May 11 most everything was working just fine, the udev regressions landed very late. The path_is_mount_point()

Re: [systemd-devel] [PATCH 2/2] man: use configured path for mount and umount binaries in manpages

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432719500-763-3-git-send-email-filbranden%40google.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Lennart Poettering
On Tue, 26.05.15 20:51, Dave Reisner (d...@falconindy.com) wrote: On Tue, May 26, 2015 at 04:17:07PM +0200, Lennart Poettering wrote: On Tue, 26.05.15 15:12, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Or will there be a v220.1 release shortly with releasy fix-ups?

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Martin Pitt
Lennart Poettering [2015-05-27 12:56 +0200]: Sounds good. I actually did this twice (not sure if you saw my IRC pings about that) I just didn't do it at the right time. I think this would have helped to find most issues indeed (except for the keys-from-name.gperf thing, but meh -- happens

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-27 Thread Simon McVittie
On 26/05/15 20:22, Mantas Mikulėnas wrote: But right now, the 'user' bus does not exist by default. To create it, you need either a) enable/install/boot with kdbus, or b) obtain the dbus.service dbus.socket user units. (They're in dbus-git, or various other places like

[systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Martin Pitt
Lennart Poettering [2015-05-26 18:36 +0200]: That said, I think even better would be to maybe make the support for this generic in systemctl: instead of explicitly invoking chkconfig or update-rcd, maybe we can just make systemctl invoke some fixed binary /usr/lib/systemd/systemd-sysv-compat

Re: [systemd-devel] [ANNOUNCE] Separating gudev from systemd

2015-05-27 Thread Bastien Nocera
On Wed, 2015-05-20 at 12:01 +0200, David Herrmann wrote: Hi On Wed, May 20, 2015 at 8:46 AM, Tom Gundersen t...@jklm.no wrote: On Wed, May 20, 2015 at 8:24 AM, Martin Pitt martin.p...@ubuntu.com wrote: Hey David, David Herrmann [2015-05-19 17:06 +0200]: We're about to remove

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2015-05-27 12:26 +0200]: * Regularly test make dist, as nobody does that during regular development. Well, no. You just said before that we (distros) need to check tarball generation/build more often. So I'm a bit confused by the no (but see below).

Re: [systemd-devel] Starting units when a port is available for connections

2015-05-27 Thread Andrei Borzenkov
В Wed, 27 May 2015 19:09:57 +1000 Adam Zegelin a...@instaclustr.com пишет: Hi list, I’m running Cassandra (C*, a clustered database) as a systemd service. Currently this is just a “Type=simple” service, as such, dependant units will start as soon as the C* process starts rather than when

[systemd-devel] Starting units when a port is available for connections

2015-05-27 Thread Adam Zegelin
Hi list, I’m running Cassandra (C*, a clustered database) as a systemd service. Currently this is just a “Type=simple” service, as such, dependant units will start as soon as the C* process starts rather than when C* is accepting client connections. I’d like to transition to something more

[systemd-devel] regression: crashing journal due to watchdog

2015-05-27 Thread Umut Tezduyar Lindskog
Hi, The for (;;) loop in server_process_datagram might prevent journal from feeding the watchdog if there is always something to receive in the syslog socket. Potentially journald is restarted, applications stall if the syslog socket is staying full I thought about fixing it by checking the

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 12:37, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-05-27 12:26 +0200]: * Regularly test make dist, as nobody does that during regular development. Well, no. You just said before that we (distros) need to check tarball

Re: [systemd-devel] Vendor default masked service

2015-05-27 Thread Umut Tezduyar Lindskog
On Tue, May 26, 2015 at 4:14 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 26.05.15 11:53, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I was wondering if we have a way to provide vendor default masked service? Well, so far our thinking was that if the vendor wants

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Dimitri John Ledkov
On 27 May 2015 at 10:52, Martin Pitt martin.p...@ubuntu.com wrote: Lennart Poettering [2015-05-27 11:42 +0200]: Well, but let's not forget that a major part of the issues popping up actually were committed weeks ago. Actually, no. As I said, on May 11 most everything was working just fine,

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Marc-Antoine Perennou
On 27 May 2015 at 12:26, Lennart Poettering lenn...@poettering.net wrote: I use make distcheck regularly during regular development, and that's how I generate the final tarball. What about generating a preview tarball before tagging, and letting us downstreams a couple of days to test it

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Martin Pitt
Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd /etc/init.d/example.com-coffeed So we could make systemctl just call this if it's available, and otherwise do nothing for init.d scripts.

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:07, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello, as discussed in the get some distro patches upstream thread, this is the generalization for supporting different chkconfig/update-rc.d/whatnot distro implementations of enabling init.d scripts, as per LSB

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 14:34, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Peter, Peter Lemenkov [2015-05-27 15:30 +0300]: This directory is used for storing transient/generated network service files. Unfortunately it doesn't generated during systemd-networkd startup. Let's fix that. ---

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Lukáš Nykrýn
Lennart Poettering píše v St 27. 05. 2015 v 15:01 +0200: On Wed, 27.05.15 14:34, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Peter, Peter Lemenkov [2015-05-27 15:30 +0300]: This directory is used for storing transient/generated network service files. Unfortunately it doesn't

Re: [systemd-devel] [PATCH 0/2] Using XML entities for paths in manpages

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 02:38, Filipe Brandenburger (filbran...@google.com) wrote: As suggested by Martin Pitt, for better support of distros with non-merged /usr. This doesn't get us 100% there but I'd say it gets us much closer. Hmm, any chance we can somehow define those entities without

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 13:00, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-05-26 18:36 +0200]: That said, I think even better would be to maybe make the support for this generic in systemctl: instead of explicitly invoking chkconfig or update-rcd, maybe we can just make

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:26, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-05-27 15:18 +0200]: If we do this, then I'd like to go all the way right-away: strip chkconfig support if we add support for the new hook. OK. +if (!isempty(arg_root)

[systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units) [r2]

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com Replace the single -r (raw) option with separate flags for memory and IO, patterned off of --cpu[=TYPE], per feedback from Umut. Fold repeated conditional logic around formatting into a static function, per feedback from Zbyszek. Charles Duffy (1):

Re: [systemd-devel] [PATCH] cgtop: add options to format memory, IO usage in raw bytes

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432334687-30411-2-git-send-email-charles%40dyfis.net -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] how to call dbus ListUnits for user units?

2015-05-27 Thread Chris Morgan
On Wed, May 27, 2015 at 5:23 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 26/05/15 20:22, Mantas Mikulėnas wrote: But right now, the 'user' bus does not exist by default. To create it, you need either a) enable/install/boot with kdbus, or b) obtain the dbus.service dbus.socket

Re: [systemd-devel] [PATCH 1/2] corrected Subject: systemctl: add support for LSB init.d script enabling/disabling

2015-05-27 Thread Martin Pitt
Meh, copypaste fail, Subject: should have been systemctl: add support for LSB init.d script enabling/disabling -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) ___

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Jóhann B. Guðmundsson
On 05/27/2015 01:07 PM, Martin Pitt wrote: Hello, as discussed in the get some distro patches upstream thread, this is the generalization for supporting different chkconfig/update-rc.d/whatnot distro implementations of enabling init.d scripts, as per LSB specification. Is this not

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:17, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd /etc/init.d/example.com-coffeed So we could make systemctl just

Re: [systemd-devel] [PATCH 0/2] Using XML entities for paths in manpages

2015-05-27 Thread Daniel Mack
On 05/27/2015 03:04 PM, Lennart Poettering wrote: Hmm, any chance we can somehow define those entities without having to add !ENTITY % entities SYSTEM custom-entities.ent %entities; ] To each file? Can't we tell xsltproc about this via some command line switch or so? This is in

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:30, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-05-27 15:18 +0200]: Maybe introducing a new tool for this that covers all options is the better idea. Let's call it /usr/lib/systemd/systemd-sysv-install or so, taking the --root= switch as

[systemd-devel] [PATCH] cgtop: add options to format memory, IO usage in raw bytes

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 64 --- 1 file changed, 51 insertions(+), 13 deletions(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index a390cf3..45c8d6f 100644 --- a/src/cgtop/cgtop.c +++

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Martin Pitt
Hey Peter, Peter Lemenkov [2015-05-27 15:30 +0300]: This directory is used for storing transient/generated network service files. Unfortunately it doesn't generated during systemd-networkd startup. Let's fix that. --- src/network/networkd.c | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units)

2015-05-27 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 22, 2015 at 04:56:15PM -0500, Charles Duffy wrote: From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index a390cf3..0dbac7f

Re: [systemd-devel] [PATCH] missing: add more IFLA_VXLAN_* defines

2015-05-27 Thread Tom Gundersen
Applied. Thanks! Tom On Tue, May 26, 2015 at 7:48 AM, Michael Olbrich m.olbr...@pengutronix.de wrote: Otherwise building faild with kernel headers v3.16 --- configure.ac | 2 +- src/shared/missing.h | 11 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 13:03, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-05-27 12:56 +0200]: Sounds good. I actually did this twice (not sure if you saw my IRC pings about that) I just didn't do it at the right time. I think this would have helped to find most issues

[systemd-devel] [PATCH 2/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Martin Pitt
Hello, if you have both a systemd unit and a SysV init script with the same name, systemctl {en,dis}able currently diverts to chkconfig and friends *only*, without actually enabling/disabling the native unit. This is a non-issue for Fedora packages which eliminated init.d scripts, but still an

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Martin Pitt
Lennart Poettering [2015-05-27 15:18 +0200]: Maybe introducing a new tool for this that covers all options is the better idea. Let's call it /usr/lib/systemd/systemd-sysv-install or so, taking the --root= switch as before, plus enable, disable, is-enabled plus one or more LSB init script

Re: [systemd-devel] Adding additional network interfaces dynamically, after networkd startup finishes

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 2:03 PM, Peter Lemenkov lemen...@gmail.com wrote: Hello All! My network is managed via systemd-networkd. I'm trying to create additional network bridge after another one service (VPN) is started. Right now I'm having a ExecStartPost directive, which creates

[systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Peter Lemenkov
This directory is used for storing transient/generated network service files. Unfortunately it doesn't generated during systemd-networkd startup. Let's fix that. --- src/network/networkd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/networkd.c b/src/network/networkd.c index

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 12:42, Marc-Antoine Perennou (marc-anto...@perennou.com) wrote: On 27 May 2015 at 12:26, Lennart Poettering lenn...@poettering.net wrote: I use make distcheck regularly during regular development, and that's how I generate the final tarball. What about generating a

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432729838-16175-1-git-send-email-lemenkov%40gmail.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Martin Pitt
Hello, as discussed in the get some distro patches upstream thread, this is the generalization for supporting different chkconfig/update-rc.d/whatnot distro implementations of enabling init.d scripts, as per LSB specification. I figure at some point we might want to drop the explicit

Re: [systemd-devel] [PATCH 6/6] udevd: event - port spawn_wait() to sd-event

2015-05-27 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 26, 2015 at 12:38:48AM +0200, Tom Gundersen wrote: This allows us to drop the special sigterm handling in spawn_wait() as this will now be passed directly to the worker event loop. We now log failing processe at 'warning' leve, otherwise the behavior is unchanged. Changes look

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Martin Pitt
Lennart Poettering [2015-05-27 15:18 +0200]: If we do this, then I'd like to go all the way right-away: strip chkconfig support if we add support for the new hook. OK. +if (!isempty(arg_root) !streq(arg_root, /)) { +log_error(Can not %s SysV init

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Tom Gundersen
On Tue, May 26, 2015 at 5:11 PM, Martin Pitt martin.p...@ubuntu.com wrote: Hello Tom, all, with 220 I get a severe boot time regression: $ systemd-analyze Startup finished in 30.751s (kernel) + 11.706s (userspace) = 42.458s which used to be $ systemd-analyze Startup finished in

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:40, Lukáš Nykrýn (lnyk...@redhat.com) wrote: Lennart Poettering píše v St 27. 05. 2015 v 15:01 +0200: On Wed, 27.05.15 14:34, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Peter, Peter Lemenkov [2015-05-27 15:30 +0300]: This directory is used for storing

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Filipe Brandenburger
Hi Tom, On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen t...@jklm.no wrote: It appears a few people see this, but I was not able to reproduce. If anyone could reproduce with this patch applied [0], it would be most helpful (and post the output of journalctl -b -u systemd-udevd). Done. Console

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lukáš Nykrýn
Lennart Poettering píše v St 27. 05. 2015 v 15:22 +0200: On Wed, 27.05.15 15:17, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey Lennart, Lennart Poettering [2015-05-27 15:08 +0200]: /usr/lib/lsb/install_initd /etc/init.d/example.com-coffeed /usr/lib/lsb/remove_initd

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Lukáš Nykrýn
Martin Pitt píše v St 27. 05. 2015 v 17:45 +0200: Hey Lukáš, Lukáš Nykrýn [2015-05-27 17:32 +0200]: We already have /usr/lib/lsb/install_initd in fedora and rhel, it is in redhat-lsb-core, but basically it is just a symlink to chkconfig. Ah, that's not technically correct, as

Re: [systemd-devel] [PATCH 1/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 13:39, Jóhann B. Guðmundsson (johan...@gmail.com) wrote: On 05/27/2015 01:07 PM, Martin Pitt wrote: Hello, as discussed in the get some distro patches upstream thread, this is the generalization for supporting different chkconfig/update-rc.d/whatnot distro

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 6:16 PM, Filipe Brandenburger filbran...@google.com wrote: Hi Tom, On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen t...@jklm.no wrote: It appears a few people see this, but I was not able to reproduce. If anyone could reproduce with this patch applied [0], it would be

[systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units)

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index a390cf3..2849a1d 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -62,6 +62,7

Re: [systemd-devel] abstracting chkconfig vs. update-rc.d [was: non-merged /usr changes]

2015-05-27 Thread Martin Pitt
Hey Lukáš, Lukáš Nykrýn [2015-05-27 17:32 +0200]: We already have /usr/lib/lsb/install_initd in fedora and rhel, it is in redhat-lsb-core, but basically it is just a symlink to chkconfig. Ah, that's not technically correct, as /usr/lib/lsb/{install,remove}_initd have a different CLI. But

[systemd-devel] [PATCH v2 1/2] systemctl: drop hardcoded chkconfig invocation

2015-05-27 Thread Martin Pitt
Hello again, as discussed previously this second variant of un-hardcoding chkconfig now uses the proposed /usr/lib/systemd/systemd-sysv-install abstraction. I also added a reference implementation for chkconfig which gets installed with --enable-chkconfig, so on Fedora this should be no net

[systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units) [r3]

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com Another take, incorporating feedback from r2. Charles Duffy (1): cgtop: raw output option (disable conversion to human-readable units) src/cgtop/cgtop.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) --

Re: [systemd-devel] [PATCH 0/2] Using XML entities for paths in manpages

2015-05-27 Thread Filipe Brandenburger
Hi, On Wed, May 27, 2015 at 6:04 AM, Lennart Poettering lenn...@poettering.net wrote: Hmm, any chance we can somehow define those entities without having to add !ENTITY % entities SYSTEM custom-entities.ent %entities; ] To each file? Can't we tell xsltproc about this via some command

Re: [systemd-devel] [PATCH] cgtop: add options to format memory, IO usage in raw bytes

2015-05-27 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 22, 2015 at 05:44:47PM -0500, Charles Duffy wrote: From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 64 --- 1 file changed, 51 insertions(+), 13 deletions(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Filipe Brandenburger
On Wed, May 27, 2015 at 10:08 AM, Tom Gundersen t...@jklm.no wrote: This should be fixed by 86c3bece38bcf55da6387d20c6f01da9ad0284dc. Thanks for the help in debugging this, and sorry for the inconvenience. And I can confirm the timeout is gone. Thanks for fixing it quickly Tom! Glad to help

Re: [systemd-devel] How to wait for specific interface/IP?

2015-05-27 Thread Ian Pilcher
On 05/23/2015 11:03 AM, Ian Pilcher wrote: Is there a simple way to make a service require that a specific network interface/IP address be active? I have a manually set up bridge and dnsmasq configuration for my VM traffic, but dnsmasq is getting started before NetworkManager has configured the

Re: [systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units)

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432339750-31673-2-git-send-email-charles%40dyfis.net -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [PATCH 1/1] Ensure that /run/systemd/network exists

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 15:30, Peter Lemenkov (lemen...@gmail.com) wrote: This directory is used for storing transient/generated network service files. Unfortunately it doesn't generated during systemd-networkd startup. Let's fix that. Hmm, how did you generate these network files? Why not make the

[systemd-devel] [PATCH v2 2/2] systemctl: Don't skip native units when enabling/disabling SysV init.d scripts

2015-05-27 Thread Martin Pitt
Hello, same rationale and patch as before, just unfuzzed against the updated systemctl: drop hardcoded chkconfig invocation. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org) From

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 6:23 PM, Tom Gundersen t...@jklm.no wrote: On Wed, May 27, 2015 at 6:16 PM, Filipe Brandenburger filbran...@google.com wrote: Hi Tom, On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen t...@jklm.no wrote: It appears a few people see this, but I was not able to reproduce.

Re: [systemd-devel] 220 udev boot regression: timeout, giving up waiting for workers to finish

2015-05-27 Thread Martin Pitt
Hey Tom, Tom Gundersen [2015-05-27 19:08 +0200]: This should be fixed by 86c3bece38bcf55da6387d20c6f01da9ad0284dc. Thanks for the help in debugging this, and sorry for the inconvenience. Works like a charm. Great work, thanks! Martin -- Martin Pitt|

Re: [systemd-devel] [PATCH] Fix systemd.resource-control(5) volume number.

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432756022-29980-1-git-send-email-batrick%40batbytes.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel

[systemd-devel] [PATCH] Fix systemd.resource-control(5) volume number.

2015-05-27 Thread Patrick Donnelly
Signed-off-by: Patrick Donnelly batr...@batbytes.com --- man/systemd.slice.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd.slice.xml b/man/systemd.slice.xml index f0bac41..a501327 100644 --- a/man/systemd.slice.xml +++ b/man/systemd.slice.xml @@ -90,7 +90,7 @@

Re: [systemd-devel] [PATCH] fix extraneous space in equality check

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432753344-31461-1-git-send-email-jonathan.boulle%40coreos.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel

[systemd-devel] [PATCH] fix extraneous space in equality check

2015-05-27 Thread Jonathan Boulle
--- src/core/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main.c b/src/core/main.c index c39815b10675..212ab901b18f 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1496,7 +1496,7 @@ int main(int argc, char *argv[]) { setsid();

Re: [systemd-devel] [PATCH] fix extraneous space in equality check

2015-05-27 Thread Tom Gundersen
Applied. Thanks! Tom On Wed, May 27, 2015 at 9:02 PM, Jonathan Boulle jonathan.bou...@coreos.com wrote: --- src/core/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/main.c b/src/core/main.c index c39815b10675..212ab901b18f 100644 --- a/src/core/main.c

Re: [systemd-devel] [PATCH] Fix systemd.resource-control(5) volume number.

2015-05-27 Thread Tom Gundersen
On Wed, May 27, 2015 at 9:47 PM, Patrick Donnelly batr...@batbytes.com wrote: Signed-off-by: Patrick Donnelly batr...@batbytes.com We don't use s-o-b in systemd, so dropped this when applying. Also adjusted the subject line a bit (for future reference). Thanks for the patch! Pushed. Cheers,

[systemd-devel] Alienware graphics amplifier scancodes

2015-05-27 Thread Mario Limonciello
Hi, Some Alienware notebooks and desktops support an external graphics housing called the Alienware Graphics Amplifier. It allows the usage of a larger or more modern graphics card than your gaming PC would already support. In order to provide a good experience, systems that support it can

Re: [systemd-devel] crda broken with systemd 220

2015-05-27 Thread Tom Gundersen
On Tue, May 26, 2015 at 11:53 AM, Michał Bartoszkiewicz mbartoszkiew...@gmail.com wrote: Hello, it seems that udev from systemd 220 does passes empty environment to a process spawned by a RUN rule. execve(/usr/sbin/crda, [/usr/sbin/crda], [/* 0 vars */]) = 0 This breaks crda, as it expects

[systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My immediate problem is a boot failure with systemd on Ubuntu 15.04 because of fsck issues (systemd timing out fscking something it shouldn't). Prior Ubuntu releases and upstart work just fine. Martin Pitt @ Ubuntu said I should bring the issue here

Re: [systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units)

2015-05-27 Thread Umut Tezduyar Lindskog
Hi Charles, We have done something similar to this with the cpu accounting. The option is --cpu=TYPE (There is also hidden key '%' on the tty output which toggles between different display modes). If this patch will be taken I think we should be consistent. Maybe something like --io=TYPE or

Re: [systemd-devel] [PATCH 4/4] cgtop: support time header with user-specified format string

2015-05-27 Thread Daurnimator
On 28 May 2015 at 09:58, Filipe Brandenburger filbran...@google.com wrote: Though I'm not sure whether taking a strftime format as a command line argument is really a good idea... But I'll defer that to other reviewers. From working with lua, I recall that accepting arbitary strftime format

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 08:27:30 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 27 May 2015 14:03:10 -0700 Roger Binns rog...@rogerbinns.com пишет: -BEGIN PGP SIGNED MESSAGE-

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/27/2015 04:00 PM, Reindl Harald wrote: sounds like https://bugzilla.redhat.com/show_bug.cgi?id=1217969 Thanks for the pointer. I think my situation is different but it does show that I should test with fsck.mode=skip and hopefully systemd

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Martin Pitt
Reindl Harald [2015-05-28 1:00 +0200]: Am 27.05.2015 um 23:03 schrieb Roger Binns: My immediate problem is a boot failure with systemd on Ubuntu 15.04 because of fsck issues (systemd timing out fscking something it shouldn't) sounds like

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 08:34:07 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Thu, 28 May 2015 08:27:30 +0300 Andrei Borzenkov arvidj...@gmail.com пишет: -BEGIN PGP SIGNED MESSAGE-

Re: [systemd-devel] [PATCH 4/4] cgtop: support time header with user-specified format string

2015-05-27 Thread Filipe Brandenburger
Hi, On Wed, May 27, 2015 at 3:40 PM, Charles Duffy char...@dyfis.net wrote: +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored -Wformat-nonliteral +time_len = strftime(buf, l, arg_time_format, curr_time); +if (time_len = 0) +return; +#pragma GCC

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Andrei Borzenkov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 В Wed, 27 May 2015 14:03:10 -0700 Roger Binns rog...@rogerbinns.com пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My immediate problem is a boot failure with systemd on Ubuntu 15.04 because of fsck issues (systemd timing out fscking

[systemd-devel] [PATCH 1/4] cgtop: raw output option (disable conversion to human-readable units)

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index a390cf3..2849a1d 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -62,6 +62,7

[systemd-devel] [PATCH 2/4] cgtop: allow user to force looping behavior even in non-TTY mode

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index 2849a1d..8a0e075 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c @@ -60,7 +60,7 @@ typedef struct Group { }

[systemd-devel] [PATCH 4/4] cgtop: support time header with user-specified format string

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com --- src/cgtop/cgtop.c | 50 +- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index 53e3a64..c3db62b 100644 --- a/src/cgtop/cgtop.c +++ b/src/cgtop/cgtop.c

[systemd-devel] [PATCH 3/4] cgtop: more sensible flushing behavior w/ non-TTY output

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com - Explicitly flush stdout before sleep between iterations - Only clear user keystrokes when output is to TTY - Add a newline between output batches when output is not to TTY --- src/cgtop/cgtop.c | 10 -- 1 file changed, 8 insertions(+), 2

[systemd-devel] [PATCH 0/4] More cgtop enhancements

2015-05-27 Thread Charles Duffy
From: Charles Duffy chadu...@cisco.com In addition to the previously-submitted patch adding support for raw (numeric byte-count, as opposed to human-readable) values, this series adds several new enhancements: - Allow the user to specify a strftime-compatible string to use as header. - Retain

Re: [systemd-devel] fsck, /home, btrfs, multiple partitions/drives, boot failure [Ubuntu 15.04]

2015-05-27 Thread Reindl Harald
Am 27.05.2015 um 23:03 schrieb Roger Binns: My immediate problem is a boot failure with systemd on Ubuntu 15.04 because of fsck issues (systemd timing out fscking something it shouldn't) sounds like https://bugzilla.redhat.com/show_bug.cgi?id=1217969 signature.asc Description: OpenPGP

Re: [systemd-devel] [PATCH 4/4] cgtop: support time header with user-specified format string

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1432766423-4578-5-git-send-email-charles%40dyfis.net -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[systemd-devel] [PATCH] path-util: Fix path_is_mount_point for files

2015-05-27 Thread Martin Pitt
Martin Pitt [2015-05-25 21:06 +0200]: in 220, path_is_mount_point() now always fails with -20 ENOTDIR when calling it on files. This is problematic as it's perfectly valid to have bind-mounted files; in fact, systemd's machine_id_setup() itself creates a /run/machine-id → /etc/machine-id bind