You are not logged in.
It was until i did:
sudo mkinitcpio -p linux
And then all was well. I noticed before and after this, the journal stated that systemd 218 had actually started.
Is it usual to have to mkinitcpio after a systemd upgrade?
Offline
You don't need to regenerate your initrd, unless you want to have the latest and greatest binaries in it.
The only time you have to regenerate your initrd is when your kernel is updated, which is why the kernel's install scriptlet does this for you.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I just had the systemd update to 218-1 but on boot it says "starting version 217".
Is systemd just showing the wrong version on boot or is something wrong with my system? How can I check systemd version?
According to man systemd you could do
systemd --version
but command systemd does not exist on my system.
Thanks
Last edited by dice (2014-12-18 22:55:03)
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
Did you regenerate your intird?
Offline
I too have just upgraded and have a 217 message on boot.
`pacman -Q systemd` shows:
systemd 218-1
Also, `journalctl|grep systemd` shows:
Dec 18 22:37:52 Arch systemd-udevd[181]: starting version 218
So the message at boot is wrong.
Maybe a bug?
Offline
journalctl showed the correct version for me too.
After regeneration of initramfs the correct version also shows up on boot.
It would be nice if there was a message about this during update. I can't recall I had to run mkinitcpio after systemd upgrades before, though.
I put at button on it. Yes. I wish to press it, but I'm not sure what will happen if I do. (Gune | Titan A.E.)
Offline
It is really just cosmetic. I'd be happier if the entire thing was removed, myself...
Offline
Merging...
Offline
According to man systemd you could do
systemd --version
but command systemd does not exist on my system.
init --version
or
systemctl --version
are working
Offline
You don't need to regenerate your initrd, unless you want to have the latest and greatest binaries in it.
The only time you have to regenerate your initrd is when your kernel is updated, which is why the kernel's install scriptlet does this for you.
Actually, you should.
Not because of systemd update but because systemd includes udev, and that is run from your initramfs (note, systemd is not init in initramfs). If a systemd upgrade (e.g. 217 -> 218) didn't involve lots of udev changes, then it's probably OK to have udev 217 in intramfs and udev 218 on the rootfs. But otherwise, I'd still regenerate the initramfs.
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
This has always been happening since archlinux started using an initramfs with udev (in 2008 maybe ?) .
https://wiki.archlinux.org/index.php/Boot
The udev in the initramfs created by mkinitcpio is only used until early userspace (maybe not even until the final stage of that) , then the system switches to the udev version in the running system.
I'm a long time forum user, but can only vaguely remember a few cases where an older udev in the initramfs caused problems.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
As I understand it the udev bits in the initramfs just quickly find block devices and create nodes for them as init gets executed. From my experience the actual system udev gets loaded at or after the half-way point in the boot process. Kernel and systemd releases at least seem (inadvertently) timed so that a kernel update will rebuild the initramfs automatically before the udev bits in initramfs and systemd-distributed udev wind up more than one version apart. I haven't really looked into it, but I'd guess the time gap between kernel and systemd releases is likely to shrink as kdbus matures and systemd becomes dependent on it.
Offline
This has always been happening since archlinux started using an initramfs with udev (in 2008 maybe ?) .
https://wiki.archlinux.org/index.php/Boot
The udev in the initramfs created by mkinitcpio is only used until early userspace (maybe not even until the final stage of that) , then the system switches to the udev version in the running system.
I'm a long time forum user, but can only vaguely remember a few cases where an older udev in the initramfs caused problems.
For example, https://lists.archlinux.org/pipermail/a … 19457.html . Systemd upstream is under no obligation to maintain backward compatibility. So, different udev versions may use e.g. incompatible databases. Granted this doesn't happen often, but to be 100% sure you need to inspect a systemd changelog..
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline