Fedora Linux Support Community & Resources Center
  #1  
Old 6th April 2011, 03:55 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Angry SELinux and I are no longer friends!

Up until now, we've gotten along reasonably well, but that all changed when I tried to add my printer this morning. I guess it woke up cranky. I suspected it might get ugly about a few things I was going to try today, so I appended enforcing=0 to the kernel boot line in Grub, and it booted just hunky-dorey. Until I plugged in the printer. Then it got just as ugly as I thought it would ... if it were allowed to be. The theory being, that boot appendage should have muzzled it.

It didn't. <....>

And ... of course ... there's no SE dialog/tweak tool included in F15 at the moment.

So ... if it won't be tamed ... and it won't be polite ... how do I shoot this little beasty behind the left ear? <....>
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
  #2  
Old 6th April 2011, 04:03 PM
bob's Avatar
bob Online
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201
linuxfirefox
Re: SELinux and I are no longer friends!

Bugzilla, oh Bugzilla, my friend! And, be sure you print out the details for later review....oh wait....
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
  #3  
Old 6th April 2011, 04:09 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,118
windows_xp_2003firefox
Re: SELinux and I are no longer friends!

Hii Dan,

Are you saying that there is no getenforce or, more importantly, setenforce command(s) in F15?

Normally, at the command prompt, "# setenforce permissive" or "# setenforce 0" will put SELinux into permissive mode.
  #4  
Old 6th April 2011, 04:16 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: SELinux and I are no longer friends!

Oh, they seem to be there ... and report as permissive. Then it promptly slaps down a number of functions. PulseAudio among them ... which I kind of viewed with a secret little smile, but it also still persists in killing my printer.
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
  #5  
Old 6th April 2011, 04:48 PM
soundfreely Offline
Registered User
 
Join Date: Jun 2010
Location: New Jersey
Posts: 53
windows_7firefox
Re: SELinux and I are no longer friends!

I had a similar issue. In my case, I had also disabled SElinux in the kernel line of grub. Then installed some updates and got the latest SELinux policies (just via yum update). However, I believe the policies aren't applied when SELinux is disabled - so, "fixfiles onboot" needs to be run.
  #6  
Old 6th April 2011, 05:04 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: SELinux and I are no longer friends!

Oh, my! This is sooooo broken ... again. Just rebooted and got this ... again.



I'm feeling an extensive release date slip coming on. <....>
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
  #7  
Old 6th April 2011, 05:58 PM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: SELinux and I are no longer friends!

Okey Jokey. By way of much puzzling and a relabel -- and enforcing=0 (and jerking the USB printer connection out before/while the system boots), we're back into GUI.

And the printer is installed, for the most part. It printed a test page anyway. My question now is ... why the devil do I have to resort to a terminal to open the hp-toolbox?
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
  #8  
Old 6th April 2011, 07:17 PM
GoinEasy9's Avatar
GoinEasy9 Offline
Registered User
 
Join Date: May 2009
Location: Manorville, New York, USA
Posts: 1,577
macossafari
Re: SELinux and I are no longer friends!

I had to do a relabel before my problems went away. I'm back to enforcing without problems.
__________________
Registered Linux User #348347
Have you been seduced by siduction? http://siduction.org/index.php
Running Fedora 17/18, siduction and openSUSE Tumbleweed with KDE
  #9  
Old 6th April 2011, 08:09 PM
mariuszs Offline
Registered User
 
Join Date: May 2009
Posts: 85
linuxchrome
Re: SELinux and I are no longer friends!

After weekend update I cant boot FC15

http://twitpic.com/4hol1t

Quote:
Failed to load selinux policy....
I have selinux disabled
  #10  
Old 7th April 2011, 01:40 AM
CronoCloud's Avatar
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 370
linuxfedorafirefox
Re: SELinux and I are no longer friends!

Quote:
Originally Posted by Dan View Post
Okey Jokey. By way of much puzzling and a relabel -- and enforcing=0 (and jerking the USB printer connection out before/while the system boots), we're back into GUI.
SELinux is teh devil, and as a desktop user...I have it disabled.

Quote:
My question now is ... why the devil do I have to resort to a terminal to open the hp-toolbox?
You shouldn't, check for the F15 equivalent to:

System>Administration>HP Device Manager

Ron Rogers Jr. (CronoCloud)
  #11  
Old 7th April 2011, 01:52 AM
DBelton's Avatar
DBelton Online
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: SELinux and I are no longer friends!

well Dan, I too am having selinux troubles with pulseaudio. so don't feel too special

I am ghetting ready to reboot anyway, so will try a complete relabel then and see what happens.
  #12  
Old 7th April 2011, 01:55 AM
Dan's Avatar
Dan Offline
Administrator
 
Join Date: Jun 2006
Location: Paris, TX
Posts: 22,309
linuxfedorafirefox
Re: SELinux and I are no longer friends!

Quote:
Originally Posted by Ron
... check for the F15 equivalent to: System>Administration>HP Device Manager
Hmmmm.

Yeah. That sounds like a helluva good idea. I'll do that. But ... the challenge is the menu. Finding it that is. Gnome 3 (Gnome shell) is sorta lean on menus.


Quote:
Originally Posted by the other Dan
... I am getting ready to reboot anyway, so will try a complete relabel then and see what happens.
That's what I did. Seemed to work, too. Just don't leave your USB HP 7000 series printer plugged in when you re-boot. It gets a little ugly if you do. <....>
__________________
Signature Links | New Posts | Who's on the forums (right now) |

© ® ™ № ¿
  #13  
Old 7th April 2011, 02:34 AM
DBelton's Avatar
DBelton Online
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: SELinux and I are no longer friends!

didn't work for me, though

I did a complete relabel, and I still get selinux errors on pulseaudio on boot..

Code:
Apr  6 20:28:02 tower11 setroubleshoot: SELinux is preventing /usr/bin/pulseaudio from open access on the file c189:128. For complete SELinux messages. run sealert -l 8dfc375c-f180-4ef1-a029-70922471eea9
Apr  6 20:28:02 tower11 setroubleshoot: SELinux is preventing /usr/bin/pulseaudio from open access on the file +sound:card0. For complete SELinux messages. run sealert -l 8dfc375c-f180-4ef1-a029-70922471eea9
  #14  
Old 7th April 2011, 02:38 AM
CronoCloud's Avatar
CronoCloud Offline
Registered User
 
Join Date: May 2010
Location: Midwest USA
Posts: 370
linuxfedorafirefox
Re: SELinux and I are no longer friends!

Quote:
Originally Posted by Dan View Post
Yeah. That sounds like a helluva good idea. I'll do that. But ... the challenge is the menu. Finding it that is. Gnome 3 (Gnome shell) is sorta lean on menus.
It's that BAD? I hadn't been following the ruckus over gnome shell/gnome 3 closely so I didn't know. So no Applications, Places, and System menu's on a nice panel/taskbar? What were they thinking?

Ron Rogers Jr. (CronoCloud)
  #15  
Old 7th April 2011, 02:48 AM
DBelton's Avatar
DBelton Online
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: SELinux and I are no longer friends!

no application, places and system menu's at all in gnome 3. Makes it really hard to find anything.

And when you get to gnome 3 shell.. you will forget what a panel and taskbar is as well. They are gone.

You do however gain a screen full of super huge icons instead of your applications menu


They must think that all users need to wear coke bottle thick glasses and still can't see anything.

I tried to change the size of the icons in the css file, but I ended up with small icons that had the large image in them, just cut off. not scaled.
 

Tags
friends, longer, selinux

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
Friends, Features, First... what's that last one? physicsgeek42 Fedora Focus 38 17th April 2009 01:47 AM
Friends tasnim Programming & Packaging 2 4th January 2008 04:13 AM
How to help two friends? cypher543 Wibble 14 28th September 2006 09:53 PM
Have any linux friends? chiku31 Wibble 15 2nd February 2005 05:38 AM


Current GMT-time: 11:23 (Saturday, 18-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