You are not logged in.
Since upgrading to systemd-245.6-2 on 2020-06-05, I have a new warning in the boot log:
Jun 08 06:42:18 arch systemd[1]: initrd-switch-root.service: Current command vanished from the unit file, execution of the command list won't be resumed.The system behaves normally, but I tend to take those warnings seriously. Any ideas how to track down the issue?
The complete boot log: journalctl -b
The unit file, from which nothing seems to have vanished in my opinion:
# systemctl cat initrd-switch-root.service
# /usr/lib/systemd/system/initrd-switch-root.service
# SPDX-License-Identifier: LGPL-2.1+
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[Unit]
Description=Switch Root
DefaultDependencies=no
ConditionPathExists=/etc/initrd-release
OnFailure=emergency.target
OnFailureJobMode=replace-irreversibly
AllowIsolate=yes
[Service]
Type=oneshot
ExecStart=systemctl --no-block switch-root /sysrootIts status:
# systemctl status initrd-switch-root.service
● initrd-switch-root.service - Switch Root
Loaded: loaded (/usr/lib/systemd/system/initrd-switch-root.service; static; vendor preset: disabled)
Active: inactive (dead) since Mon 2020-06-08 06:42:18 CEST; 48min ago
Main PID: 432 (code=exited, status=0/SUCCESS)
Jun 08 06:42:18 archlinux systemd[1]: Starting Switch Root...Last edited by tucuxi (2020-07-11 09:48:38)
Offline
Offline
Offline
I wouldn't call it a fix. It's not a good idea to edit anything in /usr. May be it's better to use dracut )
Offline