Re: Gitweb and SELinux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dominick Grift wrote:
> There is probably a better way to configure this. The problem is that
> git-daemon is currently a bit messy.

I'd hope so, as now I cannot get access to my own home directory with 
that git context set.

>
> Could you post your /etc/xinetd.d/git?

I'm not using git-daemon for file access on this particular machine. 
Just SSH. On a Fedora 11 git server, that is using the same directory 
setup, I'm using the following:

$ cat /etc/xinetd.d/git
# default: off
# description: The git dæmon allows git repositories to be exported using \
#	the git:// protocol.

service git
{
         disable		= no
         socket_type     = stream
         wait            = no
         user            = nobody
         server          = /usr/bin/git
         server_args     = daemon --base-path=/srv/git --export-all 
--user-path=public_git --syslog --inetd --verbose
         log_on_failure  += USERID
# xinetd doesn't do this by default. bug #195265
         flags		= IPv6
}
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux