SELinux and device files

All general questions related to SELinux

Moderator: xeont

SELinux and device files

Postby cam » Tue Sep 20, 2016 2:32 pm

Hi

I'm new to SELinux and not I'm not sure where to start looking.

I'm currently using CentOS (version 6 but I can also use version 7 if I need to). I need to create a webserver that gets basic information from a kernel driver. It's along the lines of displaying temperatures from custom hardware.

In getting this to work I've had to turn off SELinux as apache can't open the device. Is there a way to enable apache to have access to a single device file in the /dev folder.

Thanks
cam
 
Posts: 1
Joined: Tue Sep 20, 2016 2:21 pm

Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests
cron