Bug 781811 - missing btrfs.fsck causes shutdown/reboot to be delayed
Summary: missing btrfs.fsck causes shutdown/reboot to be delayed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-15 12:14 UTC by Alon Levy
Modified: 2014-08-04 22:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-16 11:06:39 UTC
Type: ---


Attachments (Terms of Use)

Description Alon Levy 2012-01-15 12:14:33 UTC
Description of problem:
I have my root and home filesystems using btrfs.

when rebooting systemd launches fsck on all filesystems. fsck in turn launches the correct tool per filesystem. But there is no btrfs.fsck. When systemd gets the error code (2) from fsck it fails the reboot process, effectively making it impossible to reboot until some timeout (didn't figure out what it is exactly) is passed but the timeout is considerable.

Version-Release number of selected component (if applicable):
systemd-38-3.fc17.x86_64

How reproducible:
100%

Steps to Reproduce:
1. boot
2. reboot
  
Actual results:
on console systemd says that it can't find btrfs.fsck and stops the reboot process. (I already saw it two times, just forgot to copy the exact error message). This is actually the error message issued by fsck, which tries to launch a non existing file btrfs.fsck

Expected results:
systemd should ignore this error.

Additional info:

Comment 1 Kay Sievers 2012-01-15 21:38:53 UTC
I guess btrfs is not supposed to be checked by userspace before mounting it.
You should probably just set "0 0" in /etc/fstab?

Comment 2 Alon Levy 2012-01-16 11:06:39 UTC
You're right. Thanks for the help, sorry for the noise,

Alon
(closing)


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