Fedora Linux Support Community & Resources Center
  #1  
Old 1st January 2010, 07:59 PM
lujate Offline
Registered User
 
Join Date: Jan 2010
Posts: 8
linuxfedorafirefox
Question Upgrade to Fedora 12 & SELinux Relabeling

I upgraded from Fedora 10 to 12 using the i386 ISO image. The upgrade finished without incident but the system fails to start. It stalls at this point:
*** Warning -- SELinux targeted policy relabel is required.
*** Relabeling could take a very long time, depending on file
*** system size and speed of hard drives.

It displayed asterisks to indicate progress, but they stopped part way through the third line. It's been running for almost 2 hours.

I tried Google, but came up with nothing applicable. Can anyone throw me a bone? TIA!
Reply With Quote
  #2  
Old 1st January 2010, 10:05 PM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfedorafirefox
Selinux relabeling takes 1 or 2 minutes per GB of used space.
For Fedora it will take 4-8 minutes.
The hash markers usual end a little over mid screen on the 3rd row (depending on the vga mode.)

I am thinking the relabel completed and tried to boot and hung on some usuall upgrade problem, like
KMS, fstab mount issue, wrong root pointer, old release kerel and so on.

Boot up with rescue nomodeset enforcing=0 xdriver=vesa vga=ask
mote the /mount/image command if you get that far,.

SJ
__________________
Do the Math
Reply With Quote
  #3  
Old 1st January 2010, 10:43 PM
lujate Offline
Registered User
 
Join Date: Jan 2010
Posts: 8
linuxfedorafirefox
Quote:
Originally Posted by SlowJet View Post
...
Boot up with rescue nomodeset enforcing=0 xdriver=vesa vga=ask
mote the /mount/image command if you get that far,.
...
OK, you lost me there. Are these changes to grub.conf?
Reply With Quote
  #4  
Old 1st January 2010, 10:53 PM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfedorafirefox
Well, you can try the installed grub menu first by pressing esc key and selecting the kernel, press e key, select kernel line, press e key, add/change/ remove parms,
press enter, press b to boot

try a 3 on the end if the above hangs up to come up in command line mode.

The point is to get to the logs in /var/log and messages and /root logs and /etc/X11/xorg-log.* and so on to determine the problem(s).

SJ
__________________
Do the Math
Reply With Quote
  #5  
Old 1st January 2010, 11:44 PM
lujate Offline
Registered User
 
Join Date: Jan 2010
Posts: 8
linuxfedorafirefox
I booted with rescue nomodeset enforcing=0 xdriver=vesa vga=ask added to the end of the kernel parms. It prompted me to pick a display mode, but still hung up on the Relabeling. The "3" did get it to boot to a command line.

The last line in /var/log/boot.log is:
Registering binary handler for Windows applications

/etc/X11/xorg-log.* does not exist.
Reply With Quote
  #6  
Old 2nd January 2010, 12:10 AM
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 5,002
linuxfedorafirefox
You need to df -l on the dir's and look at the file names for the logs.

Try the boot again as above but change enforcing=0 to selinux=0

SJ
__________________
Do the Math
Reply With Quote
  #7  
Old 2nd January 2010, 03:08 AM
lujate Offline
Registered User
 
Join Date: Jan 2010
Posts: 8
linuxfedorafirefox
Thumbs up

With selinux=0, the system comes up to a blank screen with the cursor flashing in the upper left.

I don't think it's the Relabeling that's the issue. I powered on a USB device and now it handles that device after the Relabeling before the hang.

I'm not sure what I'm supposed to do with "df" (Disk usage).

Edit:
Would /var/log/Xorg.0.log be the file I'm looking for?

---------- Post added at 09:08 PM CST ---------- Previous post was at 07:12 PM CST ----------

Since I was able to log on to the console, I decided to go ahead and load and apply all the updates. I then did a reboot with the default settings and it came up to a GUI log-on.

Thanks!

Last edited by lujate; 2nd January 2010 at 01:31 AM.
Reply With Quote
Reply

Tags
fedora, relabeling, selinux, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with SELinux/relabeling directories vault Security and Privacy 8 13th July 2008 03:04 AM
SeLinux relabeling superswade Security and Privacy 9 27th May 2008 11:31 AM
F8 upgrade from F7: SELinux issues rweed Security and Privacy 4 14th January 2008 05:26 AM
How set SELinux right on FC3 after upgrade? rhoekstra Using Fedora 2 26th November 2004 04:21 AM


Current GMT-time: 01:10 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat