Package: git-daemon-run
Version: 1:2.11.0-3+deb9u4
Severity: important

Dear Maintainer,

I installed git-daemon-run recently for the first time. It took me several 
hours to figure out why the service appeared to be started but I could not make 
a connection to the daemon. "systemctl status git-daemon-run" would show that 
the service was in status "Active (exited)" but there was no git daemon running 
on the system, and therefore my git clone connections were all refused. After 
some investigation I found this mysterious line in /etc/init.d/git-daemon:

# Exit if the package is not installed
[ -e /usr/share/git-core/sysvinit/sentinel ] || exit 0                          
                                                          

The file does not exist on the system. After failing to find any information 
about the "sentinel" file, I simply commented out this line, and then the 
daemon started correctly after reloading the systemd configs and doing a 
'systemctl restart git-daemon-run'. Then I able to make git protocol 
connections and (after another hour of figuring out how to tweak the config 
file) was able to clone my repository.

-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-9-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages git-daemon-run depends on:
ii  adduser  3.115
ii  git      1:2.11.0-3+deb9u4
ii  runit    2.1.2-9.2

git-daemon-run recommends no packages.

git-daemon-run suggests no packages.

-- no debconf information

Reply via email to