]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: temporarily disable panic_on_warn
authorLuca Boccassi <luca.boccassi@gmail.com>
Mon, 16 Dec 2024 17:13:08 +0000 (17:13 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 20 Dec 2024 19:43:57 +0000 (19:43 +0000)
Due to a BTRFS issue in kernel 6.12 (and backported in Ubuntu to 6.8)
there's a warning triggered by some tests, and it then causes a panic.

The BTRFS issue has a patch but it is not available in any distro yet,
so disable panic_on_warn until it reaches Arch and Ubuntu Noble. Bugs
have been filed.

(cherry picked from commit 930d65ccca8193a8cb635099c55852b677f5d58a)
(cherry picked from commit 72ef5ac211b1d578dfd7630301d8c2bb73439819)

mkosi.conf

index 9a5fd470d26e32d13dda5e08378da2bd0342325d..dbaaba3c189e6f8dc46e316d1ee14d0bd2e3938a 100644 (file)
@@ -73,7 +73,8 @@ KernelCommandLine=
         oops=panic
         panic=-1
         softlockup_panic=1
-        panic_on_warn=1
+        # Disabled due to BTRFS issue, waiting for the fix to become available
+        panic_on_warn=0
         # These don't ship proper units with [Install] directives so we have to mask them instead.
         systemd.mask=isc-dhcp-server.service
         systemd.mask=mdmonitor.service