FS#25672 - [systemd-arch-units] booting with systemd fails with ext3 filesystems when forcing fsck.
Attached to Project:
Community Packages
Opened by Nicola Bignami (_thebishop_) - Friday, 19 August 2011, 09:56 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 01 November 2011, 10:52 GMT
Opened by Nicola Bignami (_thebishop_) - Friday, 19 August 2011, 09:56 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 01 November 2011, 10:52 GMT
|
Details
Description:
When an ext3 root partition exceeds the max mounts without fsck and thus fsck is forced boot-time, systemd doesn't wait for fsck to complete and tries to proceed with the boot. Obviously the boot can't proceed and the units provide tons of error messages as the fs is actually mounted ro and is still performing the fsck. I'm not sure if the problem is here or in the initscripts-systemd package, but I think it's rather a configuration problem than a problem of systemd itself. Additional info: * package version(s) initscripts-systemd v25-1 systemd 33-2 systemd-arch-units 20110807-2 Steps to reproduce: -force the fsck at the next boot -reboot |
This task depends upon
Closed by Tom Gundersen (tomegun)
Tuesday, 01 November 2011, 10:52 GMT
Reason for closing: Not a bug
Additional comments about closing: Seems to have been resolved.
Tuesday, 01 November 2011, 10:52 GMT
Reason for closing: Not a bug
Additional comments about closing: Seems to have been resolved.
Please post the output of 'tree /etc/systemd/system', /etc/fstab and /proc/cmdline. You can find me on IRC as well (falconindy).
edit: attached bootlog of proper behavior
I confirm that on my installation I can reproduce the problem: there must be some kind of mess in my configuration or something...
If you could disable arch-daemons.target and arch-persistent-settings.service as well, that'd be great. I don't really condone usage of these for any longer than it takes to migrate your setup to systemd after booting up. We have a huge collection of native units in systemd-arch-units.
BTW, it's better to warn about this in the wiki.
For the fstab, it's the one generated by the arch installer a couple of years ago.
Thanks for the tips.
I will re-factor the persistent settings (again) and hopefully Dave will be convinced to pull it. It can now be greatly simplified due to changes to modprobe and initscripts.
The readahead units are not the problem: the collect unit complains that it can't write the fs, but this don't compromise the boot process.
I had to revert my notebook to the Redmond stuff for work-related reasons. Now I've performed a fresh install of ArchLinux on a new machine and configured Systemd as init system. I've forced the fsck a couple of times but now it seems to work just fine.
Thanks for the support.