[Piuparts-devel] Bug#440141: piuparts: cron test should not try to run files in /etc/cron.d

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Aug 30 05:26:09 UTC 2007


Package: piuparts
Version: 0.25
Severity: important

Hi,

In the cron test file, if the package installs files in /etc/cron.d,
piuparts tries to run them. Those files are not executables!

Example packages that fail that way: mrtg, vnstat

Example output:
1m12.8s INFO: Package vnstat contains cron file: /etc/cron.d/vnstat
1m12.8s DEBUG: Starting command: ['chroot', '/tmp/tmpkm2P0r',
'/etc/cron.d/vnstat']
1m12.8s DUMP: 
  chroot: cannot run command `/etc/cron.d/vnstat': Permission denied
1m12.8s ERROR: Command failed (status=126): ['chroot',
  '/tmp/tmpkm2P0r', '/etc/cron.d/vnstat']
  chroot: cannot run command `/etc/cron.d/vnstat': Permission denied
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |




More information about the Piuparts-devel mailing list