[DRE-maint] Bug#858521: diaspora-common: does 'rm -rf /' on purge

Andreas Beckmann anbe at debian.org
Thu Mar 23 01:17:28 UTC 2017


Package: diaspora-common
Version: 0.6.3.0+debian3
Severity: critical
Justification: breaks the whole system
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package makes havoc in the
chroot.

>From the attached log (scroll to the bottom...):

1m47.3s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpOwZDY2', 'dpkg', '--purge', 'diaspora-common']
1m48.1s DUMP: 
  (Reading database ... 4707 files and directories currently installed.)
  Purging configuration files for diaspora-common (0.6.3.0+debian3) ...
  /var/lib/dpkg/info/diaspora-common.postrm: 63: /var/lib/dpkg/info/diaspora-common.postrm: rm: not found
  dpkg: error processing package diaspora-common (--purge):
   subprocess installed post-removal script returned error exit status 127
  Errors were encountered while processing:
   diaspora-common
1m48.1s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/tmp/piupartss/tmpOwZDY2', 'dpkg', '--purge', 'diaspora-common']
1m48.1s INFO: Running scripts post_purge
1m48.1s DEBUG: Starting command: ['chroot', '/tmp/piupartss/tmpOwZDY2', 'tmp/scripts/post_purge_exceptions']
1m48.1s DUMP: 
  chroot: failed to run command 'tmp/scripts/post_purge_exceptions': No such file or directory
1m48.1s ERROR: Command failed (status=127): ['chroot', '/tmp/piupartss/tmpOwZDY2', 'tmp/scripts/post_purge_exceptions']


This very much looks like an 'rm -rf /' in the chroot ... rm is gone, sh is gone, ...


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diaspora-common_0.6.3.0+debian3.log.gz
Type: application/gzip
Size: 30893 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170323/72d03965/attachment-0001.bin>


More information about the Pkg-ruby-extras-maintainers mailing list