Bug 246201 - /etc/fstab "failok" option should apply to fsck as well as mount
Summary: /etc/fstab "failok" option should apply to fsck as well as mount
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.1-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-04 23:59 UTC by Scott Aitken
Modified: 2020-05-13 14:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Aitken 2020-05-04 23:59:08 UTC
When the /etc/fstab option "failok" is configured for a UFS device which may, at times, be missing, boot still fails (drops into single-user mode).

This is because fsck also runs against /etc/fstab, and considers the missing device to be a failure condition.

fsck should be patched to also continue, possibly returning a different return code.

Bug 163668 fixed the missing device issue in mount, but fsck was never taken into account (that I can see).