-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
Important
-
rhel-image-mode
-
3
-
None
-
Dev ack
-
False
-
False
-
-
No
-
Bootc Sprint #23, Bootc Sprint #24, Bootc Sprint #25
-
Requested
-
None
-
Unspecified Release Note Type - Unknown
-
Unspecified
-
Unspecified
-
Unspecified
reproducer:
1. create a bootc system using quay.io/fedora/fedora-bootc:xx on libvirt VM
2. ssh into that system and run "systemctl soft-reboot"
FYI,
1. the system would be good after I virsh destroy and virsh start it
2. `bootc switch xxx --soft-reboot=required --apply` on the same system
3. it works well if I use quay.io/centos-bootc/centos-bootc:stream9 or quay.io/almalinuxorg/almalinux-bootc:10.0 instead
here is part of the console output:
```
[ OK ] Reached target local-fs-pre.target…Preparation for Local File Systems. Starting systemd-udevd.service - R…ager for Device Events and Files...
[ OK ] Started systemd-udevd.service - Ru…anager for Device Events and Files.
Mounting boot.mount - /boot...
Mounting var.mount - /var...
[ 130.009798] XFS (vda3): Mounting V5 Filesystem 9a6f9939-ec4a-4c1f-a023-c0e51698b41c
[FAILED] Failed to mount var.mount - /var.
See 'systemctl status var.mount' for details.
[DEPEND] Dependency failed for cloud-init-m…rvice - Cloud-init: Single Process.
[DEPEND] Dependency failed for syste[ 130.037685] XFS (vda3): Ending clean mount
md-homed.service - Home Area Manager.
[DEPEND] Dependency failed for systemd-psto…atform Persistent Storage Archival.
[DEPEND] Dependency failed for chronyd.service - NTP client/server.
[DEPEND] Dependency failed for raid-check.t…r - Weekly RAID setup health check.
[DEPEND] Dependency failed for fstrim.timer…used filesystem blocks once a week.
[DEPEND] Dependency failed for var-lib-nfs-…ipefs.mount - RPC Pipe File System.
[DEPEND] Dependency failed for rpc_pipefs.target.
[DEPEND] Dependency failed for rpc-gssd.ser… service for NFS client and server.
[DEPEND] Dependency failed for basic.target - Basic System.
[DEPEND] Dependency failed for multi-user.target - Multi-User System.
[DEPEND] Dependency failed for graphical.target - Graphical Interface.
[DEPEND] Dependency failed for systemd-logind.service - User Login Management.
[DEPEND] Dependency failed for systemd-upda…ecord System Boot/Shutdown in UTMP.
[DEPEND] Dependency failed for systemd-tpm2-setup.service - TPM SRK Setup.
[DEPEND] Dependency failed for systemd-rand…service - Load/Save OS Random Seed.
[DEPEND] Dependency failed for local-fs.target - Local File Systems.
[DEPEND] Dependency failed for selinux-auto…k the need to relabel after reboot.
[DEPEND] Dependency failed for systemd-jour…lush Journal to Persistent Storage.
[ OK ] Mounted boot.mount - /boot.
[ OK ] Stopped systemd-ask-password-conso…equests to Console Directory Watch.
[ OK ] Stopped systemd-ask-password-wall.…d Requests to Wall Directory Watch.
[ OK ] Reached target paths.target - Path Units.
[ OK ] Reached target timers.target - Timer Units.
[ OK ] Reached target ssh-access.target - SSH Access Available.
Mounting boot-efi.mount - /boot/efi...
[ OK ] Reached target cloud-init.target - Cloud-init target.
[ OK ] Reached target nfs-client.target - NFS client services.
[ OK ] Reached target remote-fs-pre.targe…reparation for Remote File Systems.
[ OK ] Reached target remote-integrityset…Remote Integrity Protected Volumes.
[ OK ] Reached target remote-veritysetup.… - Remote Verity Protected Volumes.
Starting ostree-remount.service - OSTree Remount OS/ Bind Mounts...
[ OK ] Reached target getty.target - Login Prompts.
Starting cloud-init-local.service …-init: Local Stage (pre-network)...
[ OK ] Reached target remote-cryptsetup.target - Remote Encrypted Volumes.
[ OK ] Reached target remote-fs.target - Remote File Systems.
Starting systemd-userdb-load-crede…r/group Records from Credentials...
[ OK ] Reached target sockets.target - Socket Units.
[ 130.211783] FAT-fs (vda2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ OK ] Reached target bootc-status-update… - Bootc status trigger state sync.
[ OK ] Started emergency.service - Emergency Shell.
[ OK ] Reached target emergency.target - Emergency Mode.
Starting systemd-binfmt.service - Set Up Additional Binary Formats...
[ OK ] Mounted boot-efi.mount - /boot/efi.
[ OK ] Finished ostree-remount.service - OSTree Remount OS/ Bind Mounts.
[ OK ] Finished systemd-userdb-load-crede…ser/group Records from Credentials.
[ OK ] Reached target nss-user-lookup.target - User and Group Name Lookups.
[ OK ] Stopped target ssh-access.target - SSH Access Available.
Mounting proc-sys-fs-binfmt_misc.m…cutable File Formats File System...
Starting systemd-tmpfiles-setup.se…ate System Files and Directories...
[ 130.008035] sh[1385]: nc: /run/cloud-init/share/local.sock: Connection refused
[ OK ] Mounted proc-sys-fs-binfmt_misc.mo…xecutable File Formats File System.
[ OK ] Finished cloud-init-local.service …ud-init: Local Stage (pre-network).
[ OK ] Finished systemd-binfmt.service - Set Up Additional Binary Formats.
[ OK ] Reached target cloud-config.target - Cloud-config availability.
[ OK ] Reached target network-pre.target - Preparation for Network.
[ OK ] Finished systemd-tmpfiles-setup.se…reate System Files and Directories.
Starting systemd-oomd.service - Us…space Out-Of-Memory (OOM) Killer...
Starting systemd-resolved.service - Network Name Resolution...
[ OK ] Started systemd-oomd.service - Userspace Out-Of-Memory (OOM) Killer.
[ OK ] Started systemd-resolved.service - Network Name Resolution.
[ OK ] Reached target network.target - Network.
[ OK ] Reached target network-online.target - Network is Online.
[ OK ] Reached target nss-lookup.target - Host and Network Name Lookups.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, or "exit"
to continue bootup.
Enter root password for system maintenance
(or press Control-D to continue):
```