Module: ngircd.git
Branch: master
Commit: 7b6ef3bc8eef8a084bc77155e4cd64a35198aad9
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=7b6ef3bc…
Author: Alexander Barton <alex(a)barton.de>
Date: Wed Mar 28 11:29:26 2012 +0200
FAQ: enhance description of chroot setup
---
doc/FAQ.txt | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/doc/FAQ.txt b/doc/FAQ.txt
index b7a1c94..fe8510b 100644
--- a/doc/FAQ.txt
+++ b/doc/FAQ.txt
@@ -64,11 +64,19 @@ A: ngIRCd does not write its own log file. Instead, ngIRCd uses syslog(3).
Q: I cannot connect to remote peers when I use the chroot option, the
following is logged: "Can't resolve example.com: unknown error!".
+A: see next question blow ...
+
+Q: When running ngIRCd inside a chroot, no IP addresses can be translated
+ in DNS names, errors like "Name or service not known" are logged.
A: On Linux/glibc with chroot enabled you need to put some libraries inside
the chroot as well, notably libnss_dns; maybe others. Unfortunately, even
- linking ngIRCd statically does not help this. The only known workaround
- is to either disable chroot support or to link against dietlibc instead
- of glibc. (tnx to Sebastian Siewior)
+ linking ngIRCd statically does not help this. So you can either copy
+ all the required files into the chroot directory:
+ $ mkdir -p ./chroot/etc ./chroot/lib
+ $ cp -a /etc/hosts /etc/resolv.conf /etc/nsswitch.conf ./chroot/etc/
+ $ cp -a /lib/libresolv* /lib/libnss_* ./chroot/lib/
+ Or you can try to link ngIRCd against an other C library (like dietlibc)
+ that doesn't depend on NSS modules and/or these files.
Q: I have added an [Oper] section, how do i log on as IRC operator?
A: You can use the /OPER command in your IRC client to become an IRC operator.
Module: ngircd.git
Branch: master
Commit: e9be3334d1f0a40e44aac7754d828a4ce28a94b7
URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=e9be3334…
Author: Alexander Barton <alex(a)barton.de>
Date: Mon Mar 12 11:02:17 2012 +0100
Fix manual page "hyphen-used-as-minus-sign" error (lintian)
Thanks to Christoph Biedl for reporting this!
---
man/ngircd.8.tmpl | 6 +++---
man/ngircd.conf.5.tmpl | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/man/ngircd.8.tmpl b/man/ngircd.8.tmpl
index cc2498d..f0703f3 100644
--- a/man/ngircd.8.tmpl
+++ b/man/ngircd.8.tmpl
@@ -1,7 +1,7 @@
.\"
.\" ngircd(8) manual page template
.\"
-.TH ngircd 8 "Jul 2011" ngircd "ngIRCd Manual"
+.TH ngircd 8 "Mar 2012" ngircd "ngIRCd Manual"
.SH NAME
ngIRCd \- the next generation IRC daemon
.SH SYNOPSIS
@@ -78,7 +78,7 @@ It's wise to use "ngircd \-\-configtest" to validate the configuration file
after changing it.
.SH DEBUGGING
When ngIRCd is compiled with debug code, that is, its source code has
-been ./configure'd with "--enable-debug" and/or "--enable-sniffer" (witch
+been ./configure'd with "\-\-enable\-debug" and/or "\-\-enable\-sniffer" (witch
enables debug mode automatically as well), you can use two more command
line options and two more signals to debug problems with the daemon itself
or IRC clients:
@@ -91,7 +91,7 @@ Enable debug mode and log extra messages.
\fB\-s\fR, \fB\-\-sniffer\fR
Enable IRC protocol sniffer, which logs all sent and received IRC commands to
the console/syslog. This option requires that ngIRCd has been ./configure'd
-with "--enable-sniffer" and enables debug mode automatically, too.
+with "\-\-enable\-sniffer" and enables debug mode automatically, too.
.PP
\fBSignals:\fR
.TP
diff --git a/man/ngircd.conf.5.tmpl b/man/ngircd.conf.5.tmpl
index 236883e..85cf73f 100644
--- a/man/ngircd.conf.5.tmpl
+++ b/man/ngircd.conf.5.tmpl
@@ -1,7 +1,7 @@
.\"
.\" ngircd.conf(5) manual page template
.\"
-.TH ngircd.conf 5 "Jun 2011" ngircd "ngIRCd Manual"
+.TH ngircd.conf 5 "Mar 2012" ngircd "ngIRCd Manual"
.SH NAME
ngircd.conf \- configuration file of ngIRCd
.SH SYNOPSIS