Re: [systemd-devel] [systemd-commits] src/timesync

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 17:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 04, 2015 at 08:06:44AM -0800, Lennart Poettering wrote: src/timesync/timesyncd-manager.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit

Re: [systemd-devel] [systemd-commits] src/timesync

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 06:24:13PM +0100, Lennart Poettering wrote: On Wed, 04.02.15 18:18, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 04, 2015 at 06:10:40PM +0100, Lennart Poettering wrote: On Wed, 04.02.15 17:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)

Re: [systemd-devel] [PATCH 2/2] fsckd daemon for inter-fsckd communication

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 05:50:29PM +0100, Didier Roche wrote: Le 04/02/2015 17:24, Zbigniew Jędrzejewski-Szmek a écrit : Thanks again for the quick review! Fixed if not commented (sorry, some issues were back due to the refactoring). On Wed, Feb 04, 2015 at 05:06:45PM +0100, Didier Roche

Re: [systemd-devel] [PATCH 1/2] Add sd_event_loop_timeout to sd_event

2015-02-04 Thread Didier Roche
Le 04/02/2015 17:10, Lennart Poettering a écrit : On Wed, 04.02.15 17:05, Didier Roche (didro...@ubuntu.com) wrote: Hey, I rewrote a version of this patch including the feedback on the list. As per IRC discussion, (and after giving up the busy loop for a rewrite with epool), I did rebase it

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Martin Pitt
Lennart Poettering [2015-02-04 16:38 +0100]: Sure, I can only recommend again: in the the glue code that calls out to systemctl from service, you can add the code to use --no-block or --job-mode=ignore-dependencies , if you notice you are in shutdown mode... Yeah, I agree that given all the

Re: [systemd-devel] [systemd-commits] src/timesync

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 08:06:44AM -0800, Lennart Poettering wrote: src/timesync/timesyncd-manager.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit 7e3254b3bae19221afefdb87b61ff92c755fd2f4 Author: Lennart Poettering lenn...@poettering.net Date: Wed Feb

Re: [systemd-devel] [PATCH 2/2] fsckd daemon for inter-fsckd communication

2015-02-04 Thread Didier Roche
Le 04/02/2015 17:24, Zbigniew Jędrzejewski-Szmek a écrit : Thanks again for the quick review! Fixed if not commented (sorry, some issues were back due to the refactoring). On Wed, Feb 04, 2015 at 05:06:45PM +0100, Didier Roche wrote: +typedef struct Clients { +struct Manager *manager;

[systemd-devel] [PATCH] hwdb: Bind toolbox buttons to the Windows key

2015-02-04 Thread Bastien Nocera
One would expect pressing the button to go to an overview / show applications mode, we thus map it to leftmeta, the Windows key. See https://bugzilla.gnome.org/show_bug.cgi?id=658602#c17 --- hwdb/60-keyboard.hwdb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [systemd-devel] [PATCH 1/2] Add sd_event_loop_timeout to sd_event

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 17:05, Didier Roche (didro...@ubuntu.com) wrote: Hey, I rewrote a version of this patch including the feedback on the list. As per IRC discussion, (and after giving up the busy loop for a rewrite with epool), I did rebase it again on sd_event. I'm only proposing there up

Re: [systemd-devel] [PATCH 2/2] fsckd daemon for inter-fsckd communication

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 05:06:45PM +0100, Didier Roche wrote: +typedef struct Clients { +struct Manager *manager; +int fd; +dev_t devnum; +size_t cur; +size_t max; +int pass; +double percent; +size_t buflen; + +

Re: [systemd-devel] [systemd-commits] src/timesync

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 06:10:40PM +0100, Lennart Poettering wrote: On Wed, 04.02.15 17:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 04, 2015 at 08:06:44AM -0800, Lennart Poettering wrote: src/timesync/timesyncd-manager.c |4 ++-- 1 file changed, 2

Re: [systemd-devel] [systemd-commits] src/timesync

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 18:18, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 04, 2015 at 06:10:40PM +0100, Lennart Poettering wrote: On Wed, 04.02.15 17:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Feb 04, 2015 at 08:06:44AM -0800, Lennart

[systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Martin Pitt
Hello all, a little while ago, Jon Severinsson wrote a sysv generator optimization to not go through all the parsing of init.d scripts and creation of units if there already is a native unit for that name. As they are put into generator.late they would be ignored anyway. This is particularly

Re: [systemd-devel] dynamic uid allocation (was: [PATCH] loopback setup in unprivileged containers)

2015-02-04 Thread Daniel P. Berrange
On Tue, Feb 03, 2015 at 06:05:00PM +0100, Lennart Poettering wrote: On Tue, 03.02.15 16:34, Serge Hallyn (serge.hal...@ubuntu.com) wrote: the UID/GID on entire filesystem sub-trees given to containers with userns is a real unpleasant thing to have to deal with. I'd not want Of

Re: [systemd-devel] test-capabilities fail and systemd-timesyncd broken

2015-02-04 Thread Daniel Buch
Okay, Tom fixed this with 057255fbbf2ecb1c46e025b04087fa9340d9880d. 2015-02-03 21:50 GMT+01:00 Daniel Buch boogiewasth...@gmail.com: Hi, This commit 51ddf61540976fc7b09ce5 solved systemd-resolved, but broke systemd-timesyncd. Atleast on my system. dbuch@dbuch-laptop ~ % lscpu | grep -i

[systemd-devel] [PATCH] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. --- src/sysctl/sysctl.c | 34 ++ 1 file changed, 18

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Michael Biebl
2015-02-04 13:42 GMT+01:00 Lennart Poettering lenn...@poettering.net: Hello all, a little while ago, Jon Severinsson wrote a sysv generator optimization to not go through all the parsing of init.d scripts and creation of units if there already is a native unit for that name. As they are put

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Uoti Urpala
On Wed, 2015-02-04 at 15:06 +0100, Martin Pitt wrote: Lennart Poettering [2015-02-04 13:42 +0100]: Well, but their enablement status so far is not ignored. i.e. if you drop in a unit file, as well as a sysv script, and the latter is enabled, but the former not, then systemd currently reads

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Uoti Urpala
On Wed, 2015-02-04 at 19:36 +0100, Lennart Poettering wrote: On Wed, 04.02.15 20:19, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: You're missing an essential point here: there's a distinction between skipping reloads for services which have not not been dispatched, and skipping reloads for

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 20:19, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: On Wed, 2015-02-04 at 16:38 +0100, Lennart Poettering wrote: On Wed, 04.02.15 15:25, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-02-04 13:27 +0100]: On Wed, 04.02.15 08:56, Martin Pitt

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 21:26, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: On Wed, 2015-02-04 at 15:06 +0100, Martin Pitt wrote: Lennart Poettering [2015-02-04 13:42 +0100]: Well, but their enablement status so far is not ignored. i.e. if you drop in a unit file, as well as a sysv script, and

Re: [systemd-devel] [PATCH] Avoid reloading services when shutting down

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 22:25, Reindl Harald (h.rei...@thelounge.net) wrote: Am 04.02.2015 um 21:57 schrieb Lennart Poettering: OK, let's try this again, with an example: a) you have one service mydaemon.service b) you have a preparation service called mydaemon-convert-config.service that

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 22:10, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: On Wed, 2015-02-04 at 19:36 +0100, Lennart Poettering wrote: On Wed, 04.02.15 20:19, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: You're missing an essential point here: there's a distinction between skipping reloads

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Uoti Urpala
On Wed, 2015-02-04 at 22:02 +0100, Lennart Poettering wrote: On Wed, 04.02.15 21:26, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: Isn't this change also relevant to the creation of .wants symlinks, and avoiding generating .wants links from the wrong targets? As in, the case where you

Re: [systemd-devel] [PATCH] Avoid reloading services when shutting down

2015-02-04 Thread Reindl Harald
Am 04.02.2015 um 21:57 schrieb Lennart Poettering: OK, let's try this again, with an example: a) you have one service mydaemon.service b) you have a preparation service called mydaemon-convert-config.service that takes config from somewhere, converts it into a suitable format for

Re: [systemd-devel] [PATCH] Avoid reloading services when shutting down

2015-02-04 Thread Reindl Harald
Am 04.02.2015 um 22:31 schrieb Lennart Poettering: On Wed, 04.02.15 22:25, Reindl Harald (h.rei...@thelounge.net) wrote: Am 04.02.2015 um 21:57 schrieb Lennart Poettering: OK, let's try this again, with an example: a) you have one service mydaemon.service b) you have a preparation service

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Uoti Urpala
On Wed, 2015-02-04 at 21:57 +0100, Lennart Poettering wrote: OK, let's try this again, with an example: a) you have one service mydaemon.service b) you have a preparation service called mydaemon-convert-config.service that takes config from somewhere, converts it into a suitable

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 15:06, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey, Lennart Poettering [2015-02-04 13:42 +0100]: Well, but their enablement status so far is not ignored. i.e. if you drop in a unit file, as well as a sysv script, and the latter is enabled, but the former not, then

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 22:01, Lennart Poettering (lenn...@poettering.net) wrote: On Wed, 04.02.15 15:06, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey, Lennart Poettering [2015-02-04 13:42 +0100]: Well, but their enablement status so far is not ignored. i.e. if you drop in a unit

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2015-02-04 Thread Michael Biebl
[grr, accidentally dropped the mailing list on my previous reply] 2015-02-04 21:48 GMT+01:00 Lennart Poettering lenn...@poettering.net: On Wed, 04.02.15 21:15, Michael Biebl (mbi...@gmail.com) wrote: 2015-02-04 2:12 GMT+01:00 Lennart Poettering lenn...@poettering.net: On Wed, 04.02.15 02:05,

Re: [systemd-devel] slow systemd-networkd DHCP client on wlan0 with systemd v217

2015-02-04 Thread Tom Gundersen
On Wed, Feb 4, 2015 at 2:41 PM, Patrik Flykt patrik.fl...@linux.intel.com wrote: Hi, On Tue, 2015-02-03 at 17:27 +0100, Lennart Poettering wrote: Is the resume event detected somehow in systemd? The kernel unfortunately provides no API for this right now. However, if logind is the

Re: [systemd-devel] systemd-networkd not discovering all devices at bootup, and thus no network is configured

2015-02-04 Thread Keller, Jacob E
Hi again, On Tue, 2015-02-03 at 19:00 +, Keller, Jacob E wrote: Hey, I've recently been using systemd-networkd to great success on a few of my machines here. However I ran into an interesting problem on at least 2 machines so far. I've included the output of journal for

[systemd-devel] systemd-nspawn create container under unprivileged user

2015-02-04 Thread Vasiliy Tolstov
Hello! Does it possible to create container as regular user? Oh what capabilities i need to add to create container not using root? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru ___ systemd-devel mailing list

Re: [systemd-devel] Restart sequence: systemctl restart rsyslog.service syslog.socket often/sometimes fails

2015-02-04 Thread Peter Valdemar Mørch
Thank you Lennart for your explanation about the enqueuing. Sounds reasonable. And helps me understand! :-) Here I reply to you a little out of order: On Wed, Feb 4, 2015 at 2:34 PM, Lennart Poettering lenn...@poettering.net wrote: This is something that can be fixed by adding stricter deps

Re: [systemd-devel] [PATCHv2] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 03:50:01PM +0100, Umut Tezduyar Lindskog wrote: not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. ---

[systemd-devel] [PATCH 2/2] fsckd daemon for inter-fsckd communication

2015-02-04 Thread Didier Roche
From 74291bace60f64efb96287f8170df4c38058cc46 Mon Sep 17 00:00:00 2001 From: Didier Roche didro...@ubuntu.com Date: Wed, 4 Feb 2015 16:42:47 +0100 Subject: [PATCH 2/2] fsckd daemon for inter-fsckd communication Add systemd-fsckd multiplexer which accepts multiple systemd-fsck instances to

[systemd-devel] [PATCH 1/2] Add sd_event_loop_timeout to sd_event

2015-02-04 Thread Didier Roche
Hey, I rewrote a version of this patch including the feedback on the list. As per IRC discussion, (and after giving up the busy loop for a rewrite with epool), I did rebase it again on sd_event. I'm only proposing there up for review the 2 first patches (without plymouth communication,

[systemd-devel] [PATCHv2 3/4] systemctl: cat, edit: further polish error messages

2015-02-04 Thread Ivan Shapovalov
--- src/systemctl/systemctl.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 567b467..384ae02 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4578,7 +4578,7 @@ static

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 09:53:20PM +0100, Michael Biebl wrote: [grr, accidentally dropped the mailing list on my previous reply] 2015-02-04 21:48 GMT+01:00 Lennart Poettering lenn...@poettering.net: On Wed, 04.02.15 21:15, Michael Biebl (mbi...@gmail.com) wrote: 2015-02-04 2:12 GMT+01:00

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Jóhann B. Guðmundsson
On 02/04/2015 09:20 PM, Lennart Poettering wrote: On Wed, 04.02.15 22:01, Lennart Poettering (lenn...@poettering.net) wrote: On Wed, 04.02.15 15:06, Martin Pitt (martin.p...@ubuntu.com) wrote: Hey, Lennart Poettering [2015-02-04 13:42 +0100]: Well, but their enablement status so far

[systemd-devel] [PATCHv2 4/4] systemctl: unit_find_paths(): unify error handling in two code pathes

2015-02-04 Thread Ivan Shapovalov
--- src/systemctl/systemctl.c | 63 ++- 1 file changed, 35 insertions(+), 28 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 384ae02..2d70ff1 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c

[systemd-devel] [PATCHv2 2/4] systemctl: cat: fix error handling

2015-02-04 Thread Ivan Shapovalov
- correctly check for local vs. remote transport - return after receiving error from expand_names() --- src/systemctl/systemctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 083b618..567b467 100644 ---

[systemd-devel] [PATCHv2 1/4] systemctl: cat, edit: improve unit load error reporting

2015-02-04 Thread Ivan Shapovalov
- report actual load error for units which could not be loaded - make unit_find_paths() report all kinds of errors it encounters (for consistency) - consistently handle not-found errors in cat() and edit() --- src/systemctl/systemctl.c | 54 +++ 1

Re: [systemd-devel] bug 88401 / daemon-reload causes Type=oneshot services to be re-started / path_coldplug() is non-deserialization-aware

2015-02-04 Thread Ivan Shapovalov
On 2015-01-28 at 22:29 +0300, Ivan Shapovalov wrote: On 2015-01-28 at 20:15 +0100, Lennart Poettering wrote: On Sun, 18.01.15 04:21, Ivan Shapovalov (intelfx...@gmail.com) wrote: Hi folks, I'm trying to fix this bug: https://bugs.freedesktop.org/show_bug.cgi?id=88401 The

Re: [systemd-devel] Container, private network and socket activation

2015-02-04 Thread Mikhail Morfikov
That indicates that the systemd or apache inside the container do not correctly make use of the the socket passed into them. You need to make sure that inside the container you have pretty much the same .socket unit running as on the host. The ListStream lines must be identical, so that

Re: [systemd-devel] Mediacast to TV - MiracleCast - Open-Source Miracast - Wifi-Display on linux

2015-02-04 Thread Dan Williams
On Wed, 2015-02-04 at 00:47 +0100, poma wrote: On 03.02.2015 18:43, David Herrmann wrote: Hi On Tue, Feb 3, 2015 at 6:36 PM, poma pomidorabelis...@gmail.com wrote: On 02.02.2015 19:58, David Herrmann wrote: As I'm not really interested in hacking on network-managers, I've decided to

Re: [systemd-devel] [PATCH] hwdb: Bind toolbox buttons to the Windows key

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 04, 2015 at 06:46:10PM +0100, Bastien Nocera wrote: One would expect pressing the button to go to an overview / show applications mode, we thus map it to leftmeta, the Windows key. See https://bugzilla.gnome.org/show_bug.cgi?id=658602#c17 Applied. Zbyszek

Re: [systemd-devel] [PATCHv2 1/4] systemctl: cat, edit: improve unit load error reporting

2015-02-04 Thread Zbigniew Jędrzejewski-Szmek
Looks good. Pushed all four. Zbyszek On Thu, Feb 05, 2015 at 01:56:57AM +0300, Ivan Shapovalov wrote: - report actual load error for units which could not be loaded - make unit_find_paths() report all kinds of errors it encounters (for consistency) - consistently handle not-found errors in

[systemd-devel] udev rules fails to set attribute on boot on CentOS 6.6

2015-02-04 Thread Angelos Ching
Hi guys, I'm not exactly sure if I'm asking the right question in the right place, please let me know if this is not the right place for this question. I'm setting up SR-IOV for my Intel I350 igb on CentOS 6.6 (2.6.32-504.el6.x86_64, udev 147) using udev. I have modified a rule I used in

Re: [systemd-devel] DefaultDependencies=false on scopes

2015-02-04 Thread Lennart Poettering
On Tue, 03.02.15 21:03, Brandon Philips (bran...@ifup.co) wrote: Hey Lennart- On Tue, Feb 3, 2015 at 10:32 AM, Brandon Philips bran...@ifup.co wrote: On Tue, Feb 3, 2015 at 10:20 AM, Lennart Poettering lenn...@poettering.net wrote: I have added DefaultDependencies= for you now:

Re: [systemd-devel] [PATCH] Make seccomp protections in systemd-nspawn optional

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 02:21, Jay Faulkner (j...@jvf.cc) wrote: I am not particularly fond of the idea of adding a completely new command line option for this though. Maybe we can find another way for this. For example, one option could be to split the seccomp syscall blacklist in two:

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 10:08, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, a little while ago, Jon Severinsson wrote a sysv generator optimization to not go through all the parsing of init.d scripts and creation of units if there already is a native unit for that name. As they are put

Re: [systemd-devel] Container, private network and socket activation

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 04:40, Mikhail Morfikov (mmorfi...@gmail.com) wrote: 1. When I try to connect for the very first time, I get a timeout, even though the container is working. I can cancel the connection immediately, and reconnect after 2-3 sec and then the page shows up. All subsequent

Re: [systemd-devel] [PATCH] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 10:43, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. Looks

[systemd-devel] Restart sequence: systemctl restart rsyslog.service syslog.socket often/sometimes fails

2015-02-04 Thread Peter Valdemar Mørch
First: Please let me know if this is an inappropriate place to ask this # systemctl restart syslog.socket rsyslog.service seems to always work. But # systemctl restart rsyslog.service syslog.socket , the opposite sequence, seems to sometimes fail (details below). I'm wondering: Why is that?

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 08:56, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-02-03 21:40 +0100]: It's really about synchronous waiting on jobs. If you synchronously wait for completion of jobs that are ordered against the job your are part of yourself, then things will

Re: [systemd-devel] Restart sequence: systemctl restart rsyslog.service syslog.socket often/sometimes fails

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 11:13, Peter Valdemar Mørch (pe...@morch.com) wrote: First: Please let me know if this is an inappropriate place to ask this # systemctl restart syslog.socket rsyslog.service seems to always work. But # systemctl restart rsyslog.service syslog.socket , the opposite

Re: [systemd-devel] slow systemd-networkd DHCP client on wlan0 with systemd v217

2015-02-04 Thread Patrik Flykt
Hi, On Tue, 2015-02-03 at 17:27 +0100, Lennart Poettering wrote: Is the resume event detected somehow in systemd? The kernel unfortunately provides no API for this right now. However, if logind is the one suspending the machine, then it sends out a PrepareForSleep() signal before

Re: [systemd-devel] [PATCH] sysv-generator: Skip init scripts for existing native services

2015-02-04 Thread Martin Pitt
Hey, Lennart Poettering [2015-02-04 13:42 +0100]: Well, but their enablement status so far is not ignored. i.e. if you drop in a unit file, as well as a sysv script, and the latter is enabled, but the former not, then systemd currently reads that so that the sysv one is overriden by the

Re: [systemd-devel] What's the correct way to configure encrypted volume and mount point?

2015-02-04 Thread John Lane
On 02/02/15 20:49, Lennart Poettering wrote: BTW, just to mention this. You can also just write: # systemctl start /home/myuser/data That's good to know, thanks. This will automatically be translated to home-myuser-data.mount. systemctl has some logic built in to translate strings that

