Fixed
Created: Jan 24, 2014
Updated: Dec 3, 2018
Resolved Date: Mar 3, 2014
Found In Version: 6.0.0.2
Fix Version: 6.0.0.4
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
Problem Description
======================
the status for "service --status-all" is wrong after stop syslog/rsyslog
Expected Behavior
======================
the status is correct
Observed Behavior
======================
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# /etc/init.d/syslog stop
stopping rsyslogd ... done
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# /etc/init.d/syslog status
status rsyslogd ... stopped
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# /etc/init.d/syslog status
status rsyslogd ... stopped
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# echo $?
0
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# service --status-all
[ ? ] apache2
[ - ] atd
[ + ] avahi-daemon
[ ? ] banner.sh
[ - ] bind
[ - ] bootlogd
[ ? ] bootmisc.sh
[ ? ] checkroot.sh
[ + ] collectd
[ + ] crond
[ + ] dbus-1
[ ? ] devpts.sh
[ ? ] dhcp-server
[ ? ] dmesg.sh
[ + ] drbd
[ + ] fuse
[ ? ] hostname.sh
[ ? ] hwclock.sh
[ ? ] modutils.sh
[ ? ] mountall.sh
[ ? ] mountnfs.sh
[ - ] multipathd
[ ? ] mysqld
[ ? ] networking
[ + ] nfscommon
[ + ] nfsserver
[ ? ] ntpd
[ ? ] populate-volatile.sh
[ ? ] portmap
[ + ] postfix
[ - ] postgresql-server
[ - ] ppp
[ + ] pppoe-server
[ - ] proftpd
[ + ] quagga
[ ? ] radvd
[ ? ] rcinit
[ ? ] read-only-rootfs-hook.sh
[ ? ] rmnologin.sh
[ - ] rpcbind
[ + ] rsyslog
[ ? ] run-postinsts
[ ? ] samba
[ ? ] save-rtc.sh
[ ? ] sendsigs
[ + ] sshd
[ - ] stop-bootlogd
[ ? ] sysfs.sh
[ + ] syslog
[ + ] tcf-agent
[ ? ] tftpd-hpa
[ + ] udev
[ ? ] udev-cache
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] urandom
[ ? ] usermode-agent
[ ? ] vsftpd
[ + ] watchquagga
[ + ] xinetd
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status#
1 configure a project
/configure --enable-board=bcm-xlp --enable-kernel=standard+netfilter --enable-rootfs=glibc-std --with-layer=/wr-testing/userspace-new/ --with-template=feature/lttng2,feature/acl,feature/nfsd,feature/mysql,feature/mysql-odbc,feature/oprofile --enable-test=yes --enable-prelink=no --enable-build=profiling --enable-jobs=16 --enable-parallel-pkgbuilds=8 --enable-internet-download
2. make fs
3. boot the target
4. /etc/init.d/syslog stop
service --status-all