-
Notifications
You must be signed in to change notification settings - Fork 327
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
[Errno 13] Permission denied: '/var/cache/dnf/metadata_lock.pid' #3295
Comments
@marc-hb So I think all other users of mkosi have adapted a "run mkosi from git" workflow as we don't really maintain past releases, the fast paced development of mkosi and the fact that it's trivial to run from git without any build step. I see that you're doing a lot of work to add compat for various versions of mkosi to |
Thanks for the openness and advice!
My plan is not to support every mkosi git tag under the sun, I'm just looking for some versions that work for us. The plan is to first make run_qemu compatible with v15+ which was a massive break of compatibility, while not immediately breaking users stuck with v14- for now. Maintaining a temporary compatibility overlap with both v14- and v15+ was not a big challenge because the configuration files are completely distinct. The actual challenges have been: 1. Understanding how v15+ configuration works (mostly done) 2. Bugs and quirks in run_qemu itself. For understanding these, temporary compatibility with v14- is critical. I discovered some run_qemu features that never... worked! 3. Making "some" (not "all") mkosi v15+ versions work. Preferably a range close to the versions released by latest releases of popular distros but not necessarily. The mkosi needs of run_qemu are very basic so I'm optimistic. For 3, it is necessary to know and track mkosi issues, which is the sole reason I filed this. As I wrote in #2730, I opened this bug only for reference; I'm expecting it to be closed as "disappeared in v25" (even though it is not released yet).
That's how I've been testing. However
Yes, just need to find one first ;-)
Newer version, newer bugs... |
mkosi commit the issue has been seen with
v24.3
Used host distribution
Fedora 40
Used target distribution
Fedora 40
Linux kernel version used
6.12
CPU architectures issue was seen on
x86_64
Unexpected behaviour you saw
Initially reported in #2730, a few more details there.
Since v23.1 commit 17010a2 "Fix invoked_as_root initialization" , Fedora 40 build fails immediately as show below. After a revert on top of v24.3, everything works fine again.
Until v23 things were fine and the problem goes away in (not released yet) v25 commit b3a3e7e ("Introduce mkosi-sandbox and stop using subuids for image builds") which rewrites everything.
Strangely, I think this used to work? I think version v24.3 used to work on my system? Or maybe not. Now the bisect is 100% deterministic.
Used mkosi config
mkosi output
The text was updated successfully, but these errors were encountered: