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

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

2015-05-06 Thread Harald Hoyer
On 06.05.2015 07:26, Zbigniew Jędrzejewski-Szmek wrote: > 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 fs

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

2015-05-06 Thread Harald Hoyer
Works for me... booted with "ro" on the kernel cmdline: $ systemctl status systemd-fsck-root.service ● systemd-fsck-root.service - File System Check on Root Device Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.service; static; vendor preset: disabled) Active: inactive (dead) sinc

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

2015-05-06 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 06, 2015 at 03:50:08PM +0200, Harald Hoyer wrote: > Works for me... booted with "ro" on the kernel cmdline: > > $ systemctl status systemd-fsck-root.service > ● systemd-fsck-root.service - File System Check on Root Device >Loaded: loaded (/usr/lib/systemd/system/systemd-fsck-root.s

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

2015-05-06 Thread Harald Hoyer
On 06.05.2015 15:58, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, May 06, 2015 at 03:50:08PM +0200, Harald Hoyer wrote: >> Works for me... booted with "ro" on the kernel cmdline: >> >> $ systemctl status systemd-fsck-root.service >> ● systemd-fsck-root.service - File System Check on Root Device

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

2015-05-06 Thread Lennart Poettering
On Wed, 06.05.15 01:26, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > 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 re

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

2015-05-06 Thread Lennart Poettering
On Wed, 06.05.15 15:50, Harald Hoyer (harald.ho...@gmail.com) wrote: > Works for me... booted with "ro" on the kernel cmdline: > > $ systemctl status systemd-fsck-root.service > ● systemd-fsck-root.service - File System Check on Root Device >Loaded: loaded (/usr/lib/systemd/system/systemd-fsc

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

2015-05-06 Thread Lennart Poettering
On Wed, 06.05.15 19:12, Lennart Poettering (lenn...@poettering.net) wrote: > On Wed, 06.05.15 15:50, Harald Hoyer (harald.ho...@gmail.com) wrote: > > > Works for me... booted with "ro" on the kernel cmdline: > > > > $ systemctl status systemd-fsck-root.service > > ● systemd-fsck-root.service - F

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

2015-05-06 Thread Andrei Borzenkov
В Wed, 6 May 2015 19:13:46 +0200 Lennart Poettering пишет: > > Also, I think it's a bit pointless optimizing fsck invocations in > setups like this. I mean, if you cared about fsck runtime you probably > wouldnt use ext234 anyway, which are really the only file systems used > for / or /usr that

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

2015-05-10 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 06, 2015 at 07:12:07PM +0200, Lennart Poettering wrote: > On Wed, 06.05.15 15:50, Harald Hoyer (harald.ho...@gmail.com) wrote: > > > Works for me... booted with "ro" on the kernel cmdline: > > > > $ systemctl status systemd-fsck-root.service > > ● systemd-fsck-root.service - File Syst

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

2015-05-10 Thread Andrei Borzenkov
В Sun, 10 May 2015 17:23:12 + Zbigniew Jędrzejewski-Szmek пишет: > On Wed, May 06, 2015 at 07:12:07PM +0200, Lennart Poettering wrote: > > On Wed, 06.05.15 15:50, Harald Hoyer (harald.ho...@gmail.com) wrote: > > > > > Works for me... booted with "ro" on the kernel cmdline: > > > > > > $ sys

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

2015-05-10 Thread Zbigniew Jędrzejewski-Szmek
On Sun, May 10, 2015 at 09:59:18PM +0300, Andrei Borzenkov wrote: > В Sun, 10 May 2015 17:23:12 + > Zbigniew Jędrzejewski-Szmek пишет: > > > On Wed, May 06, 2015 at 07:12:07PM +0200, Lennart Poettering wrote: > > > On Wed, 06.05.15 15:50, Harald Hoyer (harald.ho...@gmail.com) wrote: > > > >

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

2015-05-10 Thread Andrei Borzenkov
В Sun, 10 May 2015 19:47:58 + Zbigniew Jędrzejewski-Szmek пишет: > On Sun, May 10, 2015 at 09:59:18PM +0300, Andrei Borzenkov wrote: > > В Sun, 10 May 2015 17:23:12 + > > Zbigniew Jędrzejewski-Szmek пишет: > > > > > On Wed, May 06, 2015 at 07:12:07PM +0200, Lennart Poettering wrote: > >