Ticket #865 (closed defect: invalid)
xserver-nodm do not work
| Reported by: | misc | Owned by: | ainulindale |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | SHR Image | Version: | SHR-unstable |
| Keywords: | Cc: |
Description
root@nivmizzet:~# /etc/init.d/xserver-nodm stop Stopping XServer /bin/ps: invalid option -- 'e' BusyBox v1.15.3 (2010-01-13 13:33:49 CET) multi-call binary Usage: ps Report process status Options: w Wide output
Indeed, the killproc procedure is incorrect, with ps being the one of busybox :
killproc() { # kill the named process(es)
pid=`/bin/ps -e x |
/bin/grep $1 |
/bin/grep -v grep |
/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}
Change History
Note: See
TracTickets for help on using
tickets.

It's not xserver or ps bug..
It's sideeffect of broken update-alternatives script.
If you haven't resolved it already, please read "HeadsUp?! Read this before opkg upgrade" thread on shr-devel mailing list.