[Pkg-irc-commits] r285 - in /packages/ngircd/trunk/debian: ngircd.README.Debian ngircd.init

cbiedl-guest at users.alioth.debian.org cbiedl-guest at users.alioth.debian.org
Sun Nov 13 17:02:22 UTC 2011


Author: cbiedl-guest
Date: Sun Nov 13 17:02:21 2011
New Revision: 285

URL: http://svn.debian.org/wsvn/pkg-irc/?sc=1&rev=285
Log:
[ngircd] Assert ngIRCd starts with UID/GID "irc"

This restores the behaviour of ngircd up to 15-0.1, so ngIRCD will run
as "irc" even if UID/GID are not configured. At the price of warning
messages, so document them.

Modified:
    packages/ngircd/trunk/debian/ngircd.README.Debian
    packages/ngircd/trunk/debian/ngircd.init

Modified: packages/ngircd/trunk/debian/ngircd.README.Debian
URL: http://svn.debian.org/wsvn/pkg-irc/packages/ngircd/trunk/debian/ngircd.README.Debian?rev=285&op=diff
==============================================================================
--- packages/ngircd/trunk/debian/ngircd.README.Debian (original)
+++ packages/ngircd/trunk/debian/ngircd.README.Debian Sun Nov 13 17:02:21 2011
@@ -5,6 +5,23 @@
 -------
 For generic information, including the new names of configuration
 variables, see /usr/share/doc/ngircd/INSTALL.gz
+
+Debian specific
+---------------
+The configuration of the user and group ID ngIRCd runs as has
+changed in ngircd 18-1. If you see messages like
+
+    Can't change group ID to 65534: Operation not permitted
+
+Change the lines
+
+    ;ServerUID = 65534
+    ;ServerGID = 65534
+
+into
+
+    ServerGID = irc
+    ServerUID = irc
 
 
 TLS support

Modified: packages/ngircd/trunk/debian/ngircd.init
URL: http://svn.debian.org/wsvn/pkg-irc/packages/ngircd/trunk/debian/ngircd.init?rev=285&op=diff
==============================================================================
--- packages/ngircd/trunk/debian/ngircd.init (original)
+++ packages/ngircd/trunk/debian/ngircd.init Sun Nov 13 17:02:21 2011
@@ -63,6 +63,7 @@
 	--pidfile "$PIDFILE" --exec "$DAEMON" \
 	--test > /dev/null || return 1
     start-stop-daemon --start --quiet \
+	--chuid "$DAEMONUSER:$DAEMONUSER" \
 	--pidfile "$PIDFILE" --exec "$DAEMON" -- \
 	$DAEMON_ARGS || return 2
     # Add code here, if necessary, that waits for the process to be ready




More information about the Pkg-irc-commits mailing list