Summary: | sys-kernel/dracut-018: /usr isn't checked with fsck in initrd when pass value in fstab is set to zero | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cyberbat <cyberbat83> |
Component: | New packages | Assignee: | Amadeusz Żołnowski (RETIRED) <aidecoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ramereth |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
cyberbat
2012-05-08 19:30:14 UTC
What version of OpenRC do you have? This is problem which should be solved in OpenRC. Dracut behavior is correct in this regard, it is not a bug. OpenRC should skip fsck of /usr if it already has been fscked, which can be accomplished by skipping fsck if volume is already mounted or mounted rw. (In reply to comment #1) > What version of OpenRC do you have? This is problem which should be solved > in OpenRC. Dracut behavior is correct in this regard, it is not a bug. > I have latest stable openrc: sys-apps/openrc-0.9.8.4, but I've also tried 0.9.9.3, still the same issue. So in your opinion dracut should check pass value and decide whether to fsck filesystem or not? And then openrc should not check filesystem mounted by dracut not depending whether it was checked earlier? > OpenRC should skip fsck of /usr if it already has been fscked, which can be > accomplished by skipping fsck if volume is already mounted or mounted rw. (In reply to comment #2) > (In reply to comment #1) > > What version of OpenRC do you have? This is problem which should be solved > > in OpenRC. Dracut behavior is correct in this regard, it is not a bug. > > > > I have latest stable openrc: sys-apps/openrc-0.9.8.4, but I've also tried > 0.9.9.3, still the same issue. So in your opinion dracut should check pass > value and decide whether to fsck filesystem or not? And then openrc should > not check filesystem mounted by dracut not depending whether it was checked > earlier? OpenRC should assume /usr has been fscked if it is mounted. I'll talk with OpenRC developers about this issue. > > OpenRC should skip fsck of /usr if it already has been fscked, which can be > > accomplished by skipping fsck if volume is already mounted or mounted rw. You can also try older version of Dracut: 014-r2, until this is fixed in OpenRC. 014-r2 mounts /usr read-only. (In reply to comment #3) > > OpenRC should assume /usr has been fscked if it is mounted. I'll talk with > OpenRC developers about this issue. > May be I should fill openrc bug? (In reply to comment #4) > You can also try older version of Dracut: 014-r2, until this is fixed in OpenRC. 014-> r2 mounts /usr read-only. Thanks but even with error message about mounted usr system is successfully booted, so I don't think I need to downgrade. (In reply to comment #5) > (In reply to comment #3) > > > > OpenRC should assume /usr has been fscked if it is mounted. I'll talk with > > OpenRC developers about this issue. > > > > May be I should fill openrc bug? I've filed it already. See bug #415249. Please add -M option to fsck_args in /etc/conf.d/fsck. Does this solve the issue for you? (In reply to comment #7) > Please add -M option to fsck_args in /etc/conf.d/fsck. Does this solve the > issue for you? Yes. By the way, bug 415027 gone away too, because openrc doesn't also start fsck to check root mounted ro by dracut. (In reply to comment #8) > (In reply to comment #7) > > Please add -M option to fsck_args in /etc/conf.d/fsck. Does this solve the > > issue for you? > > Yes. By the way, bug 415027 gone away too, because openrc doesn't also start > fsck to check root mounted ro by dracut. Yes, but that issue is still valid and is quite serious. Thank you for testing -M option. |