[Piuparts-devel] Bug#478577: piuparts: debfoster requires /proc/stat

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 1 09:53:42 UTC 2008


On 01/05/08 at 01:15 +0200, Tobias Grimm wrote:
> > Feature request: please also check where /proc should be ignored in
> > piuparts code. One place I found is the code for the '-s' option (save
> > tarball), which now generates a tar of my /proc
> 
> You're right, I missed to test this case.
> 
> I think writing back the tarball is the only place, where /proc
> should not be mounted. It would be nice, if /proc/* could simply
> be excluded, but this is possible only in Python 2.6.

i'm wondering whether it wouldn't be better to directly call tar,
instead of relying on the tarfile module. After all, tar is called
directly to extract the tarball.

Piuparts devs, what do you think?
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20080501/2b565515/attachment.pgp 


More information about the Piuparts-devel mailing list