Wind River Support Network

HomeDefectsLIN6-2250
Fixed

LIN6-2250 : "service --status-all" didn't return the correct status of postfix. The service is running but return [ - ]

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

Description

Problem Description
======================
"service --status-all" didn't return the correct status of postfix. The service is running but return [ - ]

Expected Behavior
======================
Return the correct status, i.e. [ + ]

Observed Behavior
======================
root@qemu120:~# postfix status
postfix/postfix-script: the Postfix mail system is running: PID: 765
root@qemu120:~# echo $?
0
root@qemu120:~# ps aux|grep postfix
root       765  0.0  0.4  28932  1720 ?        Ss   03:25   0:01 /usr/libexec/postfix/master
postfix    767  0.0  0.4  26964  1676 ?        S    03:25   0:00 qmgr -l -t fifo -u
postfix    778  0.0  0.4  26900  1644 ?        S    08:26   0:00 pickup -l -t fifo -u
root      1316  0.0  0.1   4404   384 ttyS0    S+   09:09   0:00 grep postfix
root@qemu120:~# 
root@qemu120:~# service --status-all 2>&1 |grep postfix
 [ - ]  postfix
root@qemu120:~# 
root@qemu120:~# service  --status-all
 [ ? ]  alsa-state
 [ ? ]  apache2
 [ + ]  atd
 [ + ]  avahi-daemon
 [ ? ]  banner.sh
 [ ? ]  bind
 [ - ]  bootlogd
 [ ? ]  bootmisc.sh
 [ ? ]  checkroot.sh
 [ + ]  crond
 [ + ]  dbus-1
 [ ? ]  devpts.sh
 [ ? ]  dmesg.sh
 [ ? ]  fbsetup
 [ ? ]  hostname.sh
 [ ? ]  hwclock.sh
 [ ? ]  modutils.sh
 [ ? ]  mountall.sh
 [ ? ]  mountnfs.sh
 [ ? ]  mysqld
 [ ? ]  networking
 [ - ]  nfscommon
 [ - ]  nfsserver
 [ ? ]  populate-volatile.sh
 [ - ]  postfix
 [ ? ]  ppp
 [ ? ]  rcinit
 [ ? ]  read-only-rootfs-hook.sh
 [ ? ]  rmnologin.sh
 [ - ]  rpcbind
 [ + ]  rsyslog
 [ ? ]  run-postinsts
 [ ? ]  save-rtc.sh
 [ ? ]  sendsigs
 [ + ]  sshd
 [ - ]  stop-bootlogd
 [ ? ]  sysfs.sh
 [ + ]  syslog
 [ + ]  tcf-agent
 [ + ]  udev
 [ ? ]  udev-cache
 [ ? ]  umountfs
 [ ? ]  umountnfs.sh
 [ ? ]  urandom
root@qemu120:~# 

Steps to Reproduce

configure a common qemux86-64+standard+glibc-std project and make

boot it up, and run

postfix status
service  --status-all

Other Downloads


Live chat
Online