Hello,

On my side with virtme-ng, the issue is that at that time (init script
in a VM), /proc is the one of the host, not a new procfs for the guest.
A workaround (because Apparmor could eventually support this case where
/proc is wrong?) has been put in place:
https://github.com/arighi/virtme-ng/pull/541

The issue might be similar in a container where `/proc/self/exe` is not
pointing to itself.

A workaround that could be put in place in Ubuntu is to replace `rust-
coreutils`'s `env` with individual `uu_env` binary. (Suggested by oech3)

Cheers,
Matt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2171960

Title:
  require-utility patch breaks env-shebang scripts in VMs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2171960/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to