[Bug 683] New: /etc/init.d/xserver-nodm not compatible with busybox's /bin/ps

bugzilla-daemon at bugzilla.openmoko.org bugzilla-daemon at bugzilla.openmoko.org
Sat Aug 4 04:34:38 CEST 2007


http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=683

           Summary: /etc/init.d/xserver-nodm not compatible with busybox's
                    /bin/ps
           Product: OpenMoko
           Version: unspecified
          Platform: Neo1973
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: sysinit
        AssignedTo: buglog at lists.openmoko.org
        ReportedBy: mail at mmontour.net
                CC: buglog at lists.openmoko.org


The "/etc/init.d/xserver-nodm stop" command returns the following message, and
fails to kill 'xinit':

root at fic-gta01:/etc$ /etc/init.d/xserver-nodm stop
Stopping XServer
/bin/ps: invalid option -- e
BusyBox v1.2.1 (2007.06.04-01:44+0000) multi-call binary

Usage: ps 

root at fic-gta01:/etc$ ps | grep xinit
 1158 root        720 S   xinit /etc/X11/Xsession -- /usr/bin/Xfbdev :0 -br -pn
 1332 root        632 S   grep xinit 

The init.d script tries to use "ps -e x" to get a list of running processes, but
the busybox implementation of /bin/ps does not accept any command-line arguments.

This can be fixed by using '/bin/pidof' to get the PID of xinit. 

Observed on an openmoko-devel-image-fic-gta01-20070803091138 rootfs image built
using MokoMakefile.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.




More information about the buglog mailing list