Package: pidentd
Version: 3.0.19.ds1-1
Severity: important

The default installation of pidentd on Debian Etch (as of
15-Feb-2007) does not work if /var/run is mounted as a tmpfs file
system (using the RAMRUN=yes option in /etc/default/rcS).

The problem is that pidentd tries to write its process ID to the
file /var/run/identd/identd.pid (controlled by the server:pid-file
directive in /etc/identd.conf); however, the appropriate directory
does not exist: it needs to be recreated on each reboot.  This
directory IS created by the postinst script (fixing bug #56475!),
but that does not help with a tmpfs file system.

The solution is to include a simple /etc/init.d/pidentd script, as
included below, and to link to it as /etc/rcS.d/S20pidentd (although
a different number may be more appropriate).  The script:

    #!/bin/sh

    [ -x /usr/sbin/identd ] || exit 0

    mkdir -p /var/run/identd
    chown identd:nogroup /var/run/identd
    chmod 755 /var/run/identd

Thanks in advance!

Yours truly,

John Zaitseff

-- 
John Zaitseff                    ,--_|\    The ZAP Group
Phone:  +61 2 9643 7737         /      \   Sydney, Australia
E-mail: [EMAIL PROTECTED]   \_,--._*   http://www.zap.org.au/
                                      v


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to