-
Notifications
You must be signed in to change notification settings - Fork 72
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
mkosi-mainline tests failing #283
Comments
I tried to debug but without much success, this looks quite obscure (pid 5 is dpkg itself). Packages actually installed after faulty dpkg run but I fear we cannot just ignore exit status (1) of it because of other possible errors. Idea 1: Maybe we can check if new kernel files are appeared then ignore ps. Also this error happens on second run of prepare script. But we need both runs, first for building LKRG, second for creating boot image. pps. (I found to to debug this.) It seems that lock issue is triggered by mkosi's own dracut hook script |
Mkosi's own dracut hook, which is triggered from `dpkg -i`, calls `dpkg-reconfigure` causing dpkg frontend lock conflict. But `initrd.img` is generated correctly. Workaround by ignoring `dpkg-reconfigure` errors in the hook. dpkg: error: dpkg frontend lock was locked by another process with pid 5 Note: removing the lock file is always wrong, can damage the locked area and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>. run-parts: /etc/kernel/postinst.d/zz-systemd-boot exited with return code 2 Link: lkrg-org#283 Signed-off-by: Vitaly Chikunov <[email protected]>
Mkosi's own dracut hook, which is triggered from `dpkg -i`, calls `dpkg-reconfigure` causing dpkg frontend lock conflict. But `initrd.img` is generated correctly. Workaround by ignoring `dpkg-reconfigure` errors in the hook. dpkg: error: dpkg frontend lock was locked by another process with pid 5 Note: removing the lock file is always wrong, can damage the locked area and the entire system. See <https://wiki.debian.org/Teams/Dpkg/FAQ#db-lock>. run-parts: /etc/kernel/postinst.d/zz-systemd-boot exited with return code 2 Link: #283 Signed-off-by: Vitaly Chikunov <[email protected]>
Fixed in #284. |
This has been happening for a while, @vt-alt:
The text was updated successfully, but these errors were encountered: