Re: [systemd-devel] [PATCH 0/3] avoid running fsck twice

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 05, 2015 at 10:51:53AM +0200, Harald Hoyer wrote: On 02.05.2015 19:16, Zbigniew Jędrzejewski-Szmek wrote: This is an attempt to fix the issue with fsck running twice. Patch 3/3 is the only important one, the other two are nice-to-have. dracut configuration also has to be

Re: [systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 05, 2015 at 10:48:48AM +0200, Harald Hoyer wrote: On 03.05.2015 17:33, Zbigniew Jędrzejewski-Szmek wrote: On Sun, May 03, 2015 at 06:06:58PM +0300, Andrei Borzenkov wrote: В Sun, 3 May 2015 16:17:15 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sat, 02.05.15

Re: [systemd-devel] [PATCH] shared/utmp-wtmp: fix copy/paste error

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 30, 2015 at 08:28:37PM +0200, Michael Olbrich wrote: --- src/shared/utmp-wtmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h index 6ac2c7b1c768..5d26ba6fb1d0 100644 --- a/src/shared/utmp-wtmp.h +++

Re: [systemd-devel] Don't allow to restart emergency.service/rescue.service

2015-05-05 Thread Cameron Norman
On Mon, May 4, 2015 at 5:54 AM, Michael Biebl mbi...@gmail.com wrote: 2015-05-04 14:49 GMT+02:00 Michael Biebl mbi...@gmail.com: Since emergency.service has KillMode=process the running bash kept running, and the result was an unusable system. Btw, what's the reason for using

Re: [systemd-devel] [PATCH] treewide: fix typos

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 30, 2015 at 11:57:09AM +0200, Torstein Husebø wrote: --- man/systemd.unit.xml| 2 +- src/import/export-tar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Applied. Zbyszek ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] Patches for lockfile code

2015-05-05 Thread Colin Walters
On Tue, May 5, 2015, at 11:15 PM, Zbigniew Jędrzejewski-Szmek wrote: On Mon, May 04, 2015 at 08:57:56PM -0400, Colin Walters wrote: I'm planning to use the code in ostree (via libglnx), here's a few minor patches for systemd's lockfile code. 1/3 is useful, applied. 2/3 is OK, but is

Re: [systemd-devel] [PATCH] tmpfiles: try to handle read-only file systems gracefully

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 30, 2015 at 08:50:38PM +0200, Michael Olbrich wrote: On read-only filesystems trying to create the target will not fail with EEXIST but with EROFS. Handle EROFS by checking if the target already exists, and if empty when truncating. This avoids reporting errors if tmpfiles doesn't

Re: [systemd-devel] [PATCH] udev: Restore udevadm settle timeout

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Apr 20, 2015 at 10:33:48AM +0200, David Herrmann wrote: Hi On Sat, Apr 11, 2015 at 9:38 PM, Nir Soffer nir...@gmail.com wrote: On Sat, Apr 11, 2015 at 1:36 PM, David Herrmann dh.herrm...@gmail.com wrote: @@ -139,6 +142,9 @@ static int adm_settle(struct udev *udev, int argc,

Re: [systemd-devel] [PATCH] Patches for lockfile code

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 05, 2015 at 11:28:26PM -0400, Colin Walters wrote: On Tue, May 5, 2015, at 11:15 PM, Zbigniew Jędrzejewski-Szmek wrote: On Mon, May 04, 2015 at 08:57:56PM -0400, Colin Walters wrote: I'm planning to use the code in ostree (via libglnx), here's a few minor patches for

Re: [systemd-devel] [PATCH] Patches for lockfile code

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Mon, May 04, 2015 at 08:57:56PM -0400, Colin Walters wrote: I'm planning to use the code in ostree (via libglnx), here's a few minor patches for systemd's lockfile code. 1/3 is useful, applied. 2/3 is OK, but is useless on it's own. 3/3 makes the code uglier, without other benefits ;) It

