Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-15 Thread Umut Tezduyar Lindskog
Hi, Please review the patch and let us know if anything needs to be changed. It would be nice if we can get this in before 213. Umut On Wed, May 7, 2014 at 8:54 AM, Emil Sjölin emil.sjo...@axis.com wrote: This fix makes sure that the package installation will work on systems using versions of

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-05-15 Thread Umut Tezduyar Lindskog
On Wed, May 14, 2014 at 1:05 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Umut Tezduyar Lindskog at 13/05/14 18:37 did gyre and gimble: On Wednesday, May 7, 2014, Colin Guthrie gm...@colin.guthr.ie mailto:gm...@colin.guthr.ie wrote: 'Twas brillig, and Umut Tezduyar

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 2:30 AM, Andy Kittner andy.kitt...@gmail.com wrote: On 14/05/14 18:33, Lennart Poettering wrote: On Tue, 13.05.14 20:01, Andy Kittner (andy.kitt...@gmail.com) wrote: | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node '/dev/mapper/swap' found, link to

Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-05-15 Thread Jimmy Assarsson
Now I've tested it, and it fixed the problem :) Thanks, Jimmy On Tue, May 13, 2014 at 11:31 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, May 13, 2014 at 07:40:53PM +0200, Umut Tezduyar Lindskog wrote: It is also reproducible by just loosing the carrier on the link. Maybe

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Andy Kittner
On 15/05/14 10:16, Kay Sievers wrote: Are you running an initrd without udev, and/or tools that mess around with mknod in /dev? No, the initrd uses udev and is created by copying cryptsetup etc. including all dependent libraries from the host system. I recreated it yesterday, so there are the

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-15 Thread Tom Gundersen
Hi Umut, Sorry for digging out an old thread, but it appears it has not yet been answered. On Thu, Apr 24, 2014 at 11:15 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: We are starting many services between basic.target - multi-user.target at the same time and due to this we are suffering

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-15 Thread Lennart Poettering
On Wed, 14.05.14 15:12, Ani Sinha (a...@arista.com) wrote: On Wed, May 14, 2014 at 9:14 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 13.05.14 20:16, Ani Sinha (a...@arista.com) wrote: Why precisely would you want to disable propagation from the root dir? The

[systemd-devel] [PATCH] Fix typos in systemctl manpage

2014-05-15 Thread Eelco Dolstra
--- man/systemctl.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/systemctl.xml b/man/systemctl.xml index 94f2380..29ab95f 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -435,7 +435,7 @@ along with systemd; If not, see http://www.gnu.org/licenses/.

Re: [systemd-devel] [PATCH] Fix typos in systemctl manpage

2014-05-15 Thread Tom Gundersen
Applied. Thanks! Tom On Thu, May 15, 2014 at 1:11 PM, Eelco Dolstra eelco.dols...@logicblox.com wrote: --- man/systemctl.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man/systemctl.xml b/man/systemctl.xml index 94f2380..29ab95f 100644 ---

[systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Miroslav Grepl
--- src/login/logind-user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 961cbcb..42946ae 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -337,6 +337,7 @@ static int user_mkdir_runtime_path(User *u) {

Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-05-15 Thread Zbigniew Jędrzejewski-Szmek
On Thu, May 15, 2014 at 10:40:48AM +0200, Jimmy Assarsson wrote: Now I've tested it, and it fixed the problem :) Great, thanks for testing. I'll push it to master then. Zbyszek On Tue, May 13, 2014 at 11:31 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, May 13, 2014 at

[systemd-devel] [PATCH] core: add startup resource control option

2014-05-15 Thread WaLyong Cho
Similar to CPUShares= and BlockIOWeight= respectively. However only assign the specified weight during startup. Each control group attribute is re-assigned as weight by CPUShares=weight and BlockIOWeight=weight after startup. If not CPUShares= or BlockIOWeight= be specified, then the attribute is

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-15 Thread WaLyong Cho
On 05/16/2014 12:09 AM, WaLyong Cho wrote: Similar to CPUShares= and BlockIOWeight= respectively. However only assign the specified weight during startup. Each control group attribute is re-assigned as weight by CPUShares=weight and BlockIOWeight=weight after startup. If not CPUShares= or

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 14:54, Miroslav Grepl (mgr...@redhat.com) wrote: --- src/login/logind-user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 961cbcb..42946ae 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 02:30, Andy Kittner (andy.kitt...@gmail.com) wrote: On 14/05/14 18:33, Lennart Poettering wrote: On Tue, 13.05.14 20:01, Andy Kittner (andy.kitt...@gmail.com) wrote: | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node '/dev/mapper/swap' found, link to

Re: [systemd-devel] inconsistency between hibernate-multiple-sessions and suspend-multiple-sessions

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 02:35, Michael Biebl (mbi...@gmail.com) wrote: 2014-05-15 2:29 GMT+02:00 Michael Biebl mbi...@gmail.com: What's the reason for this inconsistency? Small correction: org.freedesktop.login1.power-off-multiple-sessions org.freedesktop.login1.reboot-multiple-sessions

Re: [systemd-devel] Journal rotation and notifying users

2014-05-15 Thread Lennart Poettering
On Wed, 14.05.14 13:03, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hiya, I recently had a rather unfortunate crash on my home system. One of the disks failed and for some reason or another, it logged a lot of data. As I don't have *that* much space for journal files (~800Mb) the logs

Re: [systemd-devel] [PATCH] network: fix build failure, missing KMOD_XXX flags

2014-05-15 Thread Lennart Poettering
On Tue, 13.05.14 19:35, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Quite frankly, I'd much rather see the kmod logic remvoed from netword entirely... We shouldn't work around kernel brokeness... Please try to follow the usual identation style of the code, in this case, please always

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Miroslav Grepl
On 05/15/2014 06:24 PM, Lennart Poettering wrote: On Thu, 15.05.14 14:54, Miroslav Grepl (mgr...@redhat.com) wrote: --- src/login/logind-user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 961cbcb..42946ae 100644 ---

Re: [systemd-devel] [PATCH] network: fix build failure, missing KMOD_XXX flags

2014-05-15 Thread Tom Gundersen
On Thu, May 15, 2014 at 6:52 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 13.05.14 19:35, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Quite frankly, I'd much rather see the kmod logic remvoed from netword entirely... We shouldn't work around kernel brokeness...

Re: [systemd-devel] [PATCH] Reset the context of /run/user/UID to the default. Bug #1097901.

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 18:54, Miroslav Grepl (mgr...@redhat.com) wrote: u-runtime_path = p; return 0; @@ -423,7 +424,9 @@ int user_start(User *u) { log_debug(New user %s logged in., u-name); /* Make XDG_RUNTIME_DIR */ +label_init(/var/run/user);

[systemd-devel] [PATCH] RFC/fsck: Allow to specify the fsck repair option in the cmdline

2014-05-15 Thread Holger Freyther
From: Holger Hans Peter Freyther hol...@moiji-mobile.com Some unattended systems do not have a console attached and entering the default rescue mode will not be too helpful. Allow to specify the -y option to attempt to fix all filesystem errors. Manually verified by downloading an image.gz of

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-15 Thread Ani Sinha
On Thu, May 15, 2014 at 3:25 AM, Lennart Poettering lenn...@poettering.net wrote: How do you propose softwares fix that? Note that systemd itself can do pivot_root() for you. See systemctl switch-root. Isn't that enough for your needs? If not, please have a look how it is implemented in

Re: [systemd-devel] [PATCH] RFC/fsck: Allow to specify the fsck repair option in the cmdline

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 19:07, Holger Freyther (hol...@freyther.de) wrote: From: Holger Hans Peter Freyther hol...@moiji-mobile.com Some unattended systems do not have a console attached and entering the default rescue mode will not be too helpful. Allow to specify the -y option to attempt to fix

Re: [systemd-devel] remounting root fs outside containers as MS_SHARED

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 10:22, Ani Sinha (a...@arista.com) wrote: Note that systemd itself can do pivot_root() for you. See systemctl switch-root. Isn't that enough for your needs? If not, please have a look how it is implemented in systemd:

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Lennart Poettering
On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: Two device Btrfs volume, with one device missing (simulated) will not boot, even with rootflags=degraded set which is currently required to enable Btrfs degraded mounts. Upon reaching a dracut shell after basic.target fails

Re: [systemd-devel] [PATCH] timer: allow user to control activation time of cron-like timers

2014-05-15 Thread Lennart Poettering
On Sun, 11.05.14 18:33, Reindl Harald (h.rei...@thelounge.net) wrote: It's ok for one timer, but not for the set of them. In general I'm want to schedule all maintenance tasks to 5 a.m. or lunch break and forget about them. This applies both for distro provided timers an my own that's

Re: [systemd-devel] [PATCH] RFC/fsck: Allow to specify the fsck repair option in the cmdline

2014-05-15 Thread Holger Freyther
Lennart Poettering lennart at poettering.net writes: the -y option to attempt to fix all filesystem errors. Hmm, we already unconditionally pass -a to fsck, which should have the desired effect of non-interactively fixing everything. What does your patch add on top of that? fsck.ext4(8)

Re: [systemd-devel] list-boots is incorrect, was: lost journal persistence

2014-05-15 Thread Chris Murphy
On May 12, 2014, at 9:58 AM, Chris Murphy li...@colorremedies.com wrote: On May 12, 2014, at 7:06 AM, Kirill Elagin kirela...@gmail.com wrote: Could it be that all the boot ids are actually the same for some reason? I had this issue in a container when systemd was reading boot_id from

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: Two device Btrfs volume, with one device missing (simulated) will not boot, even with rootflags=degraded set which is currently required to

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Goffredo Baroncelli
On 05/15/2014 08:16 PM, Lennart Poettering wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: [...] So, as it turns out there's no kernel APi available to check whether a btrfs raid array

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Chris Murphy
On May 15, 2014, at 12:16 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: Two device Btrfs volume, with one device missing (simulated) will

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 10:57 PM, Goffredo Baroncelli kreij...@libero.it wrote: On 05/15/2014 08:16 PM, Lennart Poettering wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: [...] So, as it

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Andy Kittner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 15/05/14 18:27, Lennart Poettering wrote: Well, something appears to create your device nodes, and it shouldn't do that... On a udev system userspace never creates any device nodes, that's done on its own by the kernel via devtmpfs, udev

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 10:57 PM, Chris Murphy li...@colorremedies.com wrote: On May 15, 2014, at 12:16 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Kay Sievers
On Thu, May 15, 2014 at 11:15 PM, Andy Kittner andy.kitt...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 15/05/14 18:27, Lennart Poettering wrote: Well, something appears to create your device nodes, and it shouldn't do that... On a udev system userspace never

Re: [systemd-devel] [PATCH] timer: allow user to control activation time of cron-like timers

2014-05-15 Thread Lennart Poettering
On Sun, 11.05.14 20:08, David Timothy Strauss (da...@davidstrauss.net) wrote: On Sun, May 11, 2014 at 9:30 AM, Alex B pkunk...@gmail.com wrote: It's ok for one timer, but not for the set of them. In general I'm want to schedule all maintenance tasks to 5 a.m. or lunch break and forget

Re: [systemd-devel] [PATCH 1/1] build-sys: build gummiboot executable only if HAVE_BLKID

2014-05-15 Thread Kay Sievers
On Wed, May 14, 2014 at 11:10 AM, Kang Hu hukangu...@gmail.com wrote: src/setup/setup.c depends on blkid library. so build gummiboot binary only if blkid library is available. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] test-kdbus: fixed unterminated string

2014-05-15 Thread Kay Sievers
On Mon, May 12, 2014 at 3:35 PM, Jacek Janczyk j.janc...@samsung.com wrote: Unterminated string array is used to populate random bus name in check_prepare_env(). Added proper termination. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] timer: allow user to control activation time of cron-like timers

2014-05-15 Thread Lennart Poettering
On Sun, 11.05.14 19:53, Alexander Bashmakov (pkunk...@gmail.com) wrote: I am not convinced that this is really desirable. daily is just a short way to write *-*-* 00:00:00. And if that is not desirable, then I'd just recommend writing *-*-* 05:00:00... I am not convinced we should allow

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Chris Murphy
On May 15, 2014, at 2:57 PM, Goffredo Baroncelli kreij...@libero.it wrote: On 05/15/2014 08:16 PM, Lennart Poettering wrote: On Thu, 15.05.14 19:29, Lennart Poettering (lenn...@poettering.net) wrote: On Mon, 12.05.14 20:48, Chris Murphy (li...@colorremedies.com) wrote: [...] So, as it

Re: [systemd-devel] list-boots is incorrect, was: lost journal persistence

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 12:01, Chris Murphy (li...@colorremedies.com) wrote: On May 12, 2014, at 9:58 AM, Chris Murphy li...@colorremedies.com wrote: On May 12, 2014, at 7:06 AM, Kirill Elagin kirela...@gmail.com wrote: Could it be that all the boot ids are actually the same for some

Re: [systemd-devel] lost journal persistence

2014-05-15 Thread Lennart Poettering
On Sat, 10.05.14 18:02, Chris Murphy (li...@colorremedies.com) wrote: So I thought maybe the flush is happening to /var before var subvolume is mounted there, but that's not the case; the reason why it's not empty is due to dhclient always creating one folder prior to var subvolume mounting

[systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Cristian Rodríguez
timesyncd requires networkd running. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 16b689e..a19ca24 100644 --- a/configure.ac +++ b/configure.ac @@ -830,6 +830,8 @@ AC_ARG_ENABLE(timesyncd, AS_HELP_STRING([--disable-timesyncd], [disable

Re: [systemd-devel] networkd: create tun/tap device?

2014-05-15 Thread Lennart Poettering
On Wed, 07.05.14 08:22, Christian Hesse (l...@eworm.de) wrote: Hello everybody, currently it is not possible to create tun/tap device with networkd. Is this feature planned? Anybody working on it? Sounds useful and reasonable. Added to TODO list. Lennart -- Lennart Poettering, Red Hat

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Cristian Rodríguez
El 15/05/14 18:23, Cristian Rodríguez escribió: timesyncd requires networkd running. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 16b689e..a19ca24 100644 --- a/configure.ac +++ b/configure.ac @@ -830,6 +830,8 @@

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-15 Thread Lennart Poettering
On Wed, 07.05.14 08:54, Emil Sjölin (emil.sjo...@axis.com) wrote: This fix makes sure that the package installation will work on systems using versions of 'GNU coreutils' older than 8.16. Please see tools/lnr.sh for limitations for this fix. --- configure.ac | 16 ++

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 18:23, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: timesyncd requires networkd running. It doesn't really Should work either way... --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 16b689e..a19ca24

Re: [systemd-devel] timed out waiting for device dev-disk-by\x2duuid

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 15:54, Chris Murphy (li...@colorremedies.com) wrote: The udev rule right now is asking if all Btrfs member devices are present and it sounds like that answer is no with a missing device; so a mount isn't even attempted by systemd rather than attempting a degraded mount

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Cristian Rodríguez
El 15/05/14 18:34, Lennart Poettering escribió: On Thu, 15.05.14 18:23, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: timesyncd requires networkd running. It doesn't really Should work either way... I tried that a few hours ago.. r = manager_network_monitor_listen(m);

Re: [systemd-devel] list-boots is incorrect, was: lost journal persistence

2014-05-15 Thread Chris Murphy
On May 15, 2014, at 3:55 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 12:01, Chris Murphy (li...@colorremedies.com) wrote: On May 12, 2014, at 9:58 AM, Chris Murphy li...@colorremedies.com wrote: On May 12, 2014, at 7:06 AM, Kirill Elagin kirela...@gmail.com

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Lennart Poettering
On Thu, 15.05.14 19:02, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: El 15/05/14 18:34, Lennart Poettering escribió: On Thu, 15.05.14 18:23, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: timesyncd requires networkd running. It doesn't really Should work either

Re: [systemd-devel] [PATCH] device: Add stub serialization methods to enable job serialization.

2014-05-15 Thread Lennart Poettering
On Tue, 06.05.14 19:08, Michael Marineau (michael.marin...@coreos.com) wrote: If a unit type doesn't provide its own serialization methods then none of the generic serialization will happen either. For devices this means jobs used for waiting on device dependencies are dropped during reloads,

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Kay Sievers
On Fri, May 16, 2014 at 1:20 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 19:02, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: El 15/05/14 18:34, Lennart Poettering escribió: On Thu, 15.05.14 18:23, Cristian Rodríguez (crrodrig...@opensuse.org) wrote:

Re: [systemd-devel] systemd pam and O_CLOEXEC problem

2014-05-15 Thread Lennart Poettering
On Mon, 05.05.14 20:33, dedede gfgfgf trtrtrtrtrtr (s.kabano...@mail.ru) wrote: Hello. During my testing  of systemd pam sessions i discovered that session processes are not deleted automatically when i specify KillUserProcesses=yes in latest versions of systemd. Investigations showed

Re: [systemd-devel] lost journal persistence

2014-05-15 Thread Chris Murphy
On May 15, 2014, at 3:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 10.05.14 18:02, Chris Murphy (li...@colorremedies.com) wrote: So I thought maybe the flush is happening to /var before var subvolume is mounted there, but that's not the case; the reason why it's not

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-15 Thread Lennart Poettering
On Wed, 07.05.14 09:02, Colin Guthrie (gm...@colin.guthr.ie) wrote: 'Twas brillig, and Gerd v. Egidy at 05/05/14 22:17 did gyre and gimble: Secondly, the killing is asynchronous. When looking at http://www.freedesktop.org/software/systemd/man/systemd.service.html I see /bin/kill -HUP

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-15 Thread Lennart Poettering
On Mon, 05.05.14 23:28, Gerd v. Egidy (li...@egidy.de) wrote: Generally, it's not a good idea to keep file locks for a longer period of time... YOu should really just take them while you write a file, and then release them, but not keep them forever... I keep the lock on the pidfile as

Re: [systemd-devel] [PATCH] build: --disable-networkd --enable-timesyncd should throw error

2014-05-15 Thread Cristian Rodríguez
El 15/05/14 19:20, Lennart Poettering escribió: ilure. What's the precise error? Failed to listen to networkd events: No such file or directory) -- Cristian I don't know the key to success, but the key to failure is trying to please everybody.

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Andy Kittner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 15/05/14 23:38, Lennart Poettering wrote: On Thu, 15.05.14 23:15, Andy Kittner (andy.kitt...@gmail.com) wrote: | May 15 22:06:47 pinky systemd[1]: Mounted Runtime Directory. | May 15 22:06:47 pinky systemd[1]: Mounted Lock Directory. This

Re: [systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

2014-05-15 Thread Andy Kittner
On 15/05/14 23:33, Kay Sievers wrote: On Thu, May 15, 2014 at 11:15 PM, Andy Kittner andy.kitt...@gmail.com wrote: What is Mounted Runtime Directory? Is that /run? That must be part of PID1's own early initialization, nothing to run externally. I thought so from the name, but aparently it is

Re: [systemd-devel] [PATCH] timer: allow user to control activation time of cron-like timers

2014-05-15 Thread Zbigniew Jędrzejewski-Szmek
On Thu, May 15, 2014 at 11:51:13PM +0200, Lennart Poettering wrote: On Sun, 11.05.14 19:53, Alexander Bashmakov (pkunk...@gmail.com) wrote: I am not convinced that this is really desirable. daily is just a short way to write *-*-* 00:00:00. And if that is not desirable, then I'd just

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-15 Thread Brandon Black
On Thu, May 15, 2014 at 6:40 PM, Lennart Poettering lenn...@poettering.netwrote: But again, it's generally not a good idea to keep file locks for a longer period of time, much as with mutexes... You don't want to make other apps which try to get an atomic view on the file hang for long. If

Re: [systemd-devel] [PATCH] device: Add stub serialization methods to enable job serialization.

2014-05-15 Thread Michael Marineau
On Thu, May 15, 2014 at 4:24 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 06.05.14 19:08, Michael Marineau (michael.marin...@coreos.com) wrote: If a unit type doesn't provide its own serialization methods then none of the generic serialization will happen either. For devices

Re: [systemd-devel] list-boots is incorrect, was: lost journal persistence

2014-05-15 Thread Zbigniew Jędrzejewski-Szmek
On Thu, May 15, 2014 at 05:19:28PM -0600, Chris Murphy wrote: On May 15, 2014, at 3:55 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 15.05.14 12:01, Chris Murphy (li...@colorremedies.com) wrote: On May 12, 2014, at 9:58 AM, Chris Murphy li...@colorremedies.com

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, May 16, 2014 at 12:30:45AM +0200, Lennart Poettering wrote: On Wed, 07.05.14 08:54, Emil Sjölin (emil.sjo...@axis.com) wrote: This fix makes sure that the package installation will work on systems using versions of 'GNU coreutils' older than 8.16. Please see tools/lnr.sh for