[Piuparts-devel] Bug#709348: piuparts: reports bogus debsums failure for /usr/sbin/policy-rc.d

Helmut Grohne helmut at subdivi.de
Wed May 22 17:06:59 UTC 2013


Package: piuparts
Version: 0.51
Severity: normal

TL;DR: piuparts + pbuilder + cdebootstrap = boom

When piuparts extracts a base.tgz, it places its own
/usr/sbin/policy-rc.d script to deny daemon execution. This is all good
and fine until a package provides this location and ships a .md5sums
file. Then piuparts will run debsums and discover that
/usr/sbin/policy-rc.d has changed. Indeed it has. The cause is piuparts.

There are two packages triggering this issue:

 * cdebootstrap places a package cdebootstrap-helper-rc.d inside the
   bootstrapped tree. This package owns /usr/sbin/policy-rc.d to do the
   very same thing as piuparts intends to do. Just those files are not
   equal.

 * policyrcd-script-zg2 is another legitimate provider for this script.

TTBOMK there is no obvious fix here. Not providing the script could
allow daemon execution. Maybe it could be filtered out of the output of
debsums? Any other ideas?

Helmut



More information about the Piuparts-devel mailing list