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 пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > В Thu, 28 May 2015 08:27:30 +0300 > Andrei Borzenkov пишет: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > В Wed, 27

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 пишет: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > В Wed, 27 May 2015 14:03:10 -0700 > Roger Binns пишет: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > My immediate pr

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 пишет: > -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 > should

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 https://bugzilla.redhat.com/show_bug.cgi?

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 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 strings is unsafe in

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 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 diagnostic p

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 wil

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: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

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 digit

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy 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 default behavior of

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy --- 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 @@ -63,6 +63,8 @@ s

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy - 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 deletions(-) diff --git a/s

[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 --- 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 { } Group; static u

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy --- 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 @@ typedef struct

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 wrote: > Signed-off-by: Patrick Donnelly 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, Tom > --- > man/systemd.slice.xml | 2 +-

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 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 > +++ b/src/core/main

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 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 to see COUNTRY in

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

[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] Fix systemd.resource-control(5) volume number.

2015-05-27 Thread systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mail

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

2015-05-27 Thread Patrick Donnelly
Signed-off-by: Patrick Donnelly --- 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 @@ slice specific c

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| http://www.piwa

[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 systemd github import bot
Patchset imported to github. Pull request: -- Generated by https://github.com/haraldh/mail2git ___ systemd-deve

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 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 you isolate

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 wrote: > On Wed, May 27, 2015 at 6:16 PM, Filipe Brandenburger > wrote: >> Hi Tom, >> >> On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen wrote: >>> It appears a few people see this, but I was not able to reproduce. If >>> anyone could reproduce with

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: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

[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 2ec8c55f4c37a95d7fdaba5

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

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 wrote: > Hi Tom, > > On Wed, May 27, 2015 at 8:45 AM, Tom Gundersen 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 th

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

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy 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(-) -- 2.0.0

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy --- 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 @@ typedef struct

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

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 distr

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

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 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 703ms (kerne

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 any

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

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 wrote: > Hmm, any chance we can somehow define those entities without having to > add > > > %entities; > ]> > > To each file? Can't we tell xsltproc about this via some command line > switch or so? I don't think that's possible, in part

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

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: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

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 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 a/configure.ac b/

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy --- 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 +++ b/src/cgtop/cgtop.c @@ -77,6 +77

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

2015-05-27 Thread Charles Duffy
From: Charles Duffy 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): cgtop: add options to

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 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 > /run/systemd/network, c

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

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 somethi

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

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

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 > > > %entities; > ]> > > To each file? Can't we tell xsltproc about this via some command line > switch or so? > > This is in a way similar to how we use gcc's "

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 sc

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 Sy

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 sy

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 s

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 spe

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 lo

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

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, copy&paste 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) ___ sy

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

[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 --enable-c

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: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailin

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 ha

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 tha

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

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 wrote: > > > > I use "make distcheck" regularly during regular development, and > > that's how I generate the final tarball. > > What about generating a preview tarball

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 > > --- > 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 100644 > --- a/s

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 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" user units. (The

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

[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

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

2015-05-27 Thread Peter Lemenkov
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 /run/systemd/network, creates a necessary netdev/link/network files here, and restarts net

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 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 to make a u

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

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

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

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 Marc-Antoine Perennou
On 27 May 2015 at 12:26, Lennart Poettering 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 before you do the actu

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 пишет: > 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

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

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 ju

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: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel maili

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 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, the udev regress

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() regre

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 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 umount) and >

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

2015-05-27 Thread Lennart Poettering
On Wed, 27.05.15 04:34, Michael Biebl (mbi...@gmail.com) wrote: > 2015-05-27 2:51 GMT+02:00 Dave Reisner : > > The fact of the matter is, the last 2 releases of systemd have been > > brown bag releases. Neither 219 nor 220 are useable as the tarballs are > > provided. v220 doesn't even build in a

[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 man/sy

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

2015-05-27 Thread Filipe Brandenburger
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. I think we still need a new variable for /etc/udev (similar to &pkgsysconfdir; which is /etc/systemd) though that is not really critical for non-merg

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

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

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

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: -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing list systemd-devel@

[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