Bug 750885 - Probing nonexistent swap partitions took long time on boot.
Summary: Probing nonexistent swap partitions took long time on boot.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-02 17:11 UTC by marian
Modified: 2011-11-03 11:24 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-03 08:55:48 UTC
Type: ---


Attachments (Terms of Use)

Description marian 2011-11-02 17:11:08 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Linux localhost.localdomain 3.1.0-5.fc16.x86_64 #1 SMP Thu Oct 27 03:46:50 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux



How reproducible:
Edit /etc/fstab

Steps to Reproduce:
1.Add in fstab non existent swap partition on lvm2 or delete swap partition existent to fstab (/dev/mapper/$name_lvm_volume-$name_logical_volume swap  swap defauts 0 0)
2.
3.
  
Actual results:
take long time on boot system

Expected results:
Boot normal.


Additional info:

Comment 1 Bill Nottingham 2011-11-02 17:53:27 UTC
The default timeout is 90 seconds, IIRC. In general, don't add nonexistent partitions to fstab...

Comment 2 Michal Schmidt 2011-11-03 08:55:48 UTC
We cannot know if the device is truly non-existent or just slow to discover, so there has to be the timeout.

Comment 3 Kay Sievers 2011-11-03 11:24:48 UTC
Adding 'nofail' to fstab should work around the issue.


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