Re: [systemd-devel] Deadlocks with reloading jobs which are part of current transaction [was: [PATCH] Avoid reloading services when shutting down]

2015-02-04 Thread Martin Pitt
Lennart Poettering [2015-02-04 13:27 +0100]: On Wed, 04.02.15 08:56, Martin Pitt (martin.p...@ubuntu.com) wrote: Lennart Poettering [2015-02-03 21:40 +0100]: It's really about synchronous waiting on jobs. If you synchronously wait for completion of jobs that are ordered against the job

Re: [systemd-devel] /proc and /sys get unmounted during boot from NFS, which results in boot error

2015-02-04 Thread Olaf Leidinger
Hey! Maybe something from your initrd is acting weird? As far as I can tell, nothing from the initrd is running. It's basically ArchLinux's mkinitcpio run on gentoo - thus, pretty standard stuff. It might be interesting to strace PID 1 while you are doing this. And if that doesn't help

[systemd-devel] [PATCHv2] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. --- src/sysctl/sysctl.c | 32 1 file changed, 16

Re: [systemd-devel] [ANNOUNCE] systemd v218

2015-02-04 Thread Simon McVittie
On 03/02/15 23:43, Lennart Poettering wrote: The way I understand /usr/local, it is the place where the admin himself places his own scripts and stuff, as extensions for the host OS. Yes, that view is consistent with the FHS (and e.g. Debian Policy's interpretation of the FHS). ./configure

Re: [systemd-devel] Restart sequence: systemctl restart rsyslog.service syslog.socket often/sometimes fails

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 15:53, Peter Valdemar Mørch (pe...@morch.com) wrote: On Wed, Feb 4, 2015 at 2:34 PM, Lennart Poettering lenn...@poettering.net wrote: This is something that can be fixed by adding stricter deps between the service and the socket, so that the socket is always required to

Re: [systemd-devel] /proc and /sys get unmounted during boot from NFS, which results in boot error

2015-02-04 Thread Lennart Poettering
On Wed, 04.02.15 15:29, Olaf Leidinger (ol...@mescharet.de) wrote: Hey! Maybe something from your initrd is acting weird? As far as I can tell, nothing from the initrd is running. It's basically ArchLinux's mkinitcpio run on gentoo - thus, pretty standard stuff. ps should tell you what