Fixed
Created: Jun 13, 2016
Updated: Dec 3, 2018
Resolved Date: Jul 21, 2017
Found In Version: 8.0.0.5
Fix Version: 8.0.0.20
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace
Problem Description
======================
two invalid links in lsb package.
/usr/lib/lsb/remove_initd
/usr/lib/lsb/install_initd
the target of the two links is /usr/sbin/chkconfig, it only exist in sysvinit rootfs.
log:
root@super_micro-1:/opt/wr-test/testcases# ls -l /usr/lib/lsb/remove_initd
lrwxrwxrwx 1 root root 19 Jun 8 05:32 /usr/lib/lsb/remove_initd -> /usr/sbin/chkconfig
root@super_micro-1:/opt/wr-test/testcases# ls -al /usr/sbin/chkconfig
ls: cannot access /usr/sbin/chkconfig: No such file or directory
root@super_micro-1:/opt/wr-test/testcases# rpm -qf /usr/lib/lsb/remove_initd
lsb-4.1-r2.0.corei7_64
root@super_micro-1:/opt/wr-test/testcases# rpm -qf /usr/lib/lsb/install_initd
lsb-4.1-r2.0.corei7_64
root@super_micro-1:/opt/wr-test/testcases# ls -al /usr/lib/lsb/install_initd
lrwxrwxrwx 1 root root 19 Jun 8 05:32 /usr/lib/lsb/install_initd -> /usr/sbin/chkconfig
root@super_micro-1:/opt/wr-test/testcases# ls -al /usr/sbin/chkconfig
ls: cannot access /usr/sbin/chkconfig: No such file or directory
root@super_micro-1:/opt/wr-test/testcases#
Expected Behavior
======================
No invalid links
Observed Behavior
======================
see log
1.
configure --enable-board=intel-x86-64 --enable-kernel=cgl --with-template=feature/valgrind,feature/libhugetlbfs,feature/acl,feature/nfsd,feature/oprofile,feature/mariadb,feature/mysql-odbc,feature/LAMP,feature/ipv6,feature/target-toolchain,feature/lttng,feature/gcc-sanitizers,feature/cut --enable-build=profiling --enable-test=yes --enable-internet-download=yes --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-reconfig=yes --with-rcpl-version=0
Add package lsb to rootfs
make fs
2, deploy and boot
3, run:
ls -l /usr/lib/lsb/remove_initd /usr/lib/lsb/install_initd