Subject: Re: bug#35662: Really relocatable binaries crash with Permission denied

From: Ludovic Courtès <[email-masked]>
Date: Fri, 10 May 2019 23:50:19 +0200

Hello,

"pelzflorian (Florian Pelz)" <[email-masked]> skribis:

> The manual gives the following example of guix pack -RR:
>
>       guix pack -RR -S /mybin=bin bash
>       tar xf pack.tar.gz
>       ./mybin/sh
>
> This fails on my university’s server for students which uses Linux
> container “VMs” with Ubuntu and has no user namespace support and Guix
> is not installed.  This single line is all output:
>
> $ ./mybin/sh
> sh: run.c:162: bind_mount: Unexpected error: Permission denied.

That suggests the wrapper chose the user namespace method (not PRoot),
but that didn’t quite work.

Could you post the output of:

  strace ./mybin/sh

?

TIA!

Ludo’.