apk reporting "Failed to read database state: Operation not permitted" when creating a new database
Hello,
when running apk add --initdb --root $(pwd)
in an empty dir I get the following errors:
ERROR: Unable to read database state: Operation not permitted
ERROR: Failed to open apk database: Operation not permitted
apk does create the basic folder structure for a root though. If I do pushd lib/apk/db && touch installed lock scripts.tar triggers && popd
apk add --initdb --root $(pwd)
suddenly works. I currently have to do this for my tests to work: https://gitlab.alpinelinux.org/Cogitri/apk-polkit/blob/master/tests/apkd/prepare.sh#L7`