Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 617407 - resume-uswsusp.sh: /usr/sbin/resume expects -r for device name
resume-uswsusp.sh: /usr/sbin/resume expects -r for device name
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: dracut (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-22 19:32 EDT by Bojan Smojver
Modified: 2010-07-22 23:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-07-22 23:24:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bojan Smojver 2010-07-22 19:32:02 EDT
Description of problem:
Currently, we have: /usr/sbin/resume $a_splash "$resume". Documentation/source of resume (from suspend-0.8) says that -r option should be used for resume device:

Usage: resume [options]
  -h, --help				this text
  -V, --version				version information
  -f, --config <config>			alternative configuration file.
  -r, --resume_device <resume_device>	device that contains swap area
  -o, --resume_offset <resume_offset>	offset of swap file in resume device.
  -P, --parameter <parameter>		override config file parameter.

Version-Release number of selected component (if applicable):
005-3.fc13

How reproducible:
Always.

Steps to Reproduce:
1. Inspect /usr/share/dracut/modules.d/95uswsusp/resume-uswsusp.sh
  
Actual results:
-r not used.

Expected results:
-r should be used, according to resume help page.

Additional info:
Comment 1 Bojan Smojver 2010-07-22 23:24:09 EDT
Ah, never mind. It gets picked up anyway.

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