Your message dated Thu, 2 Jan 2025 22:16:34 +0100
with message-id <[email protected]>
and subject line git-daemon-run package removed
has caused the Debian Bug report #929661,
regarding git-daemon-run: missing sentinel file causes fake service start
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
929661: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929661
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: git
Source-Version: 1:2.47.1-1

The latest version of git in sid does not include runit configuration
any more, meaning this bug no longer applies.

I enjoyed using it, but it isn't responsible from a security
perspective to keep it as a recommended configuration.  Thanks for the
helpful user input while it was included.

Jonathan

--- End Message ---

Reply via email to