Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whole /home/abuild tree owned by root under osc shell --vm-type=kvm #1602

Closed
jirislaby opened this issue Jul 16, 2024 · 2 comments
Closed

Whole /home/abuild tree owned by root under osc shell --vm-type=kvm #1602

jirislaby opened this issue Jul 16, 2024 · 2 comments
Labels

Comments

@jirislaby
Copy link

jirislaby commented Jul 16, 2024

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 jirislaby added the Bug label Jul 16, 2024
@jirislaby
Copy link
Author

jirislaby commented Jul 16, 2024

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
Copy link
Author

Submitted as openSUSE/obs-build#1014 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant