[PKG-IRC-Maintainers] Bug#507259: Create /var/run/ngircd/ when starting the daemon

Adrien Cunin adri2000 at ubuntu.com
Sat Nov 29 14:14:31 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngircd-var-run-tmpfs.patch
Type: text/x-diff
Size: 858 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-irc-maintainers/attachments/20081129/b7f2dcb9/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-irc-maintainers/attachments/20081129/b7f2dcb9/attachment.pgp 


More information about the Pkg-irc-maintainers mailing list