Your message dated Thu, 22 Sep 2011 18:02:46 +0000
with message-id <[email protected]>
and subject line Bug#519136: fixed in ircd-hybrid 1:7.2.2.dfsg.2-6.3
has caused the Debian Bug report #519136,
regarding ircd-hybrid: should create /var/run/ircd at boot time
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.)
--
519136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519136
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ircd-hybrid
Version: 1:7.2.2.dfsg.2-6
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch jaunty
(This bug was originally filed by Richard Kettlewell as
https://bugs.launchpad.net/ubuntu/+source/ircd-hybrid/+bug/337715.)
The next version of the Debian Policy Manual will include the following
requirement:
/var/run and /var/lock may be mounted as temporary filesystems, so the
init.d scripts must handle this correctly. This will typically amount
to creating any required subdirectories dynamically when the init.d
script is run, rather than including them in the package and relying
on dpkg to create them.
ircd-hybrid does not currently handle this correctly. Here's a patch to
make it do so.
* Create /var/run/ircd on start/restart rather than relying on the
directory shipped in the package, since /var/run may be a tmpfs
(LP: #337715).
Thanks,
--
Colin Watson [[email protected]]
diff -u ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.postinst.in ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.postinst.in
--- ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.postinst.in
+++ ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.postinst.in
@@ -33,7 +33,7 @@
# owned by irc. Or the initscript will get owned. If it's already this
# way, this operation makes no difference.
- chown irc:irc /var/run/ircd /var/log/ircd /etc/ircd-hybrid
+ chown irc:irc /var/log/ircd /etc/ircd-hybrid
chmod 770 /etc/ircd-hybrid
if [ "$RET" = "true" ]; then
diff -u ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.init ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.init
--- ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.init
+++ ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.init
@@ -36,6 +36,8 @@
if [ "$START" = "yes" ]
then
echo -n "Starting $DESC: $NAME"
+ mkdir -p -m 755 /var/run/ircd
+ chown irc:irc /var/run/ircd
start-stop-daemon --start --quiet \
-u irc -c irc --exec $DAEMON -- -pidfile /var/run/ircd/$NAME.pid \
> /dev/null
@@ -74,6 +76,8 @@
--exec $DAEMON -- -pidfile /var/run/ircd/$NAME.pid
sleep 1
fi
+ mkdir -p -m 755 /var/run/ircd
+ chown irc:irc /var/run/ircd
start-stop-daemon --start --quiet \
-u irc -c irc --exec $DAEMON -- -pidfile /var/run/ircd/$NAME.pid \
> /dev/null
diff -u ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.dirs ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.dirs
--- ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.dirs
+++ ircd-hybrid-7.2.2.dfsg.2/debian/ircd-hybrid.dirs
@@ -1,3 +1,2 @@
-var/run/ircd
var/log/ircd
usr/share/lintian/overrides
diff -u ircd-hybrid-7.2.2.dfsg.2/debian/rules ircd-hybrid-7.2.2.dfsg.2/debian/rules
--- ircd-hybrid-7.2.2.dfsg.2/debian/rules
+++ ircd-hybrid-7.2.2.dfsg.2/debian/rules
@@ -277,7 +277,7 @@
dh_fixperms -a
- chown irc:irc debian/ircd-hybrid/var/run/ircd debian/ircd-hybrid/var/log/ircd
+ chown irc:irc debian/ircd-hybrid/var/log/ircd
chown -R irc:irc $(I_ETC)
chmod -R 660 $(I_ETC)
ifdef USE_OPENSSL
@@ -285,7 +285,6 @@
cp debian/cert.cnf $(I_ETC)
endif
chmod ug+x $(I_ETC)
- chmod 755 debian/ircd-hybrid/var/run/ircd
chmod -x $(I_DOC)/examples/simple.conf
dh_installinit -a -n
--- End Message ---
--- Begin Message ---
Source: ircd-hybrid
Source-Version: 1:7.2.2.dfsg.2-6.3
We believe that the bug you reported is fixed in the latest version of
ircd-hybrid, which is due to be installed in the Debian FTP archive:
hybrid-dev_7.2.2.dfsg.2-6.3_all.deb
to main/i/ircd-hybrid/hybrid-dev_7.2.2.dfsg.2-6.3_all.deb
ircd-hybrid_7.2.2.dfsg.2-6.3.diff.gz
to main/i/ircd-hybrid/ircd-hybrid_7.2.2.dfsg.2-6.3.diff.gz
ircd-hybrid_7.2.2.dfsg.2-6.3.dsc
to main/i/ircd-hybrid/ircd-hybrid_7.2.2.dfsg.2-6.3.dsc
ircd-hybrid_7.2.2.dfsg.2-6.3_i386.deb
to main/i/ircd-hybrid/ircd-hybrid_7.2.2.dfsg.2-6.3_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.
gregor herrmann <[email protected]> (supplier of updated ircd-hybrid 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: SHA256
Format: 1.8
Date: Tue, 20 Sep 2011 19:17:42 +0200
Source: ircd-hybrid
Binary: ircd-hybrid hybrid-dev
Architecture: source all i386
Version: 1:7.2.2.dfsg.2-6.3
Distribution: unstable
Urgency: low
Maintainer: Joshua Kwan <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Description:
hybrid-dev - development files for ircd-hybrid
ircd-hybrid - high-performance secure IRC server
Closes: 511611 519136 640559
Changes:
ircd-hybrid (1:7.2.2.dfsg.2-6.3) unstable; urgency=low
.
* NMU.
* Merge Ubuntu diff:
.
[ Colin Watson ]
* Update 16_use_debian_pcre.dpatch to link dynamically with libpcre rather
than statically (closes: #640559, LP: #749282).
.
[ Bhavani Shankar ]
* Create /var/run/ircd on start/restart rather than relying on the directory
shipped in the package, since /var/run may be a tmpfs
(closes: #519136, LP: #337715).
* Prevent conflict with other ircds: remove Conflicts: ircd. inspircd and
ircd-ratbox are the only current ircds that aren't explicitly conflicted
with, and there are no file conflicts with those packages
(closes: #511611, LP: #375619).
.
[ gregor herrmann ]
* Add $remote_fs to Required-{Start,Stop} in debian/ircd-hybrid.init
(lintian error).
Checksums-Sha1:
dbe4cafa481edbe50b0bb837399b95ca19ff547a 1850 ircd-hybrid_7.2.2.dfsg.2-6.3.dsc
977120977f8ea6841b3818c7c4ac5b7028c42f57 116965
ircd-hybrid_7.2.2.dfsg.2-6.3.diff.gz
77e3d0dcd7e8630bf070dbde1b4aaff03438720f 64818
hybrid-dev_7.2.2.dfsg.2-6.3_all.deb
12c1a544b9c96a1a1fb6df97c5c0405c32637e52 571854
ircd-hybrid_7.2.2.dfsg.2-6.3_i386.deb
Checksums-Sha256:
f70d213a8fc907d74232b6c129a18ea3ea861e0fb558adf02f520c2b6c77607d 1850
ircd-hybrid_7.2.2.dfsg.2-6.3.dsc
1c07cb7385e8c4a10667f9bceb0fcfe79a95ddc5f49a0e98c8f78fe5134355b7 116965
ircd-hybrid_7.2.2.dfsg.2-6.3.diff.gz
f1d496a293bc755ab0425413f890b4e832c580334a2e4f09bc8a0700b66b6aaa 64818
hybrid-dev_7.2.2.dfsg.2-6.3_all.deb
a9fbd7016918f10191d4d76ee205f2ac3e802a660c5aef067e0a5a78f7b97c3b 571854
ircd-hybrid_7.2.2.dfsg.2-6.3_i386.deb
Files:
2766ddecdcc95a11e7d5e3926550c9b4 1850 net optional
ircd-hybrid_7.2.2.dfsg.2-6.3.dsc
952a6bf874735eefd57730cbfde70ac3 116965 net optional
ircd-hybrid_7.2.2.dfsg.2-6.3.diff.gz
fee0057d8bb0092d919245f11dc8f38d 64818 devel optional
hybrid-dev_7.2.2.dfsg.2-6.3_all.deb
b5a299c555e99fd15ca885b1da679e38 571854 net optional
ircd-hybrid_7.2.2.dfsg.2-6.3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJOeM/mAAoJELs6aAGGSaoGsjcP/2xbgTAI5X64v7gol5d34meB
1ta9/jVvCrLX2V18FQfei999sc7BIsz1jukVj1jhasAR6ygEJqDiQB6UrFndqLCk
ct00ur2J/nIDZFyQj4WHp5fadiTmgbWk5EOHZ4FARbfJDoPea4PbRmDAk4vl1lXG
3IQgSHj6mRwlfpe2Yh5TbfDURpQ1mpj5poRfWFR5qPOz3gZa7TUaAnI0TCP5ejLL
A76c1GEzWQI0GPq3dYaNwTKo5kyQcm8MGxKRaEY7y24ZjaVnv95KINy9lV5ORxzW
4QtEoGtHYVEpBrjqKFjnOxIQ/HKHD/LrzKePbSEO/ka+6KvAeJlXbZl5aJB0t6Ga
OKd1zgGaX0AQHLXSsRBm4h/icdREg87hOXdknqQdW+aMMDestixnFHmcO0JL/XKl
hVPIXAXyEgYuv+mDaa9uFBybuCuvOOP1zLNBJFFV/ifN+nP43n4wf/Q1rrOGlu/Z
53LSdB7n8lQCZETYcaw9umSrAZWDxrLl9wgOE81XQPcr8Qjt9aRTADdOKhxnmvQ8
zQCstbR0zJ9yxX9AfzTxMHYjGUxj+Z2L1jx6T0kejGn0G++wbIe96QuEj0Y/tork
jxcU5lcR/HcWf5s6jGsQWplnvbxa5ZdfI2qebSw1nHa3msSqlLAyV2g/N0vQJyz3
1TplPfwjFkFjVivrmos/
=Gj5S
-----END PGP SIGNATURE-----
--- End Message ---