Aníbal Monsalve Salazar wrote: > On Thu, May 17, 2007 at 02:21:35AM +0200, Luk Claes wrote: >> tags 417040 + patch >> thanks >> >> Hi, >> >> Attached is the diff for my pidentd 3.0.19.ds1-1.1 NMU during the >> current BSP which I uploaded to delayed-0. > > Hello Luk :)
Hi Anibal > After building pidentd with this patch and running piuparts, I get > the following message: > > Removing pidentd ... > Purging configuration files for pidentd ... > /var/lib/dpkg/info/pidentd.postrm: line 10: /usr/sbin/userdel: No such file > or directory > dpkg: error processing pidentd (--purge): > subprocess post-removal script returned error exit status 1 > Errors were encountered while processing: > pidentd > > Why the "line 10: /usr/sbin/userdel: No such file or directory" > error message? I didn't spot the '!'... fixed now. Cheers Luk >> -- >> Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D >> Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D > >> 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-1.1) unstable; urgency=high >> + >> + * Non-maintainer upload during BSP. >> + * Fix unconditional use of deluser in postrm (Closes: #417040). >> + * Depend on update-inetd as it is used in prerm and postinst. >> + * Fix broken changelog entries. >> + >> + -- Luk Claes <[EMAIL PROTECTED]> Thu, 17 May 2007 02:19:59 +0200 >> + >> pidentd (3.0.19.ds1-1) unstable; urgency=low >> >> * New upstream release. >> @@ -102,25 +111,25 @@ >> >> -- Herbert Xu <[EMAIL PROTECTED]> Sun, 27 Oct 2002 22:01:01 +1100 >> >> -${Source} (3.0.12-4) unstable; urgency=low >> +pidentd (3.0.12-4) unstable; urgency=low >> >> * Removed comment about RFC compliance from identd.conf (closes: #107595). >> >> -- Herbert Xu <[EMAIL PROTECTED]> Sun, 2 Sep 2001 11:23:29 +1000 >> >> -${Source} (3.0.12-3) unstable; urgency=low >> +pidentd (3.0.12-3) unstable; urgency=low >> >> * Check uid before dropping privileges (Shane Wegner, closes: #96150). >> >> -- Herbert Xu <[EMAIL PROTECTED]> Thu, 3 May 2001 19:11:18 +1000 >> >> -${Source} (3.0.12-2) unstable; urgency=low >> +pidentd (3.0.12-2) unstable; urgency=low >> >> * Build-depend on libssl-dev (closes: #90387). >> >> -- Herbert Xu <[EMAIL PROTECTED]> Tue, 20 Mar 2001 21:44:51 +1100 >> >> -${Source} (3.0.12-1) unstable; urgency=low >> +pidentd (3.0.12-1) unstable; urgency=low >> >> * New upstream release. >> * Only attempt to open /proc/net/tcp once (closes: #86988). >> @@ -129,27 +138,27 @@ >> >> -- Herbert Xu <[EMAIL PROTECTED]> Fri, 23 Feb 2001 07:47:20 +1100 >> >> -${Source} (3.0.11-3) unstable; urgency=low >> +pidentd (3.0.11-3) unstable; urgency=low >> >> * Reinstated the Replaces netstd header which got lost when pidentd-des was >> created (closes: #77152). >> >> -- Herbert Xu <[EMAIL PROTECTED]> Thu, 16 Nov 2000 21:33:20 +1100 >> >> -${Source} (3.0.11-2) unstable; urgency=low >> +pidentd (3.0.11-2) unstable; urgency=low >> >> * Added links to syslog.conf(5) in identd(8) (closes: #68407). >> >> -- Herbert Xu <[EMAIL PROTECTED]> Tue, 4 Jul 2000 13:41:05 +1000 >> >> -${Source} (3.0.11-1) unstable; urgency=low >> +pidentd (3.0.11-1) unstable; urgency=low >> >> * New upstream release. >> * Added missing build dependency on debhelper (closes: #66008). >> >> -- Herbert Xu <[EMAIL PROTECTED]> Tue, 4 Jul 2000 13:41:05 +1000 >> >> -${Source} (3.0.10-1) unstable; urgency=low >> +pidentd (3.0.10-1) unstable; urgency=low >> >> * New upstream release. >> * Added the pidentd-des package which supports encryption (closes: #57103). >> diff -u pidentd-3.0.19.ds1/debian/control pidentd-3.0.19.ds1/debian/control >> --- pidentd-3.0.19.ds1/debian/control >> +++ pidentd-3.0.19.ds1/debian/control >> @@ -7,7 +7,7 @@ >> >> Package: pidentd >> Architecture: any >> -Depends: netbase, adduser, passwd, ${shlibs:Depends} >> +Depends: netbase, adduser, passwd, update-inetd, ${shlibs:Depends} >> Provides: ident-server >> Conflicts: ident-server >> Replaces: netstd, pidentd-des (<< 3.0.14) >> diff -u pidentd-3.0.19.ds1/debian/pidentd.postrm >> pidentd-3.0.19.ds1/debian/pidentd.postrm >> --- pidentd-3.0.19.ds1/debian/pidentd.postrm >> +++ pidentd-3.0.19.ds1/debian/pidentd.postrm >> @@ -5,9 +5,9 @@ >> ;; >> purge) >> rm -f /etc/identd.key >> - if ! [ -x /usr/sbin/identd ]; then >> + if ! [ -x /usr/sbin/identd -a -x /usr/sbin/userdel ]; then >> if id -u identd >/dev/null 2>&1; then >> - userdel -r identd >> + /usr/sbin/userdel -r identd >> fi >> # If netbase is not installed, then we don't need to do the >> # remove. > > Best Regards, > > Aníbal Monsalve Salazar