Bug 237302
Summary: | lots of "$filename: no dev" messages when starting LiveCD | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> | ||||
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | rawhide | CC: | kzak | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-05-18 21:06:01 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 150226 | ||||||
Attachments: |
|
Description
Will Woods
2007-04-20 17:52:45 UTC
Happens on regular installs too. I've commented out the fprintf so that it's at least not as annoying, but could use looking to see why it's happening still. But now just a release blocker and not a test release blocker The problem is selinux. I can't reproduce it with selinux=0. The readahead needs to read /dev/root (and others partitions where are files from readahead lists). open("/dev/root", O_RDONLY) = -1 EACCES (Permission denied) Note: the readahead runs (on FC6) with system_u:system_r:readahead_t:s0 It seems the problem is pretty old (include FC6). Now it appears, because the new version doesn't ignore the problem and reports it to stderr. It's important fix the problem in selinux policy, because it has terrible impact to readahead performace -- now (with selinux) the readahead can't read information about FS blocks. I don't know why, but I cannot found any avc messages about this issue in system logs. Created attachment 153279 [details]
Please try this policy file to see if it fixes the problem
Steps to build
Extract myreadahead.te to a local file, as root execute the following
# yum install selinux-policy-devel
# make -f /usr/share/selinux/devel/Makefile
# semodule myreadahead.pp
See if readahead works better.
It works for me. Please, submit the change to standard system policy. Thanks. Already in selinux-policy-2.6.1-1.fc7 This okay to me now |