Description of problem: I installed Fedora 11 alpha (64bit) on my laptop (acer with AMD turion 64 & ATI radeon graphics, dual boot with Vista) this afternoon, this worked OK. I get the following message on the first reboot: "type=1400 audit(1234972567.989:80): avc: denied {search } for pid 2578 comm=readahead name=dbus dev=sda3 ino=5277582 ... " Version-Release number of selected component (if applicable): How reproducible: same message (different numbers) on two reboots so far. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: search shows bug 47333 (?) is similar which may help.
two lines above is the message "__ratelimit 18 callbacks suppressed" if this is relevant?.
Sorry the similar bug no. in additional info above is 473443 .
Have got in via Knoppix as cannot boot. Below /usr there are dbus-1.0 dirs and below /etc there is dbus-1 what other info do you require?.
This looks like a SELinux policy issue related to the readahead program. Please attach the full audit message, the parts you've replaced with "..." are important too.
Attach compressed /var/log/audit/audit.log
Created attachment 332828 [details] audit.log tarfile as requested Requested by Daniel in comment 5
Rest of message at boot attempt (refer comment 4): " scontext=system_u:system_r:readahead_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir" EOM There is an identical one above it and several similar ones before that which are ".. denied {read} for ... name=X" X=ntpd/nscd/cups if that is of interest?.
There are no errors in the audit.log Have you tried to relabel the system As root run fixfiles restore Also what file system are you using ?
It is an ext3 filesystem (it had Fedora 6.93 in previously). fixfiles is not recognised. Note the first reboot after install has not completed so I have no access to fedora, just to the files via knoppix, so I ran it as root in a knoppix terminal.
You can boot with the following command at the console. Add enforcing=0 autorelabel to kernel boot params and it should Fedora Grub boot and fix the labeling on the machine
Yes that worked and got me into the system OK. However the next startup it has lost my login and has no keyboard input. Obviously a separate problem I think. Is this going to require a reload from DVD?.
I have no idea. Seems like something went very wrong when you installed this system.
Possibly. As there was no published checksum I can't start to find out where it goes wrong as it looked OK at the time. Is there any news on when the SHASUM etc will be available?. I can then re-install and post further developments. Could it be that it got mixed up with very old Fedora6 stuff on that partition and that if I put F10 on it now we will not know the re-install shows?. I can leave it as it is for a week or so as it is a spare installation (or I wouldn't have risked an alpha release).
Did you do an upgrade or an install. Install should have been fine, upgrade from F6 to f10 might be shaky.
I did an upgrade. I did the same thing to another machine and when I tried to do an install Fedora wanted to redo all the partitions already set up and I didn't want to be bothered re-arranging four partitions (this is an annoyance I probably ought to raise separately). So i did the upgrade to the full version 10 OK - I am using it now. I know it isn't recommended but it was a lot less hassle. When I came to do the next machine I also did an upgrade to v11alpha with the consequences above. Bit of a long explanation but it may help if i tell you why I was doing what I did. It still could be the download?.
Ok run # fixfiles restore Which should fix your file labeling.
I tried that from the command shell under 'rescue installed system' with and got the error "mnt/sysimage/sbin/fixfiles: line 140: /sbin/setfiles: No such file or directory find: `/var/tmp': No such file or directory" Is it time to try the whole install again?.
I am being slow and forgot singleuser/command line mode. However it gave a whole load of find: '/tmp/...': Permission denied messages which is worrying. It hasn't fixed the graphical logon problem . I can't add a new user to passwd file ( is readonly) and the my usename is in there. Cannot change pass with passwd command (not authorised) even logged in as root. Going to try yum * in hope.
I tried the whole install again and it reloaded three packages and that didn't sort it, the next time it loaded none yum update doesn't seem work from command line so I am left with a stuffed partition/system. Any advice on how to start again please.
I have no idea what you are doing. Do you have an installed machine? Can you login in permissive mode?
I am not sure what I am doing, just getting a bit desperate. I can log in in single user mode 3 and things seem to work. The first problem I find is the graphical login screen that cannot authenticate users that I logged in with in single user mode. I don't know much about SElinux to know if it is permissive mode.
vi /etc/selinux/config Change the SELINUX field to say permissive touch /.autorelabel reboot When the machine comes up it will be in permissive mode and relabeled. Then see if you can login. If you still can not, then this is not an SELinux problem.
That has worked!!!. Excellent great, thanks. It could have been read/write permissions earlier with the fixfiles command as I had to mount r/w under knoppix Do I need to do a cleanup or update to make sure it is stable?. I forgot about SELinux because it was off in the previous installation. Thanks.