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

2015-05-02 Thread Zbigniew Jędrzejewski-Szmek
In the initramfs, we run systemd-fsck@.service. In the real system we run systemd-fsck-root.service. It is hard to pass the information that the latter should not run if the first succeeded using unit state only. - in the real system, we need a synchronization point between the fsck for root and

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

2015-05-02 Thread Andrei Borzenkov
В Sat, 2 May 2015 13:16:59 -0400 Zbigniew Jędrzejewski-Szmek пишет: > In the initramfs, we run systemd-fsck@.service. > In the real system we run systemd-fsck-root.service. It is hard > to pass the information that the latter should not run if the first > succeeded using unit state only. > > -

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

2015-05-02 Thread Zbigniew Jędrzejewski-Szmek
On Sat, May 02, 2015 at 08:26:25PM +0300, Andrei Borzenkov wrote: > В Sat, 2 May 2015 13:16:59 -0400 > Zbigniew Jędrzejewski-Szmek пишет: > > > In the initramfs, we run systemd-fsck@.service. > > In the real system we run systemd-fsck-root.service. It is hard > > to pass the information that the

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

2015-05-02 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 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-03 Thread Lennart Poettering
On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: So, the last time we discussed this we figured we should do this differently, and simply generate systemd-fsck-root.service in the initrd as well, that uses a different command line internally. The end result would then

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

2015-05-03 Thread Andrei Borzenkov
В 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 last time we discussed this we figured we should do this > differently, and simply generate systemd-fsck-root.service in the > initrd as well, t

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

2015-05-03 Thread Zbigniew Jędrzejewski-Szmek
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 last time we discussed this we figured we should do this > >

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

2015-05-03 Thread Andrei Borzenkov
В Sun, 3 May 2015 15:33:56 + Zbigniew Jędrzejewski-Szmek пишет: > 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) > > > wro

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

2015-05-03 Thread Zbigniew Jędrzejewski-Szmek
On Sun, May 03, 2015 at 07:06:14PM +0300, Andrei Borzenkov wrote: > В Sun, 3 May 2015 15:33:56 + > Zbigniew Jędrzejewski-Szmek пишет: > > > 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] [PATCH 3/3] Use a stamp file to avoid running systemd-fsck-root.service twice

2015-05-03 Thread Lennart Poettering
On Sun, 03.05.15 18:06, Andrei Borzenkov (arvidj...@gmail.com) wrote: > > On Sat, 02.05.15 13:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) > > wrote: > > > > So, the last time we discussed this we figured we should do this > > differently, and simply generate systemd-fsck-root.service in

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

2015-05-03 Thread Lennart Poettering
On Sun, 03.05.15 15:33, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > systemd-fsck@.service has explicit dependency on > > systemd-fsck-root.service so other mounts (/usr, anything else?) will > > be serialized after it. Currently they can run in parallel. > > > > Not I think it is a

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