
Code: Select all
qgrep -H sys-apps/busybox
app-doc/repodoc/repodoc-0.1.0.ebuild: || ( sys-apps/gawk sys-apps/mawk sys-apps/busybox )"
...
Code: Select all
default 0
timeout 3
title Gentoo Linux 2.6.28-r2
root (hd0,6)
kernel /boot/bzImage-2.6.28-gentoo-r2-2 root=/dev/hda7 resume=/dev/hda5 quiet vga=791 init=/bin/busybox
I am not to be a shepherd, I am not to be a grave-digger. No longer will I speak to the people; for the last time I have spoken to the dead.

Of course I don't do this. But sometimes the devil hides in details. I was struggling several times with updates that went perfectly well on my test sytems but broke on the servers then. Fortunately most of these servers I have to administer are non-critical.henri wrote:@ Polynomial-C: You do untested updates on a running server-system



op tl;drtimeBandit wrote:poly_poly-man wrote:initrd's. If you use genkernel or like pain, you need it.(readingSkills)--henri, in the original post, wrote:I do not use genkernel nor is our kernel modules-enabled. - And we don't use any ramdisks.
![]()
I answered your question first off.henri wrote: So my question is still not answered. I didn't explicit request a busybox install and it is not needed on a system with coreutils installed.
If a server is so corrupted or broken that I would need busybox to repair it, a completely new server-install would be the correct thing to do.
Anything else might be something to do at home with your desktop, but wouldn't be an accurate action for a server accessible throught the internet.
How could some of the coreutils be broken on a server? Only by a crack, eg. a cracker replaced the binaries on a amd64 system with x86 binaries.
So again: Why is busybox installed by default?

The first two statements are sweeping generalities based on your opinions and preferences, not universal truths. Yours is not the one correct way to operate a server, nor is mine, nor is Hu's, etc. There are best practices of course, but which practices to follow is a matter of choice, necessity or both.henri wrote:If a server is so corrupted or broken that I would need busybox to repair it, a completely new server-install would be the correct thing to do.
Anything else might be something to do at home with your desktop, but wouldn't be an accurate action for a server accessible throught the internet.
How could some of the coreutils be broken on a server? Only by a crack, eg. a cracker replaced the binaries on a amd64 system with x86 binaries.
You could just type "emerge -pv system" and busybox will be listed. When booting the first time into a gentoo installation a usual thing to do is "emerge -e system" after checking the packages listed. In your case man, man-pages and groff for instance might be some other candidatesO.K. I don't have repodoc installed so I guess it has already been in the stage tarball.

Code: Select all
zeromancer:~ # emerge -Cq busybox >/dev/null
!!! 'sys-apps/busybox' is part of your system profile.
!!! Unmerging it may be damaging to your system.
zeromancer:~ # echo "sys-apps/busybox-99" >> /etc/portage/profile/package.provided
zeromancer:~ # emerge -uDpqv @world
WARNING: A requested package will not be merged because it is listed in
package.provided:
sys-apps/busybox pulled in by 'world'
This problem can be solved in one of the following ways:
A) Use emaint to clean offending packages from world (if not installed).
B) Uninstall offending packages (cleans them from world).
C) Remove offending entries from package.provided.
The best course of action depends on the reason that an offending
package.provided entry exists.
zeromancer:~ #