Bug 750885

Summary: Probing nonexistent swap partitions took long time on boot.
Product: [Fedora] Fedora Reporter: marian <bispartacus>
Component: systemdAssignee: systemd-maint
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dennis, johannbg, lpoetter, metherid, mschmidt, notting, plautrba, systemd-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 08:55:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.