Ask Your Question

How to update selinux on RDO when adding back ends to glance and cinder

asked 2015-08-05 12:45:40 -0500

rzhelion gravatar image

updated 2015-08-05 13:54:06 -0500

When adding additional filesystems to cinder and glance, the components get permission denied unless the system runs in selinux "permissive" mode. I am looking for a procedure to just update the individual components with the proper selinux permissions for the additional filesystems.

edit retag flag offensive close merge delete


I would highly recommend that post this question at RDO mailing lists, probably you will receive more answers for that.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-08-05 13:57:32 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-06 15:05:43 -0500

rzhelion gravatar image

It appears you need to run the restorecon command against the new directory (and any files within) to establish the selinux properties. If your file system uses a totally different structure, you may need to run the semanage command to first add the new rules. In my case, I added a new file system within the default structure:


So I was able to just run:

restorecon -Rv /var/log/glance/images-lvm

to set the proper permissions.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-08-05 12:45:40 -0500

Seen: 410 times

Last updated: Aug 06 '15