FS#62450 - [systemd] 242.0: system is unbootable when using mkinitcpio 'systemd' hook
Attached to Project:
Arch Linux
Opened by Sergiu (physicalit) - Tuesday, 23 April 2019, 18:25 GMT
Last edited by Christian Hesse (eworm) - Thursday, 25 April 2019, 13:03 GMT
Opened by Sergiu (physicalit) - Tuesday, 23 April 2019, 18:25 GMT
Last edited by Christian Hesse (eworm) - Thursday, 25 April 2019, 13:03 GMT
|
Details
Description:
I have installed latest updates and then rebooted the laptop. To my surprise, I wasn't able to boot anymore. Unfortunately my failed boot attempts did not registered, so I don't have any log to show you: physicalit@~() $ journalctl --list-boots ...... -3 2f0a728b69d24986b707e8bef7bbf894 Wed 2019-04-17 22:09:19 EEST—Thu 2019-04-18 00:21:52 EEST -2 f4bb2f16f8ec4180bdc8445813eaf506 Thu 2019-04-18 20:37:55 EEST—Sat 2019-04-20 11:54:44 EEST -1 9c0dfeb7758c4e039814062446a2d3c8 Sat 2019-04-20 11:54:54 EEST—Tue 2019-04-23 20:18:09 EEST 0 afb02092055d43d7af71a5c232cda092 Tue 2019-04-23 21:04:56 EEST—Tue 2019-04-23 21:11:16 EEST I will attach dmesg information, if it helps. The packages that broke the boot are: systemd-242.0-1-x86_64.pkg.tar.xz systemd-libs-242.0-1-x86_64.pkg.tar.xz systemd-sysvcompat-242.0-1-x86_64.pkg.tar.xz After reinstalling the old version by booting from live cd and arch-chroot-ing, I was able to boot normally: systemd 241.67-1 systemd-libs 241.67-1 systemd-sysvcompat 241.67-1 Additional info: * package version(s)- Attached System: Lenovo V330-14IKB |
This task depends upon
Closed by Christian Hesse (eworm)
Thursday, 25 April 2019, 13:03 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 242.0-2
Thursday, 25 April 2019, 13:03 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 242.0-2
https://bbs.archlinux.org/viewtopic.php?id=245661
As the users running testing who encountered this issue chose not to report the issue on this bug tracker or upstream the issue still remains
with the exact cause unknown and the package now in core.
I don't run testing on my production machines, so I wasn't testing 242. Apologies for not reporting it sooner.
The root filesystem will be mounted but journald does not flush from memory to disk until after switchroot which is after the bug stops boot progress.
Can you boot to rd.rescue or rd.emergency? From rd.rescue you may be able to dump the initial journal contents to a file on /sysroot.
You could also report what is known so far upstream for more help diagnosing the issue if you do not want to perform the bisection.
As you were not running testing it is not reasonable to expect you to report it.
I was thinking of creating one and I started looking over the mkinitcpio, unfortunately I did not understood exactly what mkinitcpio does with systemd parameter in order to better understand if is a systemd or a mkinitcpio related issue.
Does anyone knows how to tag falconindy aka Dave Reisner in this bug report?
mkinicpio will call build() of /usr/lib/initcpio/install/systemd if the systemd hook is used.
Edit:
You could also try bisecting the issue https://bbs.archlinux.org/viewtopic.php?pid=1841589#p1841589
Also I found this page https://fossies.org/diffs/systemd/241_vs_242/ , where we can find all the modification done between the two releases of systemd.
By eyeballing the page, did not found anything useful :(
That why I suggested the bisection to find which commit is the cause or if it is some change in the build environment e.t.c.
So looks like anybody of you has to figure...
And just for reference: I do monitor the bug tracker, not the forums. Please report critical issues to the bug tracker as soon as possible.
Anyone here affected with only one disk attached?
I found this commit in systemd which may be relevant: https://github.com/systemd/systemd/commit/142b8142d7bb84f07ac33fc00527a4d48ac8ef9f#diff-39479f052e5c764d107d871bb1d83a8a
@jichu4n, I do not know C, but is kind of straight forward what happens there(it might be related), I will try in the next few days to compile the latest systemd code, with those modification reversed and install it, in order to see if it happens again, or if it fixes the issue.
If anyone else can do it sooner, it would be very helpful.
If this would fix the issue, then we could go and submit a bug report directly on their issue tracker, in order to get fix in the next release.
source bundle for easy building I suggest installing devtools then using extra-x86_64-build to build packages in a clean chroot then install with pacman to test.
https://bugzilla.redhat.com/show_bug.cgi?id=1702358
https://github.com/systemd/systemd/pull/12346
Is going to be while till the next RC, i think, last time, was approximately to months after stable release until next RC was released.
Looks like the number of drives can be ruled out as well.
Any other special configuration effected? Boot parameters? Entries in /etc/fstab? Whatever?
FS#62347as well thanks.