On Fri, Dec 02, 2011 at 10:28:00PM +0100, Helmut Grohne wrote: > As it turns out even that was too simple. Thanks to Jan Luebbe for the > pointers. Updated NMU diff.
Also silence that warning about update-rc.d for legacy systems. See http://piuparts.debian.org/sid/initdscript_lsb_header_issue.html. Thanks to jan Luebbe. Updated NMU diff. 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 -- start 20 S . stop 20 . 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,26 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: pidentd-run-dir +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Default-Start: S +# Default-Stop: +# 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|restart|reload|force-reload) + mkdir -p /var/run/identd + chown identd:nogroup /var/run/identd + chmod 755 /var/run/identd + ;; + stop) + ;; + status) + test -d /var/run/identd || exit 4 + exit 0 + ;; +esac