[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: pidof killall
From:       "Larry Brigman" <larry.brigman () gmail ! com>
Date:       2006-10-26 18:51:30
Message-ID: ca5165530610261151m4e208b33gb88c90c5cc8410f4 () mail ! gmail ! com
[Download RAW message or body]

On 10/26/06, Bernhard Fischer <rep.nop@aon.at> wrote:
> On Thu, Oct 26, 2006 at 08:34:49AM -0700, Larry Brigman wrote:
> >On 10/26/06, Bernhard Fischer <rep.nop@aon.at> wrote:
> >>On Wed, Oct 25, 2006 at 04:20:45PM -0700, Larry Brigman wrote:
> >>
> >>>>># telnetd
> >>>>># pidof
> >>>>>
> >>>>># pidof telnetd
> >>>>>cmd='init'  [telnetd]
> >>>>>cmd='ksoftirqd/0'  [telnetd]
> >>>>>cmd='desched/0'  [telnetd]
> >>>>>cmd='events/0'  [telnetd]
> >>>>>cmd='khelper'  [telnetd]
> >>>>>cmd='kthread'  [telnetd]
> >>>>>cmd='kblockd/0'  [telnetd]
> >>>>>cmd='khubd'  [telnetd]
> >>>>>cmd='pdflush'  [telnetd]
> >>>>>cmd='pdflush'  [telnetd]
> >>>>>cmd='kswapd0'  [telnetd]
> >>>>>cmd='aio/0'  [telnetd]
> >>>>>cmd='xfslogd/0'  [telnetd]
> >>>>>cmd='xfsdatad/0'  [telnetd]
> >>>>>cmd='xfsbufd'  [telnetd]
> >>>>>cmd='kseriod'  [telnetd]
> >>>>>cmd='syslogd'  [telnetd]
> >>>>>cmd='klogd'  [telnetd]
> >>>>>cmd='inetd'  [telnetd]
> >>>>>cmd='rms'  [telnetd]
> >>>>>cmd='ems'  [telnetd]
> >>>>>cmd='els'  [telnetd]
> >>>>>cmd='dropbear'  [telnetd]
> >>>>>cmd='getty'  [telnetd]
> >>>>>cmd='getty'  [telnetd]
> >>>>>cmd='getty'  [telnetd]
> >>>>>cmd='getty'  [telnetd]
> >>>>>cmd='dropbear'  [telnetd]
> >>>>>cmd='sh'  [telnetd]
> >>>>>cmd='getty'  [telnetd]
> >>>>>cmd='busybox'  [telnetd]
> >>>>>cmd='busybox'  [telnetd]
> >>>>>
> >>>>>#
> >>>>What libc are you using? Is busybox dynamically linked or static?
> >>>>
> >>>glibc 2.3.3 resized with mklibs, dynamic
> >>
> >>is telnetd a symlink or a hardlink?
> >>
> >>Unfortunately, this works like expected for me, i.e. i always see
> >>cmd='telnetd', no matter if i use a symlink or hardlink. Checked against
> >>glibc-2.3.6 and current uClibc, fwiw.
> >>
> >>What is your CONFIG_BUSYBOX_EXEC_PATH ?
> >>
> >telnetd is a hard-link
> >EXEC_PATH is /bin/busybox.  I had changed that from /proc/self/exe
> >when things didn't
> >work as expected until after proc was mounted.
>
> Change it back to /proc/self/exec. I take it that this fixes the problem
> you're seeing, please confirm.
>

It did.  The reason I change it in the first place was that busybox
croked on executing
scripts without /proc being mounted, which didn't happen on previous versions.
I worked around it but never solved it.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic