You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only when using ExecStart=/usr/bin/git daemon [...], the git daemon is allowed to function.
Fedora's git-daemon package ships with a socket-activated systemd unit that does call /usr/libexec/git-core/git-daemon, which runs fine. However I'm running as a regular daemon and can't use the same binary and must use /usr/bin/git daemon instead.
I would have expected the opposite, if anything.
The text was updated successfully, but these errors were encountered:
@maddymeows It is not expected to run a service with ExecStart=/usr/bin/git daemon. Can you show complete configuration needed to run the shipped git service and/or gather all data with full auditing enabled?
Interestingly I get a different denial now (it can't even bind to the port now), but permissive still shows the original audit I ran into. Perhaps a boolean I enabled on my production system.
Replacing the unit file to launch with ExecStart=/usr/bin/git daemon [...] produces no audits at all.
Given the following systemd unit:
The following denial gets logged upon running
git clone git://localhost/whatever.git
:Only when using
ExecStart=/usr/bin/git daemon [...]
, the git daemon is allowed to function.Fedora's git-daemon package ships with a socket-activated systemd unit that does call
/usr/libexec/git-core/git-daemon
, which runs fine. However I'm running as a regular daemon and can't use the same binary and must use/usr/bin/git daemon
instead.I would have expected the opposite, if anything.
The text was updated successfully, but these errors were encountered: