[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [298] SavannahHosts: Subsystem updates
From: |
bob |
Subject: |
[Savannah-cvs] [298] SavannahHosts: Subsystem updates |
Date: |
Thu, 5 Jan 2017 23:36:55 +0000 (UTC) |
Revision: 298
http://svn.sv.gnu.org/viewvc/?view=rev&root=administration&revision=298
Author: rwp
Date: 2017-01-05 23:36:53 +0000 (Thu, 05 Jan 2017)
Log Message:
-----------
SavannahHosts: Subsystem updates
Modified Paths:
--------------
trunk/sviki/SavannahHosts.mdwn
Modified: trunk/sviki/SavannahHosts.mdwn
===================================================================
--- trunk/sviki/SavannahHosts.mdwn 2017-01-05 23:36:45 UTC (rev 297)
+++ trunk/sviki/SavannahHosts.mdwn 2017-01-05 23:36:53 UTC (rev 298)
@@ -668,36 +668,6 @@
to the registered user email instead of the at savannah.gnu.org
address.)
-### subsystem GIT
-
-FIXME: apt-get install apache2 plus a2enmod cgi for cgit
-
-Add this to the /etc/rc.local file. (Use the /etc/rc.local because
-init systems are rapidly changing from sysvinit to upstart to systemd
-and want to remain aloof from them all.)
-
- # Start the git-daemon read-only git access daemon.
- mkdir -p /run/git
- chown nobody /run/git
- (cd /run/git && env -i HOME=/run/git PATH=/usr/local/bin:/usr/bin:/bin su
-s /bin/sh -c "git daemon --reuseaddr --max-connections=50 --init-timeout=10
--timeout=28800 --base-path=/srv/git --export-all
--pid-file=/run/git/git-daemon.pid --detach" nobody)
-
-For testing purposes the following needs to work. Where $USER
-represents a valid Savannah account name.
-
- works: svn ls svn://svn.savannah.gnu.org/administration/trunk
- works: svn ls svn+ssh://svn.savannah.gnu.org/administration/trunk
- works: svn ls http://svn.savannah.gnu.org/svn/administration/trunk
- fails: svn ls https://svn.savannah.gnu.org/svn/administration/trunk
-
- works: svn ls svn://svn0.savannah.gnu.org/administration/trunk
- works: svn ls svn+ssh://address@hidden/administration/trunk
- fails: svn ls http://svn0.savannah.gnu.org/svn/administration/trunk
- fails: svn ls http0://svn0.savannah.gnu.org/svn/administration/trunk
-
-TODO: svn http access is still needing setup. It apparently uses the
-`OPTIONS` http verb and therefore requires special configuration.
-Listed as a `fail` above. I have started down this process.
-
FIXME: Fix configuration of libpam for:
2016 Sep 22 14:30:02 vcs0 PAM service(sshd) ignoring max retries; 6 > 3
2016 Sep 22 14:43:14 vcs0 PAM service(sshd) ignoring max retries; 6 > 3
@@ -742,6 +712,99 @@
cvs -z3 -d:ext:address@hidden:/web/hello co hello
cvs -z3 -d:ext:address@hidden:/webcvs/hello co hello
+### subsystem GIT
+
+FIXME: apt-get install apache2 plus a2enmod cgi for cgit
+
+Add this to the /etc/rc.local file. (Use the /etc/rc.local because
+init systems are rapidly changing from sysvinit to upstart to systemd
+and want to remain aloof from them all.)
+
+ # Start the git-daemon read-only git access daemon.
+ mkdir -p /run/git
+ chown nobody /run/git
+ (cd /run/git && env -i HOME=/run/git PATH=/usr/local/bin:/usr/bin:/bin su
-s /bin/sh -c "git daemon --reuseaddr --max-connections=50 --init-timeout=10
--timeout=28800 --base-path=/srv/git --export-all
--pid-file=/run/git/git-daemon.pid --detach" nobody)
+
+For testing purposes the following needs to work. Where $USER
+represents a valid Savannah account name.
+
+ git clone git://git.sv.gnu.org/hello.git
+ git clone git://git.savannah.gnu.org/hello.git
+ git clone git://git.sv.nongnu.org/hello.git
+ git clone git://git.savannah.nongnu.org/hello.git
+
+ fails: git clone --depth 1 git://git.sv.gnu.org/hello.git
+ fails: git clone --depth 1 git://git.savannah.gnu.org/hello.git
+ fails: git clone --depth 1 git://git.sv.nongnu.org/hello.git
+ fails: git clone --depth 1 git://git.savannah.nongnu.org/hello.git
+
+ git clone ssh://address@hidden/srv/git/hello.git
+ git clone ssh://address@hidden/srv/git/hello.git
+ git clone ssh://address@hidden/srv/git/hello.git
+ git clone ssh://address@hidden/srv/git/hello.git
+
+ git clone --depth 1 ssh://address@hidden/srv/git/hello.git
+ git clone --depth 1 ssh://address@hidden/srv/git/hello.git
+ git clone --depth 1 ssh://address@hidden/srv/git/hello.git
+ git clone --depth 1 ssh://address@hidden/srv/git/hello.git
+
+### Subsystem SVN
+
+Savannah is using ViewVC for Subversion repository web browsing.
+
+ apt-get install subversion viewvc
+
+Install this xinetd file to start the svnserve daemon as needed.
+
+ service svn
+ {
+ port = 3690
+ socket_type = stream
+ protocol = tcp
+ wait = no
+ user = nobody
+ server = /opt/savannah/bin/timeout-svn-daemon
+ server_args = -i -r /srv/svn/
+ }
+
+Install this /opt/savannah/bin/timeout-svn-daemon file.
+
+ #!/bin/sh
+ exec nice -n 9 timeout --signal=SIGKILL 480m /usr/bin/svnserve "$@"
+
+FIXME: Document ViewVC setup.
+
+For testing purposes the following needs to work. Where $USER
+represents a valid Savannah account name.
+
+ works: svn ls svn://svn.savannah.gnu.org/administration/trunk
+ works: svn ls svn+ssh://svn.savannah.gnu.org/administration/trunk
+ works: svn ls http://svn.savannah.gnu.org/svn/administration/trunk
+ fails: svn ls https://svn.savannah.gnu.org/svn/administration/trunk
+
+ works: svn ls svn://svn0.savannah.gnu.org/administration/trunk
+ works: svn ls svn+ssh://address@hidden/administration/trunk
+ fails: svn ls http://svn0.savannah.gnu.org/svn/administration/trunk
+ fails: svn ls http0://svn0.savannah.gnu.org/svn/administration/trunk
+
+ works: wget -O/dev/null http://svn.sv.gnu.org/viewvc/?root=administration
+ works: wget -O/dev/null
http://svn.savannah.gnu.org/viewvc/?root=administration
+ works: wget -O/dev/null
http://svn.sv.nongnu.org/viewvc/?root=administration
+ works: wget -O/dev/null
http://svn.savannah.nongnu.org/viewvc/?root=administration
+
+ works: wget -O/dev/null http://svn0.sv.gnu.org/viewvc/?root=administration
+ works: wget -O/dev/null
http://svn0.savannah.gnu.org/viewvc/?root=administration
+ works: wget -O/dev/null
http://svn0.sv.nongnu.org/viewvc/?root=administration
+ works: wget -O/dev/null
http://svn0.savannah.nongnu.org/viewvc/?root=administration
+
+ works: wget -O/dev/null https://svn0.savannah.gnu.org/viewvc/
+
+FIXME: The svn0 name needs to go away at some point.
+
+TODO: svn http access is still needing setup. It apparently uses the
+`OPTIONS` http verb and therefore requires special configuration.
+Listed as a `fail` above. I have started down this process.
+
Host download0
--------------
@@ -773,6 +836,4 @@
A place for me to list things that I know about but haven't gotten to yet.
-* Set up /etc/ssh/ssh_known_hosts file.
-
-* Move DNS from internal to internal0. (Easy. Do at last moment.)
+* TODO: Set up /etc/ssh/ssh_known_hosts file.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-cvs] [298] SavannahHosts: Subsystem updates,
bob <=