Whole `/home/abuild` tree owned by `root` under `osc shell --vm-type=kvm`
Closed this issue · 2 comments
jirislaby commented
Not sure if this is a rpmbuild bug, osc's, or obs'…
When I build something (e.g. network/dpdk) in a VM:
osc build --root=/dev/shm/jslaby/xxvm --no-verify --download-api-only --disable-debug -x vim -x vim-data -x strace --release 100 --ccache --no-service --vm-type kvm --vm-disk=30000 --alternative-project Kernel:HEAD QA
it can fail for some reason. Then I want to debug the failure inside the VM using osc shell
:
osc shell --root=/dev/shm/jslaby/xxvm --no-verify --download-api-only --disable-debug -x vim -x vim-data -x strace --release 100 --ccache --no-service --vm-type kvm --vm-disk=30000 --alternative-project Kernel:HEAD QA
But the whole tree under /home/abuild
is:
drwxr-xr-x 3 root root 4096 Jul 16 04:40 /home/abuild
owned by root
, so the build failure cannot be actually investigated properly. This didn't use to be the case some months ago.
SUSE Linux Enterprise Server 15 SP6
osc-1.8.3-150600.415.1.noarch
jirislaby commented
It's still owned by 399
/abuild
after osc build
according to debugfs /dev/shm/jslaby/xxvm/img
:
261634 40755 (2) 399 399 4096 16-Jul-2024 08:24 abuild
As soon as /usr/bin/qemu-kvm
of osc shell
starts, it is reowned...
jirislaby commented
Submitted as openSUSE/obs-build#1014 instead