Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685310

Summary: dev-vcs/git uses /var/run instead of /run
Product: Gentoo Linux Reporter: Bertrand Jacquin <bertrand>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: bertrand, polynomial-c, zyx
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 830306    

Description Bertrand Jacquin 2019-05-07 23:53:19 UTC
Hi,

dev-vcs/git-2.21.0 init script refers /var/run:

/etc/init.d/git-daemon:pidfile="/var/run/git-daemon.pid"
Comment 1 zyxhere 2025-01-08 04:20:46 UTC
Don't know when but this at least got fixed in dev-vcs/git-2.47.1

user@localhost ~ $ cat /etc/init.d/git-daemon
#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

pidfile="/run/git-daemon.pid"
command="/usr/bin/git"
command_args="daemon ${GITDAEMON_OPTS}"
command_user="${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME="
command_background="yes"

depend() {
	use logger
}