Multiple strange errors involving SE Linux with Fedora 22

At work we are in the process of converting our developer workstations over to using Fedora 22.  I’ve had a few rather strange errors

  • SELinux is preventing sshd from read access on the file authorized_keys.
  • webcam not working
  • sound not working

One of the interesting features of our workstations is that we have the the home area under /data/work/<user> rather than /home/<user>. To make a long story short, I found an idea at

Which lead me to

  • edit /etc/selinux/targeted/contexts/files/file_contexts.homedirs
    • copied the /home rules to new /data/work rules
  • ran restorecon -p -R /data/work
  • restarted, so that processes get the new contexts

The result being that webcam, sound, and ssh are now working.

Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: