Wind River Support Network

HomeDefectsLIN6-2224
Fixed

LIN6-2224 : [Feature Testing][userspace]: daemon status is wrong after start the collectd service

Created: Dec 9, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 18, 2013
Found In Version: 6.0
Fix Version: 6.0,6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

Problem Description
======================
daemon status is wrong after start the collectd service
the status should be  [ + ]

Expected Behavior
======================
daemon status is right

Observed Behavior
======================
root@XLP208A1-USB:/opt/wr-test# /etc/init.d/collectd start
Starting collectd.
root@XLP208A1-USB:/opt/wr-test# 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
 [ ? ]  mysqld
 [ ? ]  networking
 [ + ]  nfscommon
 [ + ]  nfsserver
 [ ? ]  ntpd
 [ ? ]  populate-volatile.sh
 [ ? ]  portmap
 [ - ]  postfix
 [ - ]  postgresql-server
 [ ? ]  ppp
 [ + ]  pppoe-server
 [ - ]  proftpd
 [ + ]  quagga
 [ + ]  quagga.bak
 [ ? ]  rcinit
 [ ? ]  read-only-rootfs-hook.sh
 [ ? ]  rmnologin.sh
 [ - ]  rpcbind
 [ + ]  rsyslog
 [ ? ]  run-postinsts
 [ ? ]  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# ps aux|grep collectd
root       469  0.0  0.0   2752  1792 ?        Ss   07:23   0:00 /usr/sbin/collectdmon -P /var/run/collectdmon.pid -- -C /etc/collectd.conf
root     16691  3.0  0.3 394240 11072 ?        Sl   08:19   0:00 collectd -C /etc/collectd.conf -f
root     16699  0.0  0.0   2816   512 pts/0    S+   08:20   0:00 grep collectd
root@XLP208A1-USB:/opt/wr-test# ps -e|grep collectd
  469 ?        00:00:00 collectdmon
16700 ?        00:00:00 collectd
root@XLP208A1-USB:/opt/wr-test# 

Steps to Reproduce

1 configure a project
/lpg-build/cdc/fast_prod/wrlinux60/dvd_install/lx28_13fa/wrlinux-6/wrlinux/configure --enable-board=bcm-xlp --enable-kernel=standard --enable-rootfs=glibc-std --with-layer=/buildarea2/fyan/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
2. make fs
3. boot target 
4. on target
	a. /etc/init.d/collectd start
	b. ps aux|grep collectd
	c. service --status-all

Other Downloads


Live chat
Online