Re: [systemd-devel] Supporting ExecStartPre= and friends in `systemctl set-property` or `systemd-run -p`

2015-05-05 Thread Ivan Shapovalov
On 2015-04-24 at 11:10 +0200, Lennart Poettering wrote: On Fri, 24.04.15 04:07, Ivan Shapovalov (intelfx...@gmail.com) wrote: - do `systemd-run` twice and somehow set up the dependencies between two transient units I'd be happy to take a patch that allows configuring deps for

[systemd-devel] [PATCH] Generate a fake systemd-fsck-root.service in the initramfs

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
In the initramfs, we run systemd-fsck@sysroot-device.service. In the real system we run systemd-fsck-root.service. Generate a fake systemd-fsck-root.service if we are running a unit check for the root file system. We don't really care if the real fsck unit fails, because the failure will be

Re: [systemd-devel] Don't allow to restart emergency.service/rescue.service

2015-05-05 Thread Cameron Norman
On Tue, May 5, 2015 at 4:47 PM, Cameron Norman camerontnor...@gmail.com wrote: On Mon, May 4, 2015 at 5:54 AM, Michael Biebl mbi...@gmail.com wrote: 2015-05-04 14:49 GMT+02:00 Michael Biebl mbi...@gmail.com: Since emergency.service has KillMode=process the running bash kept running, and the

Re: [systemd-devel] [PATCH] tmpfiles: remember errno before it might be overwritten

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Apr 30, 2015 at 08:34:56PM +0200, Michael Olbrich wrote: --- I'm not sure if this is really necessary right now, but that might change in the future. Saving errno before calling another function is always a good idea. It's one of those functions which explicitly do not modify errno.

Re: [systemd-devel] Sending a SIGABRT to PID1

2015-05-05 Thread Mantas Mikulėnas
On Mon, May 4, 2015 at 3:40 AM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 03.05.15 19:10, Mantas Mikulėnas (graw...@gmail.com) wrote: On Sun, May 3, 2015 at 6:54 PM, Víctor Fernández vfr...@gmail.com wrote: Ok, Thanks for your reply. But, just out of curiosity, why

Re: [systemd-devel] [PATCH] Add VARIANT as a standard value for /etc/os-release

2015-05-05 Thread Stephen Gallagher
- Original Message - From: Lennart Poettering lenn...@poettering.net To: Stephen Gallagher sgall...@redhat.com Sent: Tuesday, May 5, 2015 10:13:35 AM Subject: Re: [systemd-devel] [PATCH] Add VARIANT as a standard value for /etc/os-release On Tue, 05.05.15 08:52, Stephen

