On Thu, Feb 15, 2007 at 07:44:57PM +1100, John Zaitseff wrote: > 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
The script needs to be a bit longer. NMU attached. Helmut
diff -u pidentd-3.0.19.ds1/debian/changelog pidentd-3.0.19.ds1/debian/changelog --- pidentd-3.0.19.ds1/debian/changelog +++ pidentd-3.0.19.ds1/debian/changelog @@ -1,3 +1,12 @@ +pidentd (3.0.19.ds1-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "pidentd does not work with /var/run mounted as a tmpfs file + system" apply the solution proposed by John Zaitseff adding an init + script (Closes: #411019) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 02 Dec 2011 19:13:18 +0100 + pidentd (3.0.19.ds1-5) unstable; urgency=low * Priority is optional; closes: #416570, #492060 diff -u pidentd-3.0.19.ds1/debian/rules pidentd-3.0.19.ds1/debian/rules --- pidentd-3.0.19.ds1/debian/rules +++ pidentd-3.0.19.ds1/debian/rules @@ -89,6 +89,7 @@ dh_installexamples dh_installmenu dh_installman + dh_installinit ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) dh_strip endif only in patch2: unchanged: --- pidentd-3.0.19.ds1.orig/debian/pidentd.init +++ pidentd-3.0.19.ds1/debian/pidentd.init @@ -0,0 +1,20 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: pidentd-run-dir +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: setup for pidentd +# Description: create /var/run/identd for pidentd +### END INIT INFO + +[ -x /usr/sbin/identd ] || exit 0 + +case "$1" in + start) + mkdir -p /var/run/identd + chown identd:nogroup /var/run/identd + chmod 755 /var/run/identd + ;; +esac