Re: [systemd-devel] Second (erroneous) check of rootfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El 07/01/15 a las 22:55, Nikolai Zhubr escribió:
08.01.2015 4:12, Cristian Rodríguez:
El 07/01/15 a las 21:43, Lennart Poettering escribió:

Maybe suse forgot to include this service file in the initrd or so?

Correct. It appears to be a bug in the dracut package. I wonder why ..

Ok. So should I file a report to opensuse bugtracker? I have no idea if
the issue is suse-specific actually... Although I know that dracut is
very new for suse, that might explain it...

Hrmm.. looking at the dracut upstream sources.. this service is not included in the required file list. so it is an upstream problem.

Attached is a patch to fix the problem.


>From 81b8f407d84cb60e9d4df0e2f68b4bd3850448f5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@xxxxxxxxxxxx>
Date: Wed, 7 Jan 2015 23:22:00 -0300
Subject: [PATCH] 98systemd: Include systemd-root-fsck.service too

---
 modules.d/98systemd/module-setup.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules.d/98systemd/module-setup.sh b/modules.d/98systemd/module-setup.sh
index 51ea288..a28df30 100755
--- a/modules.d/98systemd/module-setup.sh
+++ b/modules.d/98systemd/module-setup.sh
@@ -91,6 +91,7 @@ install() {
         $systemdsystemunitdir/systemd-reboot.service \
         $systemdsystemunitdir/systemd-kexec.service \
         $systemdsystemunitdir/systemd-fsck@.service \
+        $systemdsystemunitdir/systemd-fsck-root.service \
         $systemdsystemunitdir/systemd-udevd.service \
         $systemdsystemunitdir/systemd-udev-trigger.service \
         $systemdsystemunitdir/systemd-udev-settle.service \
-- 
2.2.1


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux