Wind River Support Network

HomeDefectsLIN1021-5235
Fixed

LIN1021-5235 : [binary-distribution] ostree_binary: The ostree-system-generator did not generate symbolic files for ostree-remount.service and ostree-finalize-staged.path under /run/systemd/generator/

Created: Feb 11, 2023    Updated: Jun 27, 2023
Resolved Date: May 27, 2023
Found In Version: 10.21.20.16
Fix Version: 10.21.20.18
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Userspace

Description

root@54-b2-03-89-5e-9c:~# bash /opt/wr-test/bts-lib/ostree_wrapper.sh -i 15 cat /proc/cmdline BOOT_IMAGE=/0/boot/vmlinuz rw rootwait ostree_boot=LABEL=otaboot ostree_root=LABEL=otaroot flux=fluxdata ostree=/boot/0/ostree console=ttyS0,115200 console=tty1 key=cbas_given_kernel_option The /opt/wr-test is ready for testing now!! will backup /etc... tar -Pcvf etc.tar /etc/ &>/dev/null ============== doing ostree_basic_ostree-system-generator_checking related testing =================== ###################################################################### Test Name: ostree_basic_ostree-system-generator_checking #Test Description: check the return value of ostree-system-generator # #Test Type: Auto # # # ###################################################################### ls -l /usr/lib/systemd/system-generators/ total 216 -rwxr-xr-x 3 root root 14408 Jan 1 1970 ostree-system-generator -rwxr-xr-x 3 root root 14536 Jan 1 1970 systemd-debug-generator -rwxr-xr-x 3 root root 39248 Jan 1 1970 systemd-fstab-generator -rwxr-xr-x 3 root root 14384 Jan 1 1970 systemd-getty-generator -rwxr-xr-x 3 root root 30776 Jan 1 1970 systemd-gpt-auto-generator -rwxr-xr-x 3 root root 14536 Jan 1 1970 systemd-hibernate-resume-generator -rwxr-xr-x 3 root root 14384 Jan 1 1970 systemd-rc-local-generator -rwxr-xr-x 3 root root 14520 Jan 1 1970 systemd-run-generator -rwxr-xr-x 3 root root 14392 Jan 1 1970 systemd-system-update-generator -rwxr-xr-x 3 root root 30840 Jan 1 1970 systemd-sysv-generator ls -lR /run/systemd/generator/ /run/systemd/generator/: total 20 -rw-r--r-- 1 root root 204 Feb 12 05:25 -.mount -rw-r--r-- 1 root root 258 Feb 12 05:25 boot-efi.mount -rw-r--r-- 1 root root 245 Feb 12 05:25 boot.mount drwxr-xr-x 2 root root 60 Feb 12 05:25 getty.target.wants drwxr-xr-x 2 root root 140 Feb 12 05:25 local-fs.target.requires drwxr-xr-x 2 root root 80 Feb 12 05:25 local-fs.target.wants drwxr-xr-x 2 root root 60 Feb 12 05:25 multi-user.target.wants -rw-r--r-- 1 root root 192 Feb 12 05:25 var-volatile.mount -rw-r--r-- 1 root root 246 Feb 12 05:25 var.mount /run/systemd/generator/getty.target.wants: total 0 lrwxrwxrwx 1 root root 45 Feb 12 05:25 serial-getty@ttyS0.service -> /usr/lib/systemd/system/serial-getty@.service /run/systemd/generator/local-fs.target.requires: total 0 lrwxrwxrwx 1 root root 10 Feb 12 05:25 -.mount -> ../-.mount lrwxrwxrwx 1 root root 17 Feb 12 05:25 boot-efi.mount -> ../boot-efi.mount lrwxrwxrwx 1 root root 13 Feb 12 05:25 boot.mount -> ../boot.mount lrwxrwxrwx 1 root root 21 Feb 12 05:25 var-volatile.mount -> ../var-volatile.mount lrwxrwxrwx 1 root root 12 Feb 12 05:25 var.mount -> ../var.mount /run/systemd/generator/local-fs.target.wants: total 0 lrwxrwxrwx 1 root root 49 Feb 12 05:25 systemd-fsck-root.service -> /usr/lib/systemd/system/systemd-fsck-root.service lrwxrwxrwx 1 root root 50 Feb 12 05:25 systemd-remount-fs.service -> /usr/lib/systemd/system/systemd-remount-fs.service /run/systemd/generator/multi-user.target.wants: total 0 lrwxrwxrwx 1 root root 40 Feb 12 05:25 rc-local.service -> /usr/lib/systemd/system/rc-local.service INFO: journalctl error checking: /usr/lib/systemd/system-generators/ostree-system-generator: ... PASSed ========== rpm -ql ostree 2>/dev/null | grep /systemd/system/ /usr/lib/systemd/system/ostree-finalize-staged.path /usr/lib/systemd/system/ostree-finalize-staged.service /usr/lib/systemd/system/ostree-prepare-root.service /usr/lib/systemd/system/ostree-remount.service INFO: Checking symbolic file: /run/systemd/generator/local-fs.target.requires/ostree-remount.service ... FAILed INFO: Checking symbolic file: /run/systemd/generator/multi-user.target.wants/ostree-finalize-staged.path ... FAILed INFO: Checking symbolic file: /run/systemd/generator/multi-user.target.wants/ostree-boot-complete.service ... Skipped ========== ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-debug-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-fstab-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-getty-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-gpt-auto-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-rc-local-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-run-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-system-update-generator: ... PASSed ------ INFO: journalctl error checking: /usr/lib/systemd/system-generators/systemd-sysv-generator: ... PASSed ------ -------------------------------- ostree_FAIL

Steps to Reproduce

setup and deployment steps in runtime job
Live chat
Online