Fedora Linux Support Community & Resources Center
  #1  
Old 10th January 2017, 07:56 AM
stevef9432203 Offline
Registered User
 
Join Date: Nov 2010
Location: los an
Posts: 9
unknownfirefox
dialout group does nothing with selinux enabled

How in the hell does being a member of the dialout group work when selinux breaks comm port access. Pissing meoff big time.
Reply With Quote
  #2  
Old 10th January 2017, 09:21 AM
flyingdutchman Offline
Registered User
 
Join Date: Jan 2015
Location: Al Ain, UAE
Posts: 673
linuxfedorafirefox
Re: dialout group does nothing with selinux enabled

I wasn't aware that SELinux also messes with the serial ports.

The obvious solution is to turn SELinux off, but it may be better to read the manual and figure out how to configure it the right way.

So 'setenforce 0' will get you going, but the manual is here:

https://access.redhat.com/documentat...nhanced_Linux/

It looks like you'll have to faff around with 'chcon -t whatever' to figure it out.
__________________
--
Have fun!
http://www.aeronetworks.ca
Reply With Quote
  #3  
Old 11th January 2017, 11:56 AM
SteveGYBE Offline
Registered User
 
Join Date: Jun 2007
Location: Lytham St Annes, Lancashire, UK
Posts: 682
linuxfedorafirefox
Re: dialout group does nothing with selinux enabled

If you are using "pppd", there are a couple of SELinux booleans relating to the process you might want to try
Code:
# getsebool -a | grep pppd
pppd_can_insmod --> off
pppd_for_user --> off
The "pppd_for_user" boolean looks an obvious culprit. You can turn on just for the session, or use the "-P" flag to make the setting persistent across reboots
Code:
# setsebool [ -P ] pppd_for_user on

# getsebool pppd_for_user --> on
Reply With Quote
Reply

Tags
dialout, enabled, group, 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
dialout or uucp group for /dev/ttyS0 port device marko Servers & Networking 1 30th April 2016 09:33 PM
selinux not enabled ? patrick013 Security and Privacy 10 11th November 2010 03:15 PM
Selinux, automount .iso with selinux enabled? leadgolem Security and Privacy 0 15th September 2007 01:37 AM


Current GMT-time: 11:40 (Thursday, 17-08-2017)

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