Your message dated Mon, 05 Apr 2010 21:48:54 +0000
with message-id <e1nyuaa-0004h0...@ries.debian.org>
and subject line Bug#573992: fixed in atftp 0.7.dfsg-9
has caused the Debian Bug report #573992,
regarding postrm uses rm instead of rmdir to remove directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
573992: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573992
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: atftpd
Version: 0.7.dfsg-8
Severity: serious
Tags: patch

Postrm removes the tftp directory with rm -f instead of rmdir, giving
the following error when removing the package:

Removing atftpd ...
Purging configuration files for atftpd ...
rm: cannot remove `/srv/tftp': Is a directory
dpkg: error processing atftpd (--purge):
 subprocess installed post-removal script returned error exit status

This should fix it:

--- debian/atftpd.postrm.orig   2010-03-15 14:43:28.000000000 +0100
+++ debian/atftpd.postrm        2010-03-15 14:59:08.000000000 +0100
@@ -18,7 +18,7 @@
     fi
 
     if [ -d $BASEDIR ]; then
-        rm -f $BASEDIR
+        rmdir --ignore-fail-on-non-empty $BASEDIR
     fi
 
     # logrotate 


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages atftpd depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libpcre3                      7.8-3      Perl 5 Compatible Regular Expressi
ii  libwrap0                      7.6.q-18   Wietse Venema's TCP wrappers libra
ii  update-inetd                  4.36       inetd configuration file updater

Versions of packages atftpd recommends:
ii  openbsd-inetd [inet-superse 0.20080125-4 The OpenBSD Internet Superserver

Versions of packages atftpd suggests:
ii  logrotate                     3.7.8-4    Log rotation utility

-- debconf information:
* atftpd/port: 69
* atftpd/tftpd-timeout: 300
* atftpd/mcast_port: 1758
* atftpd/verbosity: 5 (LOG_NOTICE)
* atftpd/timeout: true
* atftpd/tsize: true
* atftpd/retry-timeout: 5
* atftpd/multicast: true
* atftpd/ttl: 1
* atftpd/use_inetd: true
* atftpd/basedir: /srv/tftp
* atftpd/mcast_addr: 239.239.239.0-255
  atftpd/logfile: /var/log/atftpd.log
* atftpd/blksize: true
* atftpd/logtofile: false
* atftpd/maxthread: 100



--- End Message ---
--- Begin Message ---
Source: atftp
Source-Version: 0.7.dfsg-9

We believe that the bug you reported is fixed in the latest version of
atftp, which is due to be installed in the Debian FTP archive:

atftp_0.7.dfsg-9.diff.gz
  to main/a/atftp/atftp_0.7.dfsg-9.diff.gz
atftp_0.7.dfsg-9.dsc
  to main/a/atftp/atftp_0.7.dfsg-9.dsc
atftp_0.7.dfsg-9_i386.deb
  to main/a/atftp/atftp_0.7.dfsg-9_i386.deb
atftpd_0.7.dfsg-9_i386.deb
  to main/a/atftp/atftpd_0.7.dfsg-9_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 573...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ludovic Drolez <ldro...@debian.org> (supplier of updated atftp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 29 Mar 2010 18:55:55 +0200
Source: atftp
Binary: atftp atftpd
Architecture: source i386
Version: 0.7.dfsg-9
Distribution: unstable
Urgency: medium
Maintainer: Ludovic Drolez <ldro...@debian.org>
Changed-By: Ludovic Drolez <ldro...@debian.org>
Description: 
 atftp      - advanced TFTP client
 atftpd     - advanced TFTP server
Closes: 573992 574211
Changes: 
 atftp (0.7.dfsg-9) unstable; urgency=medium
 .
   * urgency=medium RC bug.
   * use rmdir instead of rm in postrm. Closes: #573992, #574211
   * added $remote_fs in Required-Start
Checksums-Sha1: 
 a39fee70e5d86775c41c75cd012d53404ed7f025 1016 atftp_0.7.dfsg-9.dsc
 12f889fb1e02726c73c5072a6e3d47c0f0762534 52300 atftp_0.7.dfsg-9.diff.gz
 63bb376929830890e165fda5ef9becca5c899781 28866 atftp_0.7.dfsg-9_i386.deb
 8684cfc34fa6b3f3d806f38a65823d78993df5f6 59172 atftpd_0.7.dfsg-9_i386.deb
Checksums-Sha256: 
 be2a4563dc6b735303e22d61052b49e619e79a30ae9f24e7e7cb8f4c5b199fa7 1016 
atftp_0.7.dfsg-9.dsc
 9ce4654b312d19cb797d5d99b9ca3e1ff38551980430af02f9d2cd7cb87d5ca4 52300 
atftp_0.7.dfsg-9.diff.gz
 6ff4ff1f24fbc0c1daf8e88ecd300a069f6029ae74a11c9dc09427fd7ea36be1 28866 
atftp_0.7.dfsg-9_i386.deb
 62344a0b06e4bd4723e05b62205311ab7ea5aaf2313762941b0112322260786a 59172 
atftpd_0.7.dfsg-9_i386.deb
Files: 
 3855053286e721761caa5ca5c6c14636 1016 net extra atftp_0.7.dfsg-9.dsc
 9ca540e022432ea72157102fd2fddf3b 52300 net extra atftp_0.7.dfsg-9.diff.gz
 090112da2e38d3c158b9d6db72829a59 28866 net extra atftp_0.7.dfsg-9_i386.deb
 5322d1497d0e676d896587e2917c2b56 59172 net extra atftpd_0.7.dfsg-9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkuw8b0ACgkQsRlQAP1GppjYWACfW3hoBOwVro7RKBDu0MEKsS8Y
m70AoI14+xlhnNiOg3aobIG4/OF9VUFC
=X3Oz
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to