git and selinux

Pete Stieber pstieber at gmail.com
Mon Jun 11 23:08:47 UTC 2012


I'm trying to setup a git server on a Fedora 17 box.  I created  user 
name git and setup bare Git repos under /home/git/repos.  When I clone 
these repos from another machine using

$ git clone git at server_name/repos/RepoName.git RepoName

selinux wants the type of /home/git to be user_home_t.

When I try to use http for read-only, public access using

$ git clone http://server_name/git/RepoName.git RepoName

I'm not sure what to do to use both.

A few versions of Fedora ago, I would get sealert entries in some log 
(/var/log/messages ?) that would give me hints on how to fix this type 
of problem.  Is that still available?

Pete



More information about the users mailing list