Your message dated Tue, 23 Dec 2008 18:17:04 +0000
with message-id <[email protected]>
and subject line Bug#507259: fixed in ngircd 0.12.1-2
has caused the Debian Bug report #507259,
regarding Create /var/run/ngircd/ when starting the daemon
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
507259: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507259
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ngircd
Version: 0.12.1-1
Severity: minor
Tags: patch
When /var/run/ is a tmpfs (that's the case in Ubuntu), the /var/run/ngircd/
directory needs to be re-created after, for example, a reboot of the system.
Before starting the daemon, the ngircd init script should check whether the
directory exists, and if not, should create it and give it proper permissions.
I took the few bash lines from the postinst script, and changed them to use
$PIDDIR instead of /var/run/, $PIDDIR being set at the beginning of the script.
See the patch from svn rev. 226 attached.
Once this bug is fixed and the package uploaded, it will allow Ubuntu to
synchronize with Debian.
--
Adrien Cunin aka Adri2000
Index: ngircd.init
===================================================================
--- ngircd.init (révision 226)
+++ ngircd.init (copie de travail)
@@ -36,7 +36,8 @@
DESC="Next generation IRC daemon"
LOGDIR=/var/log/
-PIDFILE=/var/run/ngircd/$NAME.pid
+PIDDIR=/var/run/ngircd
+PIDFILE=$PIDDIR/$NAME.pid
test -x $DAEMON || exit 0
@@ -154,6 +155,13 @@
log_end_msg 0
exit 0
fi
+ # If $PIDDIR doesn't exist, create it and give it proper permissions
+ # Useful if $PIDDIR is in a tmpfs
+ if [ ! -d "$PIDDIR" ]; then
+ mkdir $PIDDIR
+ chown irc:irc $PIDDIR
+ chmod 770 $PIDDIR
+ fi
if start_server ; then
# NOTE: Some servers might die some time after they start,
# this code will detect this issue if STARTTIME is set
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: ngircd
Source-Version: 0.12.1-2
We believe that the bug you reported is fixed in the latest version of
ngircd, which is due to be installed in the Debian FTP archive:
ngircd_0.12.1-2.diff.gz
to pool/main/n/ngircd/ngircd_0.12.1-2.diff.gz
ngircd_0.12.1-2.dsc
to pool/main/n/ngircd/ngircd_0.12.1-2.dsc
ngircd_0.12.1-2_i386.deb
to pool/main/n/ngircd/ngircd_0.12.1-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matt Arnold <[email protected]> (supplier of updated ngircd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 23 Dec 2008 11:54:00 -0500
Source: ngircd
Binary: ngircd
Architecture: source i386
Version: 0.12.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian IRC Team <[email protected]>
Changed-By: Matt Arnold <[email protected]>
Description:
ngircd - Next generation IRC Server
Closes: 507259
Changes:
ngircd (0.12.1-2) unstable; urgency=low
.
* Create /var/run/ngircd/ when starting the daemon Closes: #507259
-- Patch thanks to Adrien Cunin
* Add myself to Uploaders
Checksums-Sha1:
502070a17f2a8ecf18051555fa5cb32c35ebf4cd 1164 ngircd_0.12.1-2.dsc
65166b613352e6c4a6826176e245470e4a9aec6b 10537 ngircd_0.12.1-2.diff.gz
9692aafe328663536b85ca49e4f5b739df9bd559 90942 ngircd_0.12.1-2_i386.deb
Checksums-Sha256:
77812409ce4e75944630661c9af9e2b2e7b2af9d0788d09a95ae8e87a6b34f78 1164
ngircd_0.12.1-2.dsc
ade87b227d251cef00dc1a7ffc47f84a2bb67970db42a2bb4b745d97efb150d0 10537
ngircd_0.12.1-2.diff.gz
c5a9aad92e71f3bd8963d6ac0d7bce3fa10f343490644579c864a2592ca29b0b 90942
ngircd_0.12.1-2_i386.deb
Files:
d672ca83b8bdb6d9becc75fcd2d034db 1164 net optional ngircd_0.12.1-2.dsc
69a4f8134906d90ddfdb3001405865f0 10537 net optional ngircd_0.12.1-2.diff.gz
949fe3ed1a7184cf8f959c114d722012 90942 net optional ngircd_0.12.1-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklRKCEACgkQj3BimscY00e5hQCfbrMXmyCyH9XbscfLWnraaj84
bVEAoJ0Xx7cFjdazQpwikwdSBkImo5YN
=OJg2
-----END PGP SIGNATURE-----
--- End Message ---