Re: [systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-05 Thread Harald Hoyer
On 05.05.2015 15:24, Zbigniew Jędrzejewski-Szmek wrote: On Tue, May 05, 2015 at 10:48:48AM +0200, Harald Hoyer wrote: On 03.05.2015 17:33, Zbigniew Jędrzejewski-Szmek wrote: On Sun, May 03, 2015 at 06:06:58PM +0300, Andrei Borzenkov wrote: В Sun, 3 May 2015 16:17:15 +0200 Lennart Poettering

Re: [systemd-devel] bus connection

2015-05-05 Thread Lennart Poettering
On Tue, 05.05.15 13:19, Michał Zegan (webczat_...@poczta.onet.pl) wrote: How can I make bus connections using libsystemd and can I actually use them, or is it in development? The API is not public yet, for details see: http://lists.freedesktop.org/archives/systemd-devel/2015-April/031363.html

Re: [systemd-devel] Don't allow to restart emergency.service/rescue.service

2015-05-05 Thread Michael Biebl
Any thoughts? 2015-05-04 14:54 GMT+02:00 Michael Biebl mbi...@gmail.com: 2015-05-04 14:49 GMT+02:00 Michael Biebl mbi...@gmail.com: Since emergency.service has KillMode=process the running bash kept running, and the result was an unusable system. Btw, what's the reason for using

[systemd-devel] [PATCH] fix permissions on /run/systemd/nspawn/locks

2015-05-05 Thread Seth Jennings
machined is getting an EACCES when trying to create the lock file for images because the mode on /run/systemd/nspawn/locks is 0600. mkdir(/run/systemd/nspawn/locks, 0600) = -1 EEXIST (File exists) stat(/run/systemd/nspawn/locks, {st_mode=S_IFDIR|0600, st_size=40, ...}) = 0

Re: [systemd-devel] [PATCH] fix permissions on /run/systemd/nspawn/locks

2015-05-05 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1430850661-13868-1-git-send-email-sjenning%40redhat.com -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel

Re: [systemd-devel] [PATCH] Add VARIANT as a standard value for /etc/os-release

2015-05-05 Thread David Herrmann
Hi On Tue, May 5, 2015 at 4:15 PM, Stephen Gallagher sgall...@redhat.com wrote: - Original Message - From: Lennart Poettering lenn...@poettering.net To: Stephen Gallagher sgall...@redhat.com Sent: Tuesday, May 5, 2015 10:13:35 AM Subject: Re: [systemd-devel] [PATCH] Add VARIANT as

Re: [systemd-devel] [PATCH 3/3] bootctl: print machine and boot ids in status

2015-05-05 Thread systemd github import bot
Patchset imported to github. Pull request: https://github.com/systemd-devs/systemd/compare/master...systemd-mailing-devs:1430802961-31021-3-git-send-email-zbyszek%40in.waw.pl -- Generated by https://github.com/haraldh/mail2git ___ systemd-devel mailing

Re: [systemd-devel] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-05 Thread Harald Hoyer
On 03.05.2015 17:33, Zbigniew Jędrzejewski-Szmek wrote: On Sun, May 03, 2015 at 06:06:58PM +0300, Andrei Borzenkov wrote: В Sun, 3 May 2015 16:17:15 +0200 Lennart Poettering lenn...@poettering.net пишет: On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: So,

Re: [systemd-devel] [PATCH 0/3] avoid running fsck twice

2015-05-05 Thread Harald Hoyer
On 02.05.2015 19:16, Zbigniew Jędrzejewski-Szmek wrote: This is an attempt to fix the issue with fsck running twice. Patch 3/3 is the only important one, the other two are nice-to-have. dracut configuration also has to be modified to include /bin/touch. I'll work on a patch for that later.

Re: [systemd-devel] networkd: dbus API for networkd reconfiguration at run-time

2015-05-05 Thread Rauta, Alin
Hi guys, Any updates on this one ? Thanks, Alin From: Rauta, Alin Sent: Thursday, April 30, 2015 1:57 PM To: systemd-devel@lists.freedesktop.org; Tom Gundersen; lenn...@poettering.net Cc: Belkind, Nadav Subject: networkd: dbus API for networkd reconfiguration at run-time Hi Tom, Lennart, I have

[systemd-devel] [PATCH] po: Remove src/fsckd/fsckd.c from filelist

2015-05-05 Thread Cristian Rodríguez
Otherwise make check ends in failed state. --- po/POTFILES.in | 1 - 1 file changed, 1 deletion(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 70e7594..b4c1121 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -5,4 +5,3 @@ src/locale/org.freedesktop.locale1.policy.in

Re: [systemd-devel] [PATCH] po: Remove src/fsckd/fsckd.c from filelist

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 05, 2015 at 05:58:30PM -0300, Cristian Rodríguez wrote: Otherwise make check ends in failed state. --- po/POTFILES.in | 1 - 1 file changed, 1 deletion(-) diff --git a/po/POTFILES.in b/po/POTFILES.in index 70e7594..b4c1121 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@

[systemd-devel] bus connection

2015-05-05 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. How can I make bus connections using libsystemd and can I actually use them, or is it in development? -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBAgAGBQJVSKdZAAoJEHb1CzgxXKwY73gP/3tQoRVOF0xviFwBcBPS3LMK