Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

strange problem with busybox symlinks [SOLVED]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

strange problem with busybox symlinks [SOLVED]

  • Quote

Post by pomaranca » Sat Jun 26, 2010 3:34 pm

Hi,

I have this strange problem...
When I run rc-status i get an error.

Code: Select all

# rc-status 
find: unrecognized: -printf
BusyBox v1.15.3 (2010-06-26 17:00:21 CEST) multi-call binary

Usage: find [PATH...] [EXPRESSION]

Search for files. The default PATH is the current directory,
default EXPRESSION is '-print'

EXPRESSION may consist of:
        -follow         Dereference symlinks
        -xdev           Don't descend directories on other filesystems
        -maxdepth N     Descend at most N levels. -maxdepth 0 applies
                        tests/actions to command line arguments only
        -mindepth N     Do not act on first N levels
        -name PATTERN   File name (w/o directory name) matches PATTERN
        -iname PATTERN  Case insensitive -name
        -path PATTERN   Path matches PATTERN
        -regex PATTERN  Path matches regex PATTERN
        -type X         File type is X (X is one of: f,d,l,b,c,...)
        -perm NNN       Permissions match any of (+NNN), all of (-NNN),
                        or exactly (NNN)
        -mtime DAYS     Modified time is greater than (+N), less than (-N),
                        or exactly (N) days
        -mmin MINS      Modified time is greater than (+N), less than (-N),
                        or exactly (N) minutes
        -newer FILE     Modified time is more recent than FILE's
        -inum N         File has inode number N
        -user NAME      File is owned by user NAME (numeric user ID allowed)
        -group NAME     File belongs to group NAME (numeric group ID allowed)
        -depth          Process directory name after traversing it
        -size N[bck]    File size is N (c:bytes,k:kbytes,b:512 bytes(def.)).
                        +/-N: file size is bigger/smaller than N
        -print          Print (default and assumed)
        -print0         Delimit output with null characters rather than
                        newlines
        -exec CMD ARG ; Run CMD with all instances of {} replaced by the
                        matching files
        -prune          Stop traversing current subtree
        -delete         Delete files, turns on -depth option
        (EXPR)          Group an expression

Runlevel: default
I looked up the rc-status script and found that the problem is in the following line.

Code: Select all

runlevels[${arridx}]=$(find ${runleveldir}/${level} -maxdepth 1 -type l -printf '%f\n' | sort)
But when I manually run the same command from terminal it works.

Code: Select all

# find /etc/runlevels/default -maxdepth 1 -type l -printf '%f\n'
distccd
hddtemp
udev-postmount
fuse
netmount
alsasound
syslog-ng
gpm
acpid
hdparm
local
cupsd
sshd
ntp-client
cpufrequtils
hald
vixie-cron
I wonder why the same command produces an error when run from /bin/rc-status. I also get a similar error with revdep-rebuild:

Code: Select all

find: unrecognized: -L
Last edited by pomaranca on Tue Jun 29, 2010 2:48 pm, edited 1 time in total.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sat Jun 26, 2010 3:53 pm

You seem to have installed busybox with the make-symlinks USE flag set, which causes the "real" (sort of) find command from findutils to be masked by the busybox implementation. Get that USE flag turned off and then re-emerge (at least) findutils.

From the elog output of busybox

Code: Select all

setting USE=make-symlinks and emerging to / is very dangerous.
it WILL overwrite lots of system programs like: ls bash awk grep (bug 60805 for full list).
If you are creating a binary only and not merging this is probably ok.
set env VERY_BRAVE_OR_VERY_DUMB=yes if this is realy what you want.
Is this what you did?

- John
Last edited by John R. Graham on Sat Jun 26, 2010 4:02 pm, edited 1 time in total.
I can confirm that I have received between 0 and 499 National Security Letters.
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Sat Jun 26, 2010 4:00 pm

Thanks for the reply. But, this is actually not the case.

Code: Select all

# emerge -pv findutils busybox

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/findutils-4.4.2  USE="nls (-selinux) -static" 2,100 kB
[ebuild   R   ] sys-apps/busybox-1.15.3  USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 0 kB

Total: 2 packages (2 reinstalls), Size of downloads: 2,100 kB
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sat Jun 26, 2010 4:04 pm

Please post the output of

Code: Select all

ls -l `which find`
Bet it's a symlink to busybox. Do me a favor and reinstall findutils:

Code: Select all

emerge -1v findutils
Betcha your problem goes away.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Sat Jun 26, 2010 4:09 pm

I reemerged findutils as you suggested, but the problem is unfortunately still there.

Code: Select all

# ls -l `which find`

-rwxr-xr-x 1 root root 141852 Jun 26 18:08 /usr/bin/find
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Jun 26, 2010 4:17 pm

Could you post the output of equery files sys-apps/busybox; equery files sys-apps/findutils; echo $PATH?
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Sat Jun 26, 2010 8:35 pm

Code: Select all

# equery files sys-apps/busybox; equery files sys-apps/findutils; echo $PATH
/usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning: The 'myroot' parameter for portage.config.getvirtuals() is deprecated
  result = lazy_item.func(*pargs, **kwargs)
[ Searching for packages matching sys-apps/busybox... ]
* Contents of sys-apps/busybox-1.15.3:
/bin
/bin/bb -> busybox
/bin/busybox
/bin/busybox.static -> bb
/etc
/etc/portage
/etc/portage/savedconfig
/etc/portage/savedconfig/sys-apps
/etc/portage/savedconfig/sys-apps/busybox-1.15.3
/lib
/lib/rcscripts
/lib/rcscripts/addons
/lib/rcscripts/addons/mdev-start.sh
/sbin
/sbin/mdev -> /bin/bb
/usr
/usr/share
/usr/share/busybox
/usr/share/busybox/busybox-1.15.3.config
/usr/share/busybox/busybox-links.tar
/usr/share/doc
/usr/share/doc/busybox-1.15.3
/usr/share/doc/busybox-1.15.3/AUTHORS.bz2
/usr/share/doc/busybox-1.15.3/README.bz2
/usr/share/doc/busybox-1.15.3/TODO.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy
/usr/share/doc/busybox-1.15.3/bootfloppy/bootfloppy.txt.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/display.txt.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/fstab.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/inittab.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/mkdevs.sh.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/mkrootfs.sh.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/mksyslinux.sh.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/profile.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/quickstart.txt.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/rcS.bz2
/usr/share/doc/busybox-1.15.3/bootfloppy/syslinux.cfg.bz2
/usr/share/doc/busybox-1.15.3/examples
/usr/share/doc/busybox-1.15.3/examples/depmod.pl.bz2
/usr/share/doc/busybox-1.15.3/examples/devfsd.conf.bz2
/usr/share/doc/busybox-1.15.3/examples/dnsd.conf.bz2
/usr/share/doc/busybox-1.15.3/examples/inetd.conf.bz2
/usr/share/doc/busybox-1.15.3/examples/inittab.bz2
/usr/share/doc/busybox-1.15.3/examples/undeb.bz2
/usr/share/doc/busybox-1.15.3/examples/unrpm.bz2
/usr/share/doc/busybox-1.15.3/examples/zcip.script.bz2
/usr/share/doc/busybox-1.15.3/pod
/usr/share/doc/busybox-1.15.3/pod/busybox_footer.pod.bz2
/usr/share/doc/busybox-1.15.3/pod/busybox_header.pod.bz2
/usr/share/doc/busybox-1.15.3/pod/draft-coar-cgi-v11-03-clean.html
/usr/share/doc/busybox-1.15.3/txt
/usr/share/doc/busybox-1.15.3/txt/Serial-Programming-HOWTO.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/contributing.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/ifupdown_design.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/keep_data_small.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/logging_and_backgrounding.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/mdev.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/new-applet-HOWTO.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/nofork_noexec.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/posix_conformance.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/style-guide.txt.bz2
/usr/share/doc/busybox-1.15.3/txt/tar_pax.txt.bz2
/usr/lib/portage/pym/portage/util/__init__.py:1121: DeprecationWarning: The 'myroot' parameter for portage.config.getvirtuals() is deprecated
  result = lazy_item.func(*pargs, **kwargs)
