Red Hat Bugzilla – Bug 180765
/etc/pm/hooks/50modules incorrectly quotes $SUSPEND_MODULES
Last modified: 2015-03-04 20:15:37 EST
Description of problem:
In the for loops of this script (only the resume loop really matters, as rmmod
appears to be doing the right thing), the $SUSPEND_MODULES variable is in double
quotes, which makes multiple modules specified in /etc/sysconfig/pm file appear
as one word, therefore not modprobing modules properly on resume.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Put at least two modules in /etc/sysconfig/pm file (e.g.
2. Suspend using pm-hibernate.
3. Resume - modules won't be there.
Modules don't load, because modprobe thinks everything after the first module
names are parameters used for that module. Each module should be modprobed
Should load fine, which it does without double quotes.
Just verified this and removed the wrong double quotes from the script for the
resume and the suspend case as the manpage for rmmod doesn't mention that
multiple modules can be removed at once.
Fix should be in next build.
Read ya, Phil
Strangely enough, I didn't see that in Rawhide yet...