This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 161240 - upgrade from fc3 to fc4 breaks suspend
upgrade from fc3 to fc4 breaks suspend
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-21 12:57 EDT by Nickolay V. Shmyrev
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.23.18-17
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-19 04:25:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Nickolay V. Shmyrev 2005-06-21 12:57:49 EDT
Description of problem:

Upgrade from fc3 for fc4 broke my suspend to ram.

Version-Release number of selected component (if applicable):


How reproducible:

In suspend-to-ram on my ibm r50e i use the following script:
------------------------------------------------------------

#!/bin/bash

/bin/sync

/sbin/rmmod uhci-hcd
/sbin/rmmod ehci-hcd

/usr/bin/chvt 1

#logger "s3test: saving video state and PCI config space."
cat /proc/bus/pci/00/02.0 > /var/cache/video.config

#logger "s3test: entering state"
echo -n mem > /sys/power/state
#logger "s3test: back from state"

#logger "s3test: restoring PCI config space and video state."
cat /var/cache/video.config > /proc/bus/pci/00/02.0

#logger "s3test: removing temporary files."
rm -rf /var/cache/video.config

/usr/bin/chvt 7

/sbin/modprobe uhci-hcd
/sbin/modprobe ehci-hcd

#logger "s3test: success!"

----------------------------------------------------------
Jun 21 20:14:19 gnome kernel: audit(1119370459.196:171): avc:  denied  { write }
for  pid=3840 comm="sleep.sh" name=cache dev=hda3 ino=753688
scontext=system_u:system_r:apmd_t tcontext=system_u:object_r:var_t tclass=dir

...............................

Jun 21 20:14:27 gnome kernel: audit(1119370467.739:172): avc:  denied  { read }
for  pid=3913 comm="sh" name=pppoe dev=hda3 ino=845226
scontext=system_u:system_r:pppd_t tcontext=system_u:object_r:sbin_t tclass=lnk_file
Jun 21 20:14:27 gnome kernel: audit(1119370467.739:173): avc:  denied  { read }
for  pid=3913 comm="sh" name=pppoe dev=hda3 ino=845226
scontext=system_u:system_r:pppd_t tcontext=system_u:object_r:sbin_t tclass=lnk_file
Jun 21 20:14:27 gnome kernel: audit(1119370467.741:174): avc:  denied  { read }
for  pid=3913 comm="sh" name=pppoe dev=hda3 ino=845226
scontext=system_u:system_r:pppd_t tcontext=system_u:object_r:sbin_t tclass=lnk_file
Jun 21 20:14:28 gnome kernel: audit(1119370467.748:175): avc:  denied  { write }
for  pid=3916 comm="sleep.sh" name=02.0 dev=proc ino=-268435152
scontext=system_u:system_r:apmd_t tcontext=system_u:object_r:proc_t tclass=file
Jun 21 20:14:28 gnome kernel: audit(1119370467.748:176): avc:  denied  { write }
for  pid=3916 comm="sleep.sh" name=02.0 dev=proc ino=-268435152
scontext=system_u:system_r:apmd_t tcontext=system_u:object_r:proc_t tclass=file

Syslog contains messages:




Expected results:

Working suspend-to-ram

Additional info:

Of course, pppd and ifconfig was also broken, but this is another bug :)
Comment 1 Daniel Walsh 2005-06-26 07:43:16 EDT
Fixed iselinux-policy-targeted-1.23.18-17 

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