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 пишет: >> >>> On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) >>> wrote: >>> >>> So, the la

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 late

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 s

[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 teNw+Zu9BvY6kFrHEzhspq95udgs

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 пишет: > >> > >>> On Sat, 02.05.15 13:16, Zbig

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

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" > To: "Stephen Gallagher" > 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 Gallagher (sgall...@redhat.com) wrote:

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

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

[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 open("/run/systemd/n

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

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 wrote: > > > - Original Message - >> From: "Lennart Poettering" >> To: "Stephen Gallagher" >> Sent: Tuesday, May 5, 2015 10:13:35 AM >> Subject: Re: [systemd-devel] [PATCH] Add VARIANT as a standard value for >> /etc/os-release >> >>

[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 src/login/org.freed

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

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 : > 2015-05-04 14:49 GMT+02:00 Michael Biebl : >> 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 KillMode=process in emergency.servi

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 wrote: > 2015-05-04 14:49 GMT+02:00 Michael Biebl : >> 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 KillMode=process in emergency.service?

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 wrote: > On Mon, May 4, 2015 at 5:54 AM, Michael Biebl wrote: >> 2015-05-04 14:49 GMT+02:00 Michael Biebl : >>> Since emergency.service has >>> KillMode=process >>> the running bash kept running, and the result was an unusable system. >> >> Btw, what

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 systemd-devel@

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

2015-05-05 Thread Zbigniew Jędrzejewski-Szmek
On Tue, May 05, 2015 at 01:31:01PM -0500, Seth Jennings wrote: > 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/

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 wrote: > > On Sat, Apr 11, 2015 at 1:36 PM, David Herrmann > > wrote: > >> > @@ -139,6 +142,9 @@ static int adm_settle(struct udev *udev, int argc, > >> > char *argv[]) { > >> >

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 f

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 d

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

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

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 err

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

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

[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@.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 handled in some other

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 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 > wrote: > > > > > Ok, Thanks for your reply. > > > > > > But, just out of curiosity, why init process gets down

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

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

[systemd-devel] [PATCH] udev: fix coding style

2015-05-05 Thread Susant Sahani
--- src/udev/net/ethtool-util.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/udev/net/ethtool-util.c b/src/udev/net/ethtool-util.c index ec67126..927b8ab 100644 --- a/src/udev/net/ethtool-util.c +++ b/src/udev/net/ethtool-util.c @@ -93,8 +93,7 @@ int ethtool_get_driver

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

2015-05-05 Thread Andrei Borzenkov
On Wed, May 6, 2015 at 5:52 AM, Ivan Shapovalov wrote: > 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 >>