[ Searching for packages matching sys-apps/findutils... ]
* Contents of sys-apps/findutils-4.4.2:
/usr
/usr/bin
/usr/bin/find
/usr/bin/oldfind
/usr/bin/xargs
/usr/share
/usr/share/doc
/usr/share/doc/findutils-4.4.2
/usr/share/doc/findutils-4.4.2/ChangeLog.bz2
/usr/share/doc/findutils-4.4.2/NEWS.bz2
/usr/share/doc/findutils-4.4.2/README.bz2
/usr/share/doc/findutils-4.4.2/TODO.bz2
/usr/share/info
/usr/share/info/find-maint.info.bz2
/usr/share/info/find.info.bz2
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/find.1.bz2
/usr/share/man/man1/xargs.1.bz2
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:/usr/qt/3/bin
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Jun 27, 2010 5:06 pm

You have /usr/bin higher in path than plain /bin, so the output of ls -l `which find` does not confirm that there is no offending find in /bin. Please provide the output of find /bin /sbin -ls.
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Mon Jun 28, 2010 8:23 am

Hey, this worked, thanks.
I found two find binaries, one in /usr/bin and another one in /bin. When I removed /bin/find it the problem is gone. So i'd say that bin is higher in path.
How is it possible that find was also installed in /bin ?

Code: Select all

# find /bin /sbin -ls
845313    4 drwxr-xr-x   2 root     root         4096 Jun 28 10:19 /bin
849846    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/setarch -> /bin/busybox
618128   28 -rwxr-xr-x   1 root     root        26088 May 23 13:22 /bin/chroot
618129   20 -rwxr-xr-x   1 root     root        17784 May 23 13:22 /bin/sync
845377    0 lrwxrwxrwx   1 root     root           20 May 25  2009 /bin/pgawk -> /usr/bin/pgawk-3.1.6
849855    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/split -> /bin/busybox
618130   32 -rwxr-xr-x   1 root     root        30220 May 23 13:22 /bin/mktemp
 58040   32 -rwxr-xr-x   1 root     root        30588 May 23 13:18 /bin/setfacl
