You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found an issue that prevents me to use Alpine Linux abuild tool on it. abuild has to be executed by a non-root user with sudo but fails with Cannot lock database error while trying to install the dependencies with apk add.
I was able to minimize the problem to these steps:
docker run -it --rm multiarch/alpine:aarch64-edge sh
apk add sudo
adduser xyz
echo "xyz ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers
su xyz
sudo ls -la
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
If I replace multiarch/alpine:aarch64-edge with alpine:3 at step 1 then everything is OK.
Hi!
Thank you for this project! It is really helpful!
I've found an issue that prevents me to use Alpine Linux
abuild
tool on it.abuild
has to be executed by a non-root user withsudo
but fails withCannot lock database
error while trying to install the dependencies withapk add
.I was able to minimize the problem to these steps:
If I replace
multiarch/alpine:aarch64-edge
withalpine:3
at step 1 then everything is OK.It looks similar to these issues:
Any idea how to work it around ?
The text was updated successfully, but these errors were encountered: