Wind River Support Network

HomeDefectsLIN5-17925
Fixed

LIN5-17925 : [userspace]: the status for "service --status-all" is wrong after stop avahi-daemon

Created: Jan 26, 2014    Updated: Dec 19, 2017
Resolved Date: Jan 26, 2014
Previous ID: LIN6-6626
Found In Version: 5.0.1
Fix Version: 5.0.1.12
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Problem Description
======================
the status for "service --status-all" is wrong after stop avahi-daemon

Expected Behavior
======================
the status is correct

Observed Behavior
======================
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# ps aux |grep avahi
avahi    13568  0.0  0.1   5440  4992 ?        S    05:48   0:00 avahi-daemon: running [XLP208A1-USB.local]
avahi    13569  0.0  0.0   5312  1280 ?        S    05:48   0:00 avahi-daemon: chroot helper
root     16483  0.0  0.0   2816   832 pts/0    S+   05:50   0:00 grep avahi
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# /etc/init.d/avahi-daemon status
Avahi mDNS/DNS-SD Daemon is running
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# /etc/init.d/avahi-daemon stop  
 * Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon
   ...done.
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# /etc/init.d/avahi-daemon status
Avahi mDNS/DNS-SD Daemon is not running
root@XLP208A1-USB:/opt/wr-test/testcases/userspace-new/daemon-status# ps aux|grep avahi
root     16493  0.0  0.0   2816   832 pts/0    S+   05:50   0:00 grep avahi
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# 

Steps to Reproduce

1 configure a project
/configure --enable-board=bcm-xlp --enable-kernel=standard+netfilter --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 --enable-internet-download
2. make fs
3. boot the target
4. /etc/init.d/avahi-daemon stop
	service --status-all

Other Downloads


Live chat
Online