-
Notifications
You must be signed in to change notification settings - Fork 117
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
qemu build runner does not preserve setuid/setgid/extended attributes in built packages #1731
Comments
Odd, in my sudo build log, I'm not seeing the following step be run after the
but in the
but the resulting package does not contain anything setuid/setgid man:
|
The qemu runner also does not keep fscaps (and likely not acls and xattrs as well). This can be seen by building the Building via
but the apk when installed doesn't have it set:
|
when building with the qemu runner, packages that set and should contain setuid binaries do not do so. For example, building the sudo package like so:
results in a sudo apk that does not have the setuid bit set on
/usr/bin/sudo
:unlike the pacakge in the wolfi archive:
This can also be seen when installing the resulting package in a wolfi container:
The
man-db
package build is another one that suffers from this, and is a good separate test case, as the packaging is intended to make/usr/bin/man
setuid/setgidman
.The text was updated successfully, but these errors were encountered: