Bug 985534 - Physically missing harddrive with fstab entry will cause systemd to boot in emergency mode
Summary: Physically missing harddrive with fstab entry will cause systemd to boot in e...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 19
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-17 17:11 UTC by nospam
Modified: 2013-07-19 06:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-19 06:36:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description nospam 2013-07-17 17:11:06 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.add non-boot harddrive to your PC and edit fstab (use blkid)
2.shutdown remove harddrive but dont remove fstab entry
3.boot into emergency mode

Actual results:
systemd fails to boot into login screen when harddrive is physically missing but fstab entry is present

Expected results:
Boot to login screen


Additional info:

Comment 1 Jóhann B. Guðmundsson 2013-07-17 17:16:50 UTC
What was the mount path that failed or better yet can you boot with "systemd.log_level=debug" without that hd on the kernel command line and then attach the output of the command "journalctl -b" along with that /etc/fstab so we can properly map what's happening

Comment 2 Michal Schmidt 2013-07-19 06:36:48 UTC
This is expected behaviour. systemd does not know with mounts are essential to the system's integrity and which aren't, so it goes into fail-safe (ie. the emergency mode). You can however mark non-essential mounts with the "nofail" option to avoid it.

For a longer explanation see https://bugzilla.redhat.com/show_bug.cgi?id=888835#c6


Note You need to log in before you can comment on or make changes to this bug.