845381   32 -rwxr-xr-x   1 root     root        30844 May 20  2009 /bin/login
849745    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/cal -> /bin/busybox
849870    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/traceroute -> /bin/busybox
849836    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/reformime -> /bin/busybox
789070   48 -rwxr-xr-x   1 root     root        46896 Jul  7  2009 /bin/fgrep
849770    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/dumpkmap -> /bin/busybox
859947   16 -rwxr-xr-x   1 root     root        13940 Jun 25 13:07 /bin/run-parts
849833    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/pscan -> /bin/busybox
529853    0 lrwxrwxrwx   1 root     root            4 Jun 24 18:34 /bin/sh -> bash
849780    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/free -> /bin/busybox
849815    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/mesg -> /bin/busybox
849820    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/nice -> /bin/busybox
618131   40 -rwxr-xr-x   1 root     root        38344 May 23 13:22 /bin/cut
899830  112 -rwxr-xr-x   1 root     root       110024 May 23 13:19 /bin/netstat
849811    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/lzop -> /bin/busybox
849852    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/sha512sum -> /bin/busybox
849809    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/lsattr -> /bin/busybox
845391   12 -rwxr-xr-x   1 root     root         9548 May 20  2009 /bin/lsmod
618132   24 -rwxr-xr-x   1 root     root        21892 May 23 13:22 /bin/env
849789    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ionice -> /bin/busybox
849775    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ether-wake -> /bin/busybox
618133   24 -rwxr-xr-x   1 root     root        21884 May 23 13:22 /bin/basename
849803    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/less -> /bin/busybox
849806    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/logger -> /bin/busybox
849769    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/dpkg-deb -> /bin/busybox
849863    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/telnet -> /bin/busybox
849842    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/runsvdir -> /bin/busybox
849737    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/arping -> /bin/busybox
849880    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/uptime -> /bin/busybox
849751    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/chattr -> /bin/busybox
618134  100 -rwxr-xr-x   1 root     root        96180 May 23 13:22 /bin/dir
618136   88 -rwxr-xr-x   1 root     root        83676 May 23 13:22 /bin/mv
849810    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/lzmacat -> /bin/busybox
618138   24 -rwxr-xr-x   1 root     root        21880 May 23 13:22 /bin/yes
308875   12 -rwxr-xr-x   1 root     root         9461 Jun 26 17:23 /bin/rc-status
618140   32 -rwxr-xr-x   1 root     root        30184 May 23 13:22 /bin/readlink
102868  328 -rwxr-xr-x   1 root     root       329132 Jul  6  2009 /bin/tcsh
735843   16 -r-xr-xr-x   1 root     root        13672 Jun 25 13:10 /bin/kill
849808    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/lpr -> /bin/busybox
618142   24 -rwxr-xr-x   1 root     root        21908 May 23 13:22 /bin/uname
849827    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/pgrep -> /bin/busybox
857241   12 -rwxr-xr-x   1 root     root         9512 Jun 25 13:07 /bin/tempfile
849802    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/length -> /bin/busybox
618143   44 -rwxr-xr-x   1 root     root        42496 May 23 13:22 /bin/chmod
845361    0 lrwxrwxrwx   1 root     root           10 May 25  2009 /bin/awk -> gawk-3.1.6
374098   44 -rws--x--x   1 root     root        42876 May 23 13:18 /bin/umount
374097   32 -rwxr-xr-x   1 root     root        30244 May 23 13:18 /bin/more
849829    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/pkill -> /bin/busybox
618144   48 -rwxr-xr-x   1 root     root        46644 May 23 13:22 /bin/rm
849774    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/envuidgid -> /bin/busybox
849755    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/cksum -> /bin/busybox
849787    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ifplugd -> /bin/busybox
849788    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/install -> /bin/busybox
849779    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/find -> /bin/busybox
849776    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/expand -> /bin/busybox
849798    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/kbd_mode -> /bin/busybox
618145   28 -rwxr-xr-x   1 root     root        26052 May 23 13:22 /bin/mknod
849781    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/fsync -> /bin/busybox
849841    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/runsv -> /bin/busybox
618146   56 -rwxr-xr-x   1 root     root        50724 May 23 13:22 /bin/chown
849690    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/[ -> /bin/busybox
849867    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/time -> /bin/busybox
845355    0 lrwxrwxrwx   1 root     root            8 May 23 13:19 /bin/dnsdomainname -> hostname
849858    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/strings -> /bin/busybox
849839    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/resize -> /bin/busybox
849804    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/linux32 -> /bin/busybox
845354    0 lrwxrwxrwx   1 root     root           10 May 25  2009 /bin/gawk -> gawk-3.1.6
849856    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/stat -> /bin/busybox
849828    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/pipe_progress -> /bin/busybox
849826    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/patch -> /bin/busybox
789028   84 -rwxr-xr-x   1 root     root        79732 Jul  7  2009 /bin/grep
849759    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/comm -> /bin/busybox
849710    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/adduser -> /bin/busybox
849835    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/realpath -> /bin/busybox
849793    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ipcs -> /bin/busybox
849865    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/tftp -> /bin/busybox
849886    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/wget -> /bin/busybox
618147   40 -rwxr-xr-x   1 root     root        38400 May 23 13:22 /bin/cat
849888    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/who -> /bin/busybox
845346   12 -rwxr-xr-x   1 root     root         9536 May 20  2009 /bin/groups
849698    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/[[ -> /bin/busybox
849879    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/unzip -> /bin/busybox
849823    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/nslookup -> /bin/busybox
849814    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/md5sum -> /bin/busybox
618148   48 -rwxr-xr-x   1 root     root        46560 May 23 13:22 /bin/touch
849795    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/iproute -> /bin/busybox
707143  752 -rwxr-xr-x   1 root     root       764876 Jun 24 18:33 /bin/bash
618149   20 -rwxr-xr-x   1 root     root        17776 May 23 13:22 /bin/false
849807    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/lpq -> /bin/busybox
849883    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/vlock -> /bin/busybox
849864    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/test -> /bin/busybox
618150   32 -rwxr-xr-x   1 root     root        30212 May 23 13:22 /bin/wc
849844    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/script -> /bin/busybox
849771    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/dumpleases -> /bin/busybox
308876    4 -rwxr-xr-x   1 root     root         2277 Nov 14  2009 /bin/checkpath
849750    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/chat -> /bin/busybox
618151   24 -rwxr-xr-x   1 root     root        21880 May 23 13:22 /bin/echo
849792    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ipcrm -> /bin/busybox
849797    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/iptunnel -> /bin/busybox
849881    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/usleep -> /bin/busybox
531370    0 lrwxrwxrwx   1 root     root            6 Jun 25 11:15 /bin/uncompress -> gunzip
849766    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/dos2unix -> /bin/busybox
849860    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/sv -> /bin/busybox
849821    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/nmeter -> /bin/busybox
618152   36 -rwxr-xr-x   1 root     root        34208 May 23 13:22 /bin/seq
618153   24 -rwxr-xr-x   1 root     root        21888 May 23 13:22 /bin/mkfifo
849887    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/which -> /bin/busybox
618154   36 -rwxr-xr-x   1 root     root        34260 May 23 13:22 /bin/tr
845342    0 lrwxrwxrwx   1 root     root            8 May 23 13:19 /bin/ypdomainname -> hostname
849878    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/unlzop -> /bin/busybox
849819    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/nc -> /bin/busybox
845400    0 lrwxrwxrwx   1 root     root            4 Jun 25 14:13 /bin/rnano -> nano
845333    0 lrwxrwxrwx   1 root     root           16 Jun 26 16:19 /bin/wpa_cli -> /usr/bin/wpa_cli
849777    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/fdflush -> /bin/busybox
845328    0 lrwxrwxrwx   1 root     root            5 Jun 25 12:51 /bin/bzcat -> bzip2
849801    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/last -> /bin/busybox
845379    0 lrwxrwxrwx   1 root     root           14 Jun 25 13:07 /bin/pidof -> /sbin/killall5
849868    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/timeout -> /bin/busybox
849847    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/setkeycodes -> /bin/busybox
618155   48 -rwxr-xr-x   1 root     root        46620 May 23 13:22 /bin/chgrp
849851    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/sha256sum -> /bin/busybox
849885    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/watch -> /bin/busybox
529855    0 lrwxrwxrwx   1 root     root            4 Jun 24 18:34 /bin/rbash -> bash
849889    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/whoami -> /bin/busybox
849800    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/killall5 -> /bin/busybox
849733    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ar -> /bin/busybox
618156  100 -rwxr-xr-x   1 root     root        96180 May 23 13:22 /bin/vdir
845420   16 -rwxr-xr-x   1 root     root        13816 May 20  2009 /bin/setfattr
325731   40 -rwxr-xr-x   1 root     root        39580 Jun 25  2009 /bin/ed
849862    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/tee -> /bin/busybox
849752    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/chpst -> /bin/busybox
244201  120 -rwxr-xr-x   1 root     root       118484 Jun 25 12:59 /bin/cpio
 60283   20 -rwxr-xr-x   1 root     root        18204 May 23 13:18 /bin/getfacl
849749    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/catv -> /bin/busybox
 59113    4 -rwxr-xr-x   1 root     root         2249 Jun 25 11:14 /bin/gunzip
849834    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/readahead -> /bin/busybox
849794    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/iplink -> /bin/busybox
845326    0 lrwxrwxrwx   1 root     root            8 May 23 13:19 /bin/nisdomainname -> hostname
849831    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/printenv -> /bin/busybox
845370   20 -rwxr-xr-x   1 root     root        18076 May 20  2009 /bin/getfattr
568969    8 -rwxr-xr-x   1 root     root         5396 Jun 25 13:07 /bin/mountpoint
736362   76 -r-xr-xr-x   1 root     root        71368 Jun 25 13:10 /bin/ps
849758    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/cmp -> /bin/busybox
845337  248 -rwxr-xr-x   1 root     root       248308 May 20  2009 /bin/tar
849825    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/openvt -> /bin/busybox
849838    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/reset -> /bin/busybox
873434  164 -rwxr-xr-x   1 root     root       161712 Jun 25 14:13 /bin/nano
849854    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/softlimit -> /bin/busybox
849785    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/hexdump -> /bin/busybox
374095   64 -rws--x--x   1 root     root        59688 May 23 13:18 /bin/mount
618157   20 -rwxr-xr-x   1 root     root        17776 May 23 13:22 /bin/true
849872    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ttysize -> /bin/busybox
849772    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/eject -> /bin/busybox
849859    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/sum -> /bin/busybox
849817    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/mkpasswd -> /bin/busybox
773253   32 -rws--x--x   1 root     root        30456 Jun 25 13:07 /bin/ping6
849786    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/id -> /bin/busybox
618158   92 -rwxr-xr-x   1 root     root        87704 May 23 13:22 /bin/du
849706    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/addgroup -> /bin/busybox
849849    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/setuidgid -> /bin/busybox
845356    0 lrwxrwxrwx   1 root     root            8 May 23 13:19 /bin/domainname -> hostname
849778    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/fdformat -> /bin/busybox
618159   24 -rwxr-xr-x   1 root     root        21888 May 23 13:22 /bin/tty
618160   28 -rwxr-xr-x   1 root     root        26048 May 23 13:22 /bin/pwd
529900    0 lrwxrwxrwx   1 root     root            7 Jun 26 17:01 /bin/bb -> busybox
849873    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/unexpand -> /bin/busybox
849740    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ash -> /bin/busybox
618161   56 -rwxr-xr-x   1 root     root        50744 May 23 13:22 /bin/tail
845383   12 -rwxr-xr-x   1 root     root         9524 May 20  2009 /bin/attr
845320   36 -rws--x--x   1 root     root        32856 May 20  2009 /bin/passwd
618162   60 -rwxr-xr-x   1 root     root        54800 May 23 13:22 /bin/date
849773    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/envdir -> /bin/busybox
 60287   16 -rwxr-xr-x   1 root     root        13660 May 23 13:18 /bin/chacl
874147   36 -rwxr-xr-x   1 root     root        34652 Aug  4  2009 /bin/ntfs-3g
849790    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ip -> /bin/busybox
845345    0 lrwxrwxrwx   1 root     root            5 Jun 25 12:51 /bin/bunzip2 -> bzip2
849754    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/chvt -> /bin/busybox
849837    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/renice -> /bin/busybox
849812    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/lzopcat -> /bin/busybox
 77783  868 -rwxr-xr-x   1 root     root       883788 Jun 26 17:01 /bin/busybox
 59897   80 -rwxr-xr-x   1 root     root        77696 Jun 25 11:14 /bin/gzip
849843    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/rx -> /bin/busybox
899569   16 -rwxr-xr-x   1 root     root        13648 May 23 13:19 /bin/hostname
618163   96 -rwxr-xr-x   1 root     root        91892 May 23 13:22 /bin/cp
374096    8 -rwxr-xr-x   1 root     root         5400 May 23 13:18 /bin/dmesg
906017   12 -rwxr-xr-x   1 root     root         9620 May 25  2009 /bin/mbchk
618164   48 -rwxr-xr-x   1 root     root        46672 May 23 13:22 /bin/dd
773173   36 -rws--x--x   1 root     root        34628 Jun 25 13:07 /bin/ping
528339    0 lrwxrwxrwx   1 root     root            2 Jun 25  2009 /bin/red -> ed
849791    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/ipaddr -> /bin/busybox
849861    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/tac -> /bin/busybox
845336    0 lrwxrwxrwx   1 root     root           20 May 25  2009 /bin/igawk -> /usr/bin/igawk-3.1.6
618165   24 -rwxr-xr-x   1 root     root        21892 May 23 13:22 /bin/sleep
849760    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/cryptpw -> /bin/busybox
849813    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/makemime -> /bin/busybox
849840    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/rtcwake -> /bin/busybox
849890    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/xargs -> /bin/busybox
849757    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/clear -> /bin/busybox
789026   80 -rwxr-xr-x   1 root     root        75636 Jul  7  2009 /bin/egrep
849744    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/beep -> /bin/busybox
618166   36 -rwxr-xr-x   1 root     root        34264 May 23 13:22 /bin/head
849805    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/linux64 -> /bin/busybox
849816    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/microcom -> /bin/busybox
618167   36 -rwxr-xr-x   1 root     root        34204 May 23 13:22 /bin/rmdir
618168   64 -rwxr-xr-x   1 root     root        58988 May 23 13:22 /bin/df
849845    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/scriptreplay -> /bin/busybox
849742    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/bbsh -> /bin/busybox
849784    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/hd -> /bin/busybox
849799    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/killall -> /bin/busybox
849866    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/tftpd -> /bin/busybox
849764    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/deluser -> /bin/busybox
849741    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/bbconfig -> /bin/busybox
849884    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/volname -> /bin/busybox
849753    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/chrt -> /bin/busybox
621237   60 -rwxr-xr-x   1 root     root        54724 May 23 13:22 /bin/stty
621238   40 -rwxr-xr-x   1 root     root        38352 May 23 13:22 /bin/mkdir
849763    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/delgroup -> /bin/busybox
849796    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/iprule -> /bin/busybox
849877    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/unlzma -> /bin/busybox
849850    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/sha1sum -> /bin/busybox
849762    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/deallocvt -> /bin/busybox
849875    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/uniq -> /bin/busybox
800204    4 -rwxr-xr-x   1 root     root         1941 Jun 25 11:14 /bin/zcat
849765    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/diff -> /bin/busybox
849818    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/mt -> /bin/busybox
849783    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/getopt -> /bin/busybox
849876    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/unix2dos -> /bin/busybox
529902    0 lrwxrwxrwx   1 root     root            2 Jun 26 17:01 /bin/busybox.static -> bb
621239  100 -rwxr-xr-x   1 root     root        96180 May 23 13:22 /bin/ls
849822    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/nohup -> /bin/busybox
845415   32 -rws--x--x   1 root     root        30940 May 20  2009 /bin/su
789407   60 -rwxr-xr-x   1 root     root        55304 Jul  7  2009 /bin/sed
798691   36 -rwxr-xr-x   1 root     root        34244 Jun 25 12:51 /bin/bzip2
849882    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/vi -> /bin/busybox
621240   24 -rwxr-xr-x   1 root     root        21884 May 23 13:22 /bin/dirname
849869    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/top -> /bin/busybox
849832    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/printf -> /bin/busybox
621241   88 -rwxr-xr-x   1 root     root        83812 May 23 13:22 /bin/sort
849853    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/showkey -> /bin/busybox
849761    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/cttyhack -> /bin/busybox
873075   28 -rwxr-xr-x   1 root     root        26308 Jun 25 14:26 /bin/fuser
621242   44 -rwxr-xr-x   1 root     root        42528 May 23 13:22 /bin/ln
850598    0 lrwxrwxrwx   1 root     root            9 Jul  6  2009 /bin/csh -> /bin/tcsh
845350  320 -rwxr-xr-x   1 root     root       321916 May 20  2009 /bin/gawk-3.1.6
621243   32 -rwxr-xr-x   1 root     root        30164 May 23 13:22 /bin/expr
849848    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/setsid -> /bin/busybox
788417   12 drwxr-xr-x   2 root     root        12288 Jun 26 17:01 /sbin
228175   16 -rwxr-xr-x   1 root     root        14080 May 23 13:18 /sbin/blockdev
112069   20 -rwxr-xr-x   1 root     root        17812 Dec  5  2009 /sbin/mkhomedir_helper
788438    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgextend -> lvm
788430    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/chroot -> /bin/busybox
131862    8 -r-xr-xr-x   1 root     root         5849 Jan  2 18:59 /sbin/lvmdump
789230    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/httpd -> /bin/busybox
309764  180 -rwxr-xr-x   1 root     root       176616 Jun 25 14:41 /sbin/e2fsck
788444    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgck -> lvm
309292   12 -rwxr-xr-x   1 root     root         9556 Jun 25 14:41 /sbin/logsave
788458    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgdisplay -> lvm
788429    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/chpasswd -> /bin/busybox
788482    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgs -> lvm
789246    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/rdev -> /bin/busybox
899539    8 -rwxr-xr-x   1 root     root         5416 May 23 13:19 /sbin/plipconfig
788968    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/fbset -> /bin/busybox
857181   24 -rwxr-xr-x   1 root     root        22052 Jun 25 13:07 /sbin/shutdown
  5558   20 -rwxr-xr-x   1 root     root        19316 Jul  8  2009 /sbin/v86d
789659    0 lrwxrwxrwx   1 root     root            7 Dec 25  2009 /sbin/fsck.vfat -> dosfsck
899570   48 -rwxr-xr-x   1 root     root        48980 May 23 13:19 /sbin/arp
789250    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/setfont -> /bin/busybox
788492    0 -rw-r--r--   1 root     root            0 May 20  2009 /sbin/.keep
350228   36 -rwxr-xr-x   1 root     root        34284 May 23 13:23 /sbin/genl
112042   28 -rwxr-xr-x   1 root     root        26072 Dec  5  2009 /sbin/unix_update
788496    0 lrwxrwxrwx   1 root     root           12 May 25  2009 /sbin/lsmod -> ../bin/lsmod
132928 1256 -r-xr-xr-x   1 root     root      1280024 Jan  2 19:00 /sbin/lvm.static
788517    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvs -> lvm
788434    0 lrwxrwxrwx   1 root     root           15 Jun 24 18:31 /sbin/ip6tables-save -> ip6tables-multi
772500    4 -rwxr-xr-x   1 root     root         3221 Nov 14  2009 /sbin/depscan.sh
788818    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgcfgbackup -> lvm
857457  248 -rwxr-xr-x   1 root     root       248876 Jun 24 18:31 /sbin/iptables-multi
773172   16 -rwxr-xr-x   1 root     root        13704 Jun 25 13:07 /sbin/arping
508449  372 -rwxr-xr-x   1 root     root       374976 Aug  4  2009 /sbin/dhclient
788457  500 -rwxr-xr-x   1 root     root       506772 May 20  2009 /sbin/insmod.static
788510    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/devmem -> /bin/busybox
350227   28 -rwxr-xr-x   1 root     root        26144 May 23 13:23 /sbin/ifstat
788461    0 lrwxrwxrwx   1 root     root            4 Jun 25 13:07 /sbin/telinit -> init
857245   16 -rwxr-xr-x   1 root     root        13724 Jun 25 13:07 /sbin/halt
788497    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/fsck.ext4dev -> e2fsck
789227    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/ftpd -> /bin/busybox
 46366    4 -rwxr-xr-x   1 root     root          807 Nov 14  2009 /sbin/idectl
105130   16 -rwxr-xr-x   1 root     root        13928 Jun 25 15:44 /sbin/umount.cifs
772268   24 -rwxr-xr-x   1 root     root        23661 Nov 14  2009 /sbin/rc
228120   20 -rwxr-xr-x   1 root     root        18236 May 23 13:18 /sbin/agetty
788819    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgmknodes -> lvm
789217    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/flash_unlock -> /bin/busybox
325773   68 -rwxr-xr-x   1 root     root        63036 Jun 24 18:10 /sbin/dhcpcd
905978    4 -rwxr-xr-x   1 root     root         2304 May 25  2009 /sbin/grub-md5-crypt
899534   24 -rwxr-xr-x   1 root     root        23604 May 23 13:19 /sbin/rarp
228164    8 -rwxr-xr-x   1 root     root         5360 May 23 13:18 /sbin/pivot_root
350221   24 -rwxr-xr-x   1 root     root        23032 May 23 13:23 /sbin/rtacct
788903    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgcfgrestore -> lvm
789660    0 lrwxrwxrwx   1 root     root            7 Dec 25  2009 /sbin/fsck.msdos -> dosfsck
788904    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgreduce -> lvm
807515   24 -rwxr-xr-x   1 root     root        21952 Jun 26  2009 /sbin/brctl
788908    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvconvert -> lvm
788465    0 lrwxrwxrwx   1 root     root            4 Jun 25 13:07 /sbin/poweroff -> halt
789318    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/watchdog -> /bin/busybox
857320  224 -rwxr-xr-x   1 root     root       223212 Jun 24 18:31 /sbin/ip6tables-multi
788513    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/fsck.ext4 -> e2fsck
132184  688 -r-xr-xr-x   1 root     root       697656 Jan  2 19:00 /sbin/lvm
788520    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/mkfs.ext4 -> mke2fs
112048   12 -rwxr-xr-x   1 root     root         9548 Dec  5  2009 /sbin/pam_timestamp_check
309755   16 -rwxr-xr-x   1 root     root        13720 Jun 25 14:41 /sbin/e2image
228168   60 -rwxr-xr-x   1 root     root        55772 May 23 13:18 /sbin/sfdisk
840785   40 -r-xr-xr-x   1 root     root        38254 Feb 19 21:46 /sbin/shorewall
789245    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/rdate -> /bin/busybox
228162    8 -rwxr-xr-x   1 root     root         5384 May 23 13:18 /sbin/findfs
788449    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgscan -> lvm
788523    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/mkfs.ext3 -> mke2fs
788478    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvchange -> lvm
788493   16 -rwxr-xr-x   1 root     root        13876 May 20  2009 /sbin/modinfo
788660    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvresize -> lvm
508446    8 -rwx------   1 root     root         7686 Aug  4  2009 /sbin/dhclient-script
788706    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvscan -> lvm
789232    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/ifenslave -> /bin/busybox
788435    0 lrwxrwxrwx   1 root     root            6 May 23 13:18 /sbin/swapoff -> swapon
788707    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvreduce -> lvm
857246   16 -rwxr-xr-x   1 root     root        13908 Jun 25 13:07 /sbin/bootlogd
350222  244 -rwxr-xr-x   1 root     root       242592 May 23 13:23 /sbin/tc
788462    0 lrwxrwxrwx   1 root     root           19 Jun 24 14:26 /sbin/scsi_id -> ../lib/udev/scsi_id
131872   12 -r-xr-xr-x   1 root     root        10350 Jan  2 18:59 /sbin/vgimportclone
279076   12 -rwxr-xr-x   1 root     root         9516 Jun 25  2009 /sbin/iwgetid
228166   28 -rwxr-xr-x   1 root     root        26040 May 23 13:18 /sbin/losetup
899574   28 -rwxr-xr-x   1 root     root        27636 May 23 13:19 /sbin/slattach
788718    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgchange -> lvm
789175    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/flash_lock -> /bin/busybox
277855   16 -rwxr-xr-x   1 root     root        13700 Jun 25  2009 /sbin/iwevent
789308    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/telnetd -> /bin/busybox
277857   24 -rwxr-xr-x   1 root     root        21892 Jun 25  2009 /sbin/iwconfig
792356    0 lrwxrwxrwx   1 root     root           15 Jun 24 18:31 /sbin/ip6tables-restore -> ip6tables-multi
228171   16 -rwxr-xr-x   1 root     root        13692 May 23 13:18 /sbin/mkfs.bfs
350207    4 -rwxr-xr-x   1 root     root           37 May 23 13:23 /sbin/rtpr
 60194   12 -rwxr-xr-x   1 root     root         9508 Jan  2 18:50 /sbin/mount.fuse
788508    0 lrwxrwxrwx   1 root     root            7 Jun 26 17:01 /sbin/mdev -> /bin/bb
788474   12 -rwxr-xr-x   1 root     root         9508 May 20  2009 /sbin/generate-modprobe.conf
789234    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/klogd -> /bin/busybox
772497   20 -rwxr-xr-x   1 root     root        18958 Nov 14  2009 /sbin/runscript.sh
228119   24 -rwxr-xr-x   1 root     root        21900 May 23 13:18 /sbin/mkfs.cramfs
814584  124 -rwxr-xr-x   1 root     root       120624 Jun 24 14:26 /sbin/udevd
133079  608 -r-xr-xr-x   1 root     root       617712 Jan  2 19:00 /sbin/dmeventd.static
228159   16 -rwxr-xr-x   1 root     root        13660 May 23 13:18 /sbin/fsck.cramfs
309756   20 -rwxr-xr-x   1 root     root        17800 Jun 25 14:41 /sbin/dumpe2fs
309754   84 -rwxr-xr-x   1 root     root        78248 Jun 25 14:41 /sbin/debugfs
792362    0 lrwxrwxrwx   1 root     root           14 Jun 24 18:31 /sbin/iptables-save -> iptables-multi
105128   32 -rwxr-xr-x   1 root     root        30632 Jun 25 15:44 /sbin/mount.cifs
112046   12 -rwxr-xr-x   1 root     root         9536 Dec  5  2009 /sbin/pam_tally
905976  144 -rwxr-xr-x   1 root     root       140040 May 25  2009 /sbin/grub
789319    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/zcip -> /bin/busybox
789249    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/setconsole -> /bin/busybox
772258   56 -rwxr-xr-x   1 root     root        51166 Nov 14  2009 /sbin/MAKEDEV
788735    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvcreate -> lvm
788787    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvmove -> lvm
789237    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/logread -> /bin/busybox
905979    4 -rwxr-xr-x   1 root     root         2473 May 25  2009 /sbin/grub-terminfo
309750   24 -rwxr-xr-x   1 root     root        21940 Jun 25 14:41 /sbin/badblocks
788524    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/mkfs.ext4dev -> mke2fs
789251    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/setlogcons -> /bin/busybox
228158   28 -rwxr-xr-x   1 root     root        26236 May 23 13:18 /sbin/fsck
825223  100 -rwxr-xr-x   1 root     root        95688 Jun 26  2009 /sbin/dhcdbd
788788    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvremove -> lvm
788526    0 lrwxrwxrwx   1 root     root            7 Jun 25 14:41 /sbin/e2label -> tune2fs
899585   20 -rwxr-xr-x   1 root     root        17760 May 23 13:19 /sbin/iptunnel
228174   12 -rwxr-xr-x   1 root     root         9572 May 23 13:18 /sbin/switch_root
788789    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvrename -> lvm
788422   56 -rwxr-xr-x   1 root     root        51084 May 20  2009 /sbin/depmod
788790    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgcreate -> lvm
789242    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/mkfs.vfat -> /bin/busybox
789313    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/tunctl -> /bin/busybox
792364    0 lrwxrwxrwx   1 root     root           15 Jun 24 18:31 /sbin/ip6tables -> ip6tables-multi
133039  648 -r-xr-xr-x   1 root     root       655540 Jan  2 19:00 /sbin/dmsetup.static
788791    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgremove -> lvm
277837   12 -rwxr-xr-x   1 root     root         9532 Jun 25  2009 /sbin/iwspy
788793    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvscan -> lvm
788423    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/acpid -> /bin/busybox
788794    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvmsar -> lvm
788509    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/crond -> /bin/busybox
899600   12 -rwxr-xr-x   1 root     root         9684 May 23 13:19 /sbin/nameif
792368    0 lrwxrwxrwx   1 root     root           14 Jun 24 18:31 /sbin/iptables-restore -> iptables-multi
228169   20 -rwxr-xr-x   1 root     root        17856 May 23 13:18 /sbin/mkswap
788512   12 -rwxr-xr-x   1 root     root         9748 May 20  2009 /sbin/rmmod
789236    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/loadkmap -> /bin/busybox
788490    8 -rwxr-xr-x   1 root     root         5372 May 20  2009 /sbin/nologin
788481    0 lrwxrwxrwx   1 root     root            4 Jun 25 13:07 /sbin/reboot -> halt
350212   32 -rwxr-xr-x   1 root     root        30144 May 23 13:23 /sbin/rtmon
788534    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/fsck.ext3 -> e2fsck
228116   60 -rwxr-xr-x   1 root     root        56124 May 23 13:18 /sbin/cfdisk
674650   16 -rwxr-xr-x   1 root     root        13716 Jun 25 13:07 /sbin/killall5
772504    8 -rwxr-xr-x   1 root     root         5360 Nov 14  2009 /sbin/consoletype
772498   20 -rwxr-xr-x   1 root     root        19612 Nov 14  2009 /sbin/functions.sh
788795    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvchange -> lvm
789243    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/popmaildir -> /bin/busybox
789218    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/freeramdisk -> /bin/busybox
 76295  100 -rwxr-xr-x   1 root     root        96840 Nov 14  2009 /sbin/hdparm
790489    0 lrwxrwxrwx   1 root     root           12 Aug  4  2009 /sbin/mount.ntfs-3g -> /bin/ntfs-3g
807742   32 -rwxr-xr-x   1 root     root        30092 Dec  5  2009 /sbin/ntfsck
788798    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvremove -> lvm
788428    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/adjtimex -> /bin/busybox
131967   12 -r-xr-xr-x   1 root     root        11376 Jan  2 18:59 /sbin/fsadm
788799    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgexport -> lvm
814517  124 -rwxr-xr-x   1 root     root       120476 Jun 24 14:26 /sbin/udevadm
350197   16 -rwxr-xr-x   1 root     root        13860 May 23 13:23 /sbin/lnstat
228163   44 -rwxr-xr-x   1 root     root        42464 May 23 13:18 /sbin/hwclock
309752   36 -rwxr-xr-x   1 root     root        34408 Jun 25 14:41 /sbin/resize2fs
228170   24 -rwxr-xr-x   1 root     root        22184 May 23 13:18 /sbin/swapon
789316    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/udhcpd -> /bin/busybox
277849   12 -rwxr-xr-x   1 root     root         9548 Jun 25  2009 /sbin/iwpriv
112044   28 -rws--x--x   1 root     root        26084 Dec  5  2009 /sbin/unix_chkpwd
309763   36 -rwxr-xr-x   1 root     root        34408 Jun 25 14:41 /sbin/tune2fs
788800    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgconvert -> lvm
789231    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/ifdown -> /bin/busybox
782666   12 -rwxr-xr-x   1 root     root         9508 Dec 12  2009 /sbin/umount.hal
 58008   48 -rwxr-xr-x   1 root     root        46508 Dec 25  2009 /sbin/dosfsck
277847   28 -rwxr-xr-x   1 root     root        26020 Jun 25  2009 /sbin/ifrename
788516    4 -rwxr-xr-x   1 root     root         1735 Jun 26 15:12 /sbin/fix_libtool_files.sh
309753   12 -rwxr-xr-x   1 root     root         9580 Jun 25 14:41 /sbin/e2undo
789254    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/svlogd -> /bin/busybox
789255    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/syslogd -> /bin/busybox
789314    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/udhcpc -> /bin/busybox
905977   16 -rwxr-xr-x   1 root     root        13310 May 25  2009 /sbin/grub-install
326648 1048 -rwxr-xr-x   1 root     root      1067860 Jun 26  2009 /sbin/cryptsetup
788453    0 lrwxrwxrwx   1 root     root            9 Nov 14  2009 /sbin/update-rc -> rc-update
734382  652 -rwxr-xr-x   1 root     root       662688 Jun 24 14:55 /sbin/ldconfig
788454   12 -rwxr-xr-x   1 root     root        10519 May 20  2009 /sbin/update-modules
789241    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/mkdosfs -> /bin/busybox
788801    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvresize -> lvm
788425   36 -rwxr-xr-x   1 root     root        34772 May 20  2009 /sbin/modprobe
857498    4 -rwxr-xr-x   1 root     root         2266 Jun 25 13:07 /sbin/installkernel
788536    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/fsck.ext2 -> e2fsck
350224  216 -rwxr-xr-x   1 root     root       215972 May 23 13:23 /sbin/ip
675375    8 -rwxr-xr-x   1 root     root         5376 Jun 25 13:07 /sbin/runlevel
789239    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/makedevs -> /bin/busybox
788802    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgsplit -> lvm
228172   20 -rwxr-xr-x   1 root     root        18928 May 23 13:18 /sbin/mkfs.minix
788803    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvextend -> lvm
772501   20 -rwxr-xr-x   1 root     root        18324 Nov 14  2009 /sbin/start-stop-daemon
788550    0 lrwxrwxrwx   1 root     root            6 Jun 25 14:41 /sbin/mkfs.ext2 -> mke2fs
788433    0 lrwxrwxrwx   1 root     root            6 Dec  5  2009 /sbin/fsck.ntfs -> ntfsck
788804    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvmsadc -> lvm
228118   12 -rwxr-xr-x   1 root     root         9504 May 23 13:18 /sbin/raw
789229    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/getty -> /bin/busybox
309757   60 -rwxr-xr-x   1 root     root        55024 Jun 25 14:41 /sbin/mke2fs
350195   68 -rwxr-xr-x   1 root     root        63136 May 23 13:23 /sbin/ss
789240    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/man -> /bin/busybox
788970    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/flash_eraseall -> /bin/busybox
788805    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvck -> lvm
734381  512 -rwxr-xr-x   1 root     root       519060 Jun 24 14:55 /sbin/sln
788806    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvdisplay -> lvm
788807    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvmdiskscan -> lvm
277861   32 -rwxr-xr-x   1 root     root        30132 Jun 25  2009 /sbin/iwlist
788483   12 -rwxr-xr-x   1 root     root         9556 May 20  2009 /sbin/insmod
899567   16 -rwxr-xr-x   1 root     root        13988 May 23 13:19 /sbin/mii-tool
789317    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/vconfig -> /bin/busybox
133049   28 -r-xr-xr-x   1 root     root        26332 Jan  2 19:00 /sbin/dmeventd
899604   56 -rwxr-xr-x   1 root     root        52144 May 23 13:19 /sbin/route
905980    4 -rwxr-xr-x   1 root     root         2533 May 25  2009 /sbin/grub-set-default
788808    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvcreate -> lvm
789233    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/ifup -> /bin/busybox
350206    4 -rwxr-xr-x   1 root     root         3056 May 23 13:23 /sbin/ifcfg
676673   16 -rwxr-xr-x   1 root     root        13724 Jun 25 13:07 /sbin/sulogin
788515    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/dhcprelay -> /bin/busybox
772495    8 -rwxr-xr-x   1 root     root         5546 Nov 14  2009 /sbin/rc-update
228121    8 -rwxr-xr-x   1 root     root         5416 May 23 13:18 /sbin/mkfs
788809    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvmchange -> lvm
899580   16 -rwxr-xr-x   1 root     root        13660 May 23 13:19 /sbin/ipmaddr
789244    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/raidautorun -> /bin/busybox
788810    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgrename -> lvm
228115    8 -rwxr-xr-x   1 root     root         5384 May 23 13:18 /sbin/ctrlaltdel
788420    0 lrwxrwxrwx   1 root     root            6 May 23 13:24 /sbin/ctstat -> lnstat
350210    4 -rwxr-xr-x   1 root     root          173 May 23 13:23 /sbin/routef
 76339   12 -r-xr-xr-x   1 root     root         9548 Jun 25 13:10 /sbin/sysctl
789235    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/loadfont -> /bin/busybox
676731   36 -rwxr-xr-x   1 root     root        35008 Jun 25 13:07 /sbin/init
788436    0 lrwxrwxrwx   1 root     root           24 Jun 26 16:19 /sbin/wpa_supplicant -> /usr/sbin/wpa_supplicant
788424    0 lrwxrwxrwx   1 root     root            6 May 23 13:24 /sbin/rtstat -> lnstat
788812    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgimport -> lvm
792369    0 lrwxrwxrwx   1 root     root           14 Jun 24 18:31 /sbin/iptables -> iptables-multi
789247    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/readprofile -> /bin/busybox
350208    4 -rwxr-xr-x   1 root     root         1262 May 23 13:23 /sbin/routel
133019   56 -r-xr-xr-x   1 root     root        52132 Jan  2 19:00 /sbin/dmsetup
788814    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/pvs -> lvm
772503   24 -rwxr-xr-x   1 root     root        21880 Nov 14  2009 /sbin/runscript
228167   16 -rwxr-xr-x   1 root     root        13728 May 23 13:18 /sbin/blkid
788816    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/vgmerge -> lvm
228165   96 -rwxr-xr-x   1 root     root        92956 May 23 13:18 /sbin/fdisk
789248    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /sbin/sendmail -> /bin/busybox
899597   72 -rwxr-xr-x   1 root     root        65608 May 23 13:19 /sbin/ifconfig
531155   28 -rwxr-xr-x   1 root     root        27540 Jun 24 19:15 /sbin/extlinux
228160   28 -rwxr-xr-x   1 root     root        25984 May 23 13:18 /sbin/fsck.minix
350219   16 -rwxr-xr-x   1 root     root        13776 May 23 13:23 /sbin/nstat
112047   12 -rwxr-xr-x   1 root     root         9556 Dec  5  2009 /sbin/pam_tally2
788817    0 lrwxrwxrwx   1 root     root            3 Jan  2 19:00 /sbin/lvdisplay -> lvm
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Mon Jun 28, 2010 11:18 am

You can do

Code: Select all

equery belongs /bin/find
to see if any Portage ebuild put it there. Be interesting to know if one did.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Jun 29, 2010 1:47 am

pomaranca wrote:How is it possible that find was also installed in /bin ?

Code: Select all

# find /bin /sbin -ls
849779    0 lrwxrwxrwx   1 root     root           12 May 23 12:04 /bin/find -> /bin/busybox
Since it points to /bin/busybox, I suspect that at some point you did build busybox with USE=make-symlinks and somehow the links were not removed when you subsequently rebuilt it without that flag.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Tue Jun 29, 2010 2:59 am

And therein lies the complete explanation since init scripts run under a more restrictive environment, thus selecting /bin/find over /usr/bin/find. It also points out the error of my troubleshooting ways. If I'd just said to try

Code: Select all

ls -l `which --all find`
then this would've been over long ago. :P

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Tue Jun 29, 2010 6:47 am

Yes, this is a nicer way to troubleshoot

Code: Select all

# ls -l `which --all find`
lrwxrwxrwx 1 root root     12 May 23 12:04 /bin/find -> /bin/busybox
-rwxr-xr-x 1 root root 141852 Jun 26 18:08 /usr/bin/find
But equery doesn't know packages owning /bin/find

Code: Select all

# equery belongs /bin/find
[ Searching for file(s) /bin/find in *... ]
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Tue Jun 29, 2010 11:59 am

It seem that now every busybox program has two executables, for example

Code: Select all

# which -a setfont
/usr/bin/setfont
/sbin/setfont
How can I find all binaries that busybox installed?
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Tue Jun 29, 2010 12:08 pm

Now I also remember, when the problem began. Whilst configuring my initramfs, I needed to emerge busybox with static use flag enabled. Then busybox was reemerged without static flag again. That must be the source of all the problems. But why wouldn't symlinks to busybox be removed after reemerge?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Tue Jun 29, 2010 1:56 pm

They should've been. Perhaps you lost your metadata somewhere in there. Try the following to identify the busybox symbolic link cruft:

Code: Select all

find /bin /sbin /usr/bin /usr/sbin -type l | xargs ls -l | grep busybox
- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
pomaranca
Tux's lil' helper
Tux's lil' helper
Posts: 87
Joined: Sun Mar 26, 2006 6:37 pm
Location: ljubljana

  • Quote

Post by pomaranca » Tue Jun 29, 2010 2:46 pm

There's a lot of stuff. But some are working nevertheless, for example which:

Code: Select all

# which -a which
/bin/which
/usr/bin/which

Code: Select all

# find /bin /sbin /usr/bin /usr/sbin -type l | xargs ls -l | grep busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/[ -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/[[ -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/addgroup -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/adduser -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ar -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/arping -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ash -> /bin/busybox
lrwxrwxrwx    1 root     root            7 Jun 26 17:01 /bin/bb -> busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/bbconfig -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/bbsh -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/beep -> /bin/busybox
lrwxrwxrwx    1 root     root            2 Jun 26 17:01 /bin/busybox.static -> bb
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/cal -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/catv -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/chat -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/chattr -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/chpst -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/chrt -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/chvt -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/cksum -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/clear -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/cmp -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/comm -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/cryptpw -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/cttyhack -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/deallocvt -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/delgroup -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/deluser -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/diff -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/dos2unix -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/dpkg-deb -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/dumpkmap -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/dumpleases -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/eject -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/envdir -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/envuidgid -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ether-wake -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/expand -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/fdflush -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/fdformat -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/find -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/free -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/fsync -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/getopt -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/hd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/hexdump -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/id -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ifplugd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/install -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ionice -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ip -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ipaddr -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ipcrm -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ipcs -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/iplink -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/iproute -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/iprule -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/iptunnel -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/kbd_mode -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/killall -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/killall5 -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/last -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/length -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/less -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/linux32 -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/linux64 -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/logger -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/lpq -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/lpr -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/lsattr -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/lzmacat -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/lzop -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/lzopcat -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/makemime -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/md5sum -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/mesg -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/microcom -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/mkpasswd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/mt -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/nc -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/nice -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/nmeter -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/nohup -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/nslookup -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/openvt -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/patch -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/pgrep -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/pipe_progress -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/pkill -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/printenv -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/printf -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/pscan -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/readahead -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/realpath -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/reformime -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/renice -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/reset -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/resize -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/rtcwake -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/runsv -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/runsvdir -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/rx -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/script -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/scriptreplay -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/setarch -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/setfont -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/setkeycodes -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/setsid -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/setuidgid -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/sha1sum -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/sha256sum -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/sha512sum -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/showkey -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/softlimit -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/split -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/stat -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/strings -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/sum -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/sv -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/tac -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/tee -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/telnet -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/test -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/tftp -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/tftpd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/time -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/timeout -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/top -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/traceroute -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/ttysize -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/unexpand -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/uniq -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/unix2dos -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/unlzma -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/unlzop -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/unzip -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/uptime -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/usleep -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/vi -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/vlock -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/volname -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/watch -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/wget -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/which -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/who -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/whoami -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /bin/xargs -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/acpid -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/adjtimex -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/chpasswd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/chroot -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/crond -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/devmem -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/dhcprelay -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/fbset -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/flash_eraseall -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/flash_lock -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/flash_unlock -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/freeramdisk -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/ftpd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/getty -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/httpd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/ifdown -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/ifenslave -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/ifup -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/klogd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/loadfont -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/loadkmap -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/logread -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/makedevs -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/man -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/mkdosfs -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/mkfs.vfat -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/popmaildir -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/raidautorun -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/rdate -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/rdev -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/readprofile -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/sendmail -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/setconsole -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/setlogcons -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/svlogd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/syslogd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/telnetd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/tunctl -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/udhcpc -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/udhcpd -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/vconfig -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/watchdog -> /bin/busybox
lrwxrwxrwx    1 root     root           12 May 23 12:04 /sbin/zcip -> /bin/busybox

I hope this will solve my busybox problems:

Code: Select all

rm `find /bin /sbin /usr/bin /usr/sbin -type l | xargs ls -l | grep "\-> /bin/busybox" | grep -o "[a-z]*/.*" | sed "s/-> \/bin\/busybox//g"`
Thanks guys!
Top
Fog_Watch
Apprentice
Apprentice
User avatar
Posts: 271
Joined: Mon Jul 24, 2006 2:58 am
Location: Utility Muffin Research Kitchen

I just thought I'd document this here.

  • Quote

Post by Fog_Watch » Fri Aug 07, 2015 4:57 am

I received a fatal error when attempting to install shorewall:
ERROR: Failed to install -T -o root -g root -m 0544 init.gentoo.sh /var/tmp/portage/net-firewall/shorewall-4.6.10.1/image/etc/init.d/shorewall-init
It turned out that /bin/install was lower in my PATH, and this was linked to busybox, which did not support T. I don't know how these links got there, but I used

Code: Select all

ls `find /bin /sbin /usr/bin /usr/sbin -type l | xargs ls -l | grep "\-> /bin/busybox" | grep -o "[a-z]*/.*" | sed "s/-> \/bin\/busybox//g"`
to find them and then:

Code: Select all

rm `find /bin /sbin /usr/bin /usr/sbin -type l | xargs ls -l | grep "\-> /bin/busybox" | grep -o "[a-z]*/.*" | sed "s/-> \/bin\/busybox//g"`
to delete.
To make sure they were not created again I put the following in the busybox savedconfig.
# CONFIG_INSTALL_APPLET_SYMLINKS is not set
Top
Post Reply

18 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic