binpash / try

Inspect a command's effects before modifying your live system
MIT License
5.18k stars 66 forks source link

try lacks user caps #131

Open ezrizhu opened 11 months ago

ezrizhu commented 11 months ago
eric@ide0:~/try$ ./try ping -c1 1.1
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted
ezrizhu commented 11 months ago

adding --keep-caps to the first unshare invocation fixes it in ubuntu but not debian.

ezrizhu commented 11 months ago

this issue is also just not reproducible on ubuntu, will have to do more tests on other distros…

Ubuntu ❯ unshare -V unshare from util-linux 2.37.2

Debian λ unshare -V
unshare from util-linux 2.39.2