Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th November 2007, 02:42 AM
kwhiskers's Avatar
kwhiskers Offline
Registered User
 
Join Date: Nov 2005
Posts: 63
selinux preventing lircmd

I am using f8 with selinux in enforcing mode. in the xorg logs, i see a message that lircm, the lirc mouse, has permission denied. in the audit logs, it is confirmed that selinux is prevenitng the lircm mouse from starting.

how can i get the mouse to work without disabling selinux (f8 is the first fedora in which i want to seriously give selinux a try and not disable it like i always have done whenever it prevented me from using my computer and from it functioning like it is supposed to).

help!
Reply With Quote
  #2  
Old 17th November 2007, 07:16 AM
DamianS Offline
Registered User
 
Join Date: Feb 2007
Posts: 94
Are you running SEtroubleshoot?
Every time there is a policy violation (or attempted violation) it pops up and tells you all about it.
One of its sections is called "allowing access" which tells you what to do, to allow the process and keep SELinux happy.
__________________
This is Linux country. On a quiet day, you can hear the sound of windows' machines rebooting :p
Reply With Quote
  #3  
Old 17th November 2007, 07:47 AM
kwhiskers's Avatar
kwhiskers Offline
Registered User
 
Join Date: Nov 2005
Posts: 63
Yes, I am running selinux troubleshooter.

As it turns out, it doesn't pop up to tell me, as the blocking occurs when X is just trying to start up, but when I arrive at the graphical display, I can click on setroubleshoot and I can view the message.

The message is not very helpful. It says that if I want to allow, I should look in the FAQ. When I click FAQ, nothing happens at all.

I searched on the web and found a number of selinux FAQs, including one from redhat.

What I read on one of these was not very encouraging. You are supposed to run selinux policy generation tool. I gave it a try, although I haven't got a clue what I am supposed to do. I entered lircmd and put in /dev/input because I know it is trying to access one of the events under input/, which appears to be what is getting blocked.

When I finished, a bunch of files were generated: a .te, a shell script, and a few others. I didn't dare run any of these and there were more instructions after that, none of which made any sense to me at all.

I wish there was just a button somewhere that says, allow lircmd, yes or no. I would be comfortable with that.

In my experience, when you mess around with selinux, it involves lengthy relabelling and the final result is that everything is totally messed up (yes, I have tried for the last few fedoras), and every time, the only way to get out of the mess is to totally disable selinux.

I would really like to actually run it enforcing for a change, but these glitches that still never have gotten solved after so many years are disheartening.
Reply With Quote
Reply

Tags
lircmd, preventing, 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
SELinux preventing access to tmpfs Milena Using Fedora 0 19th July 2009 11:49 PM
SELinux is preventing xcas from loading dbernier Linux Chat 4 30th April 2009 01:28 PM
SElinux is preventing... Beralus Security and Privacy 4 18th November 2008 08:24 AM
SELinux is preventing... T3256 Security and Privacy 16 19th October 2008 04:50 AM
SELinux preventing syslog? pobbz Security and Privacy 2 23rd July 2006 09:52 AM


Current GMT-time: 03:41 (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