Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685310 - dev-vcs/git uses /var/run instead of /run
Summary: dev-vcs/git uses /var/run instead of /run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 830306
  Show dependency tree
 
Reported: 2019-05-07 23:53 UTC by Bertrand Jacquin
Modified: 2025-04-29 06:04 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
}
Comment 2 Eli Schwartz gentoo-dev 2025-04-29 06:04:17 UTC
commit 5a4cc6f1b6146c6f07883aaa963fca2915abe1c9
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: Mon Dec 6 04:38:02 2021
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: Mon Dec 6 04:38:18 2021

    dev-vcs/git: Use /run for pidfile
    
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 dev-vcs/git/files/git-daemon-r2.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Shortly after 2.34.1 was added