Skip to content

Commit

Permalink
[vagrant] comment added about setting selinux fcontext for /usr/share…
Browse files Browse the repository at this point in the history
…/copr/data dir
  • Loading branch information
clime committed Mar 4, 2016
1 parent 28aa8d7 commit fe80424
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ Vagrant.configure(2) do |config|
inline: "sudo chown -R copr-fe:copr-fe /usr/share/copr"

# selinux: make data dir writeable for httpd
# TODO: probly correct solution is to uncomment first four lines in
# coprs_frontend/config/copr.conf so that data are stored under /var/lib
# and not under /usr/share/copr. copr-selinux does not account for storing
# data under /usr/share/copr/. Discuss this with peers.
frontend.vm.provision "shell",
inline: "chcon -R -t httpd_sys_rw_content_t /usr/share/copr/data",
run: "always"
Expand Down

0 comments on commit fe80424

Please sign in to comment.