* [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-daemon-r1.initd
@ 2014-02-07 7:59 Lars Wendler (polynomial-c)
0 siblings, 0 replies; 3+ messages in thread
From: Lars Wendler (polynomial-c) @ 2014-02-07 7:59 UTC (permalink / raw
To: gentoo-commits
polynomial-c 14/02/07 07:59:03
Modified: git-daemon-r1.initd
Log:
Attempt to fix startup of git-daemon as non-root user (bug #460370). Added sys-devel/gettext to DEPEND when nls USE flag is enabled
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Revision Changes Path
1.2 dev-vcs/git/files/git-daemon-r1.initd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?r1=1.1&r2=1.2
Index: git-daemon-r1.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- git-daemon-r1.initd 4 Feb 2014 09:36:35 -0000 1.1
+++ git-daemon-r1.initd 7 Feb 2014 07:59:03 -0000 1.2
@@ -1,12 +1,12 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.1 2014/02/04 09:36:35 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.2 2014/02/07 07:59:03 polynomial-c Exp $
pidfile="/run/git-daemon.pid"
command="/usr/bin/git"
-command_args="daemon --pid-file=${pidfile} --user=${GIT_USER} --group=${GIT_GROUP} ${GITDAEMON_OPTS}"
-start_stop_daemon_args="-b -p ${pidfile}"
+command_args="daemon ${GITDAEMON_OPTS}"
+start_stop_daemon_args="-b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
depend() {
use logger
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-daemon-r1.initd
@ 2014-03-03 17:36 Jason Donenfeld (zx2c4)
0 siblings, 0 replies; 3+ messages in thread
From: Jason Donenfeld (zx2c4) @ 2014-03-03 17:36 UTC (permalink / raw
To: gentoo-commits
zx2c4 14/03/03 17:36:09
Modified: git-daemon-r1.initd
Log:
Before this commit, clones would warn of "remote: warning: unable to access '/root/.config/git/attributes': Permission denied", because certain environment variables were passed to the daemon. This change removes such variables from the daemon's environment, squelching the error.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key A5DE03AE)
Revision Changes Path
1.3 dev-vcs/git/files/git-daemon-r1.initd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?r1=1.2&r2=1.3
Index: git-daemon-r1.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- git-daemon-r1.initd 7 Feb 2014 07:59:03 -0000 1.2
+++ git-daemon-r1.initd 3 Mar 2014 17:36:09 -0000 1.3
@@ -1,12 +1,12 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.2 2014/02/07 07:59:03 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.3 2014/03/03 17:36:09 zx2c4 Exp $
pidfile="/run/git-daemon.pid"
command="/usr/bin/git"
command_args="daemon ${GITDAEMON_OPTS}"
-start_stop_daemon_args="-b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
+start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
depend() {
use logger
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-daemon-r1.initd
@ 2014-03-03 19:21 Lars Wendler (polynomial-c)
0 siblings, 0 replies; 3+ messages in thread
From: Lars Wendler (polynomial-c) @ 2014-03-03 19:21 UTC (permalink / raw
To: gentoo-commits
polynomial-c 14/03/03 19:21:29
Modified: git-daemon-r1.initd
Log:
Fixed pidfile location for non-linux systems. Removed old
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Revision Changes Path
1.4 dev-vcs/git/files/git-daemon-r1.initd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd?r1=1.3&r2=1.4
Index: git-daemon-r1.initd
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- git-daemon-r1.initd 3 Mar 2014 17:36:09 -0000 1.3
+++ git-daemon-r1.initd 3 Mar 2014 19:21:29 -0000 1.4
@@ -1,9 +1,9 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.3 2014/03/03 17:36:09 zx2c4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.4 2014/03/03 19:21:29 polynomial-c Exp $
-pidfile="/run/git-daemon.pid"
+pidfile="/var/run/git-daemon.pid"
command="/usr/bin/git"
command_args="daemon ${GITDAEMON_OPTS}"
start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-03 19:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-03 19:21 [gentoo-commits] gentoo-x86 commit in dev-vcs/git/files: git-daemon-r1.initd Lars Wendler (polynomial-c)
-- strict thread matches above, loose matches on Subject: below --
2014-03-03 17:36 Jason Donenfeld (zx2c4)
2014-02-07 7:59 Lars Wendler (polynomial-c)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox