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
Product: Fedora
Classification: Fedora
Component: dracut (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Fedora Extras Quality Assurance
Depends On:
  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:
Last Closed: 2010-07-22 23:24:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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):

How reproducible:

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.