Bug#991059: diffoscope: out-of-memory

Roland Clobus rclobus at rclobus.nl
Thu Aug 12 16:41:23 BST 2021


Answering my own mail.

On 11/08/2021 11:49, Roland Clobus wrote:
> So it appears to me that different code is activated for regular users
> and root.

I think I've found the cause for the different code paths.
The squashfs image contains devices, which can only be extracted as root.

Output of unsquashfs as root, returnvalue = 0:
created 255001 files
created 20202 directories
created 26672 symlinks
created 8 devices
created 0 fifos

Output of unsquashfs as user, returnvalue = 1:
created 255001 files
created 20202 directories
created 26672 symlinks
created 0 devices
created 0 fifos

With squashfuse (mounting the image in userspace) to replace the
unpacking to disc with unsquashfs, this issue might be avoided.

With kind regards,
Roland Clobus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20210812/5c8e4522/attachment.sig>


More information about the Reproducible-builds mailing list