Mistakenly renamed libdl.so: system got corrupted


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Mistakenly renamed libdl.so: system got corrupted
# 8  
Old 12-31-2010
I don't think it is in a standard install to have a static version of busybox installed. Even if busybox was installed, it is more than likely the dynamic, shared lib version was installed.

Frankly, I don't think it is good to "expect" anything; it is best to look and examine, not assume. You have one example of one desktop version. I just checked three servers, one we build directly from CD and two VM from two different companies. In addition, our three example versions were 64 bit and the original poster's version is 64 bit as well.

So far, the evidence and facts we know seem to suggest that the 64 bit versions of ubuntu do not have busybox installed by default.
# 9  
Old 12-31-2010
Hi, Neo.

I expect the worst, but hope for the best Smilie

The busybox-static utility is included in some meta-packages:
Code:
% apt-cache rdepends busybox-static
busybox-static
Reverse Depends:
 |e2fsck-static
 |e2fsck-static
 |debirf
  busybox
  busybox
 |bootcd-mkinitramfs
  ubuntu-standard

and the ubuntu-standard package is a meta-package:
Code:
% apt-cache show ubuntu-standard
Package: ubuntu-standard
Priority: standard
Section: metapackages
Installed-Size: 60
Maintainer: Matt Zimmerman <mdz@ubuntu.com>
Architecture: i386
Source: ubuntu-meta
Version: 1.197
Depends: aptitude, at, busybox-static, cpio, cron, dmidecode, dnsutils, dosfstools, ed, file, ftp, hdparm, info, iptables, language-selector-common, logrotate, lshw, lsof, ltrace, man-db, memtest86+, mime-support, parted, pciutils, popularity-contest, psmisc, rsync, strace, time, usbutils, wget
Recommends: apparmor-utils, apt-transport-https, bash-completion, command-not-found, friendly-recovery, iputils-arping, iputils-tracepath, irqbalance, manpages, mlocate, mtr-tiny, nano, ntfs-3g, openssh-client, plymouth, plymouth-theme-ubuntu-text, ppp, pppconfig, pppoeconf, tcpdump, telnet, ufw, update-manager-core, uuid-runtime, w3m
Filename: pool/main/u/ubuntu-meta/ubuntu-standard_1.197_i386.deb
Size: 30794
MD5sum: 1319acb51e9202c85521aa6651e9025a
SHA1: 1d1f38ebbd4cb4ed700d2a7d147780977bdbd89a
SHA256: 24b6b6790849e20eec300b4f0bc82f549153e424e4ed54babed95a7fa41ac88a
Description: The Ubuntu standard system
 This package depends on all of the packages in the Ubuntu standard system.
 This set of packages provides a comfortable command-line Unix-like
 environment.
 .
 It is also used to help ensure proper upgrades, so it is recommended that
 it not be removed.

So if the OP had a standard install, then busybox-static should be there -- 64-bit, 8.04 still being the differences ... cheers, drl
# 10  
Old 12-31-2010
On 64-bit Fedora/Redhat/Centos, Busybox is statically linked.


Busybox is not installed by default, one has to manually install the RPM.

Last edited by fpmurphy; 12-31-2010 at 12:47 PM..
# 11  
Old 12-31-2010
Well, we have 3 standard 64-bit Ubuntu installs, and none of them have busybox installed, either static or dynamic. One we installed from CD ourselves (as I recall, has been a while) and the other two are recent, 2010, VM installs.

---------- Post updated at 16:44 ---------- Previous update was at 16:41 ----------

And also,

Code:
user@linode:~# apt-cache show ubuntu-standard
Package: ubuntu-standard
Priority: standard
Section: metapackages
Installed-Size: 56
Maintainer: Matt Zimmerman <mdz@ubuntu.com>
Architecture: amd64
Source: ubuntu-meta
Version: 1.175
Depends: aptitude, at, cpio, cron, dmidecode, dnsutils, dosfstools, ed, file, ftp, hdparm, info, iptables, logrotate, lshw, lsof, ltrace, man-db, memtest86+, mime-support, parted, pciutils, popularity-contest, psmisc, rsync, strace, time, usbutils, wget
Recommends: apparmor-utils, apt-transport-https, bash-completion, command-not-found, friendly-recovery, iputils-arping, iputils-tracepath, manpages, mlocate, mtr-tiny, nano, ntfs-3g, openssh-client, ppp, pppconfig, pppoeconf, tcpdump, telnet, ufw, update-manager-core, uuid-runtime, w3m
Filename: pool/main/u/ubuntu-meta/ubuntu-standard_1.175_amd64.deb
Size: 29638
MD5sum: 31f2967ffcc4ca7a26c51efd3bccdcf7
SHA1: 6ff4eaeae9f541e9174fa47e3b1c32bf6014ef54
SHA256: 6a210bfba1e515a99f6ee6c28cfc428a0106902e0eb8bcdca50bb93f52e0108a
Description: The Ubuntu standard system
 This package depends on all of the packages in the Ubuntu standard system.
 This set of packages provides a comfortable command-line Unix-like
 environment.
 .
 It is also used to help ensure proper upgrades, so it is recommended that
 it not be removed.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: standard

No busybox ...

---------- Post updated at 16:46 ---------- Previous update was at 16:44 ----------

And one more... no busybox of any kind:
Code:
user@www:~# apt-cache show ubuntu-standard
Package: ubuntu-standard
Priority: standard
Section: metapackages
Installed-Size: 56
Maintainer: Matt Zimmerman <mdz@ubuntu.com>
Architecture: amd64
Source: ubuntu-meta
Version: 1.175
Depends: aptitude, at, cpio, cron, dmidecode, dnsutils, dosfstools, ed, file, ftp, hdparm, info, iptables, logrotate, lshw, lsof, ltrace, man-db, memtest86+, mime-support, parted, pciutils, popularity-contest, psmisc, rsync, strace, time, usbutils, wget
Recommends: apparmor-utils, apt-transport-https, bash-completion, command-not-found, friendly-recovery, iputils-arping, iputils-tracepath, manpages, mlocate, mtr-tiny, nano, ntfs-3g, openssh-client, ppp, pppconfig, pppoeconf, tcpdump, telnet, ufw, update-manager-core, uuid-runtime, w3m
Filename: pool/main/u/ubuntu-meta/ubuntu-standard_1.175_amd64.deb
Size: 29638
MD5sum: 31f2967ffcc4ca7a26c51efd3bccdcf7
SHA1: 6ff4eaeae9f541e9174fa47e3b1c32bf6014ef54
SHA256: 6a210bfba1e515a99f6ee6c28cfc428a0106902e0eb8bcdca50bb93f52e0108a
Description: The Ubuntu standard system
 This package depends on all of the packages in the Ubuntu standard system.
 This set of packages provides a comfortable command-line Unix-like
 environment.
 .
 It is also used to help ensure proper upgrades, so it is recommended that
 it not be removed.
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: standard

---------- Post updated at 16:47 ---------- Previous update was at 16:46 ----------

Seems "Ubuntu Standard Install" has little meaning, LOL Smilie

FWIW, on our end, I am talking:

Code:
user@www:~# cat /etc/issue
Ubuntu 9.10 \n \l

# 12  
Old 12-31-2010
Hi, Neo.

Extracting the depends from each post, separating into lines, sorting, and running through comm yields:
Code:
				Version:1.175
Version:1.197
busybox-static,
language-selector-common,

suggesting that the recent version of a standard install has busybox-static, but not installs of versions as old as the ones into which you logged-in, and possibly not as old as that of the OP ... cheers, drl

( Again with the possible additional differences of Desktop vs Server, 32 vs. 64 )
# 13  
Old 12-31-2010
Quote:
Originally Posted by fpmurphy
On 64-bit Fedora/Redhat/Centos, Busybox is statically linked.


Busybox is not installed by default, one has to manually install the RPM.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Renamed Volume Group name on Webmin while running samba server (oops)

Hi...I'm new to Linux and was working on a home server. I have it operational with Samba Share as my NAS system. Unfortunately, while I was on Webmin I changed the Logical Volume Group Name and now I can't find the data I had saved on my Samba Server. Can anyone help me recover those files? ... (0 Replies)
Discussion started by: pangil
0 Replies

2. Shell Programming and Scripting

Renaming file and check for the renamed file existence

Hi Am trying to move a file from one name to another When I do "ls" to check for the moved filename I can see the file but when I try the same with a script am unable.. I think am doing some pretty silly error.. please help.. toMove=`ls | grep -E "partition.+"` mv $toMove partition._org... (7 Replies)
Discussion started by: Priya Amaresh
7 Replies

3. Shell Programming and Scripting

who renamed my executable

Hi All, I connected via rlogin in testing environment (ksh ) and placed an executable with -rwxr-xr-x permission. eg: from my own unix box used : rlogin host -l user But the exe was renamed by somebody. since it's only renaming none of the access time , modification time etc is altered.... (2 Replies)
Discussion started by: blackcat
2 Replies

4. Solaris

recover a corrupted solaris10 system /usr/lib

did something very dump under /usr/lib, eg: overwite a bunch of files from a similar system's /usr/lib, while the system is live.. I have no backup on this..it crashed...and came up with a bunch of device driver load errors and hung... This is Solaris10 update 7 .. I wonder if I could do a... (0 Replies)
Discussion started by: ppchu99
0 Replies

5. Solaris

UFS File System Periodically Corrupted - What to check?

The system is a SunFire V440 running SunOS 5.10 About once every 3-4 weeks, the system will reboot into single user mode on its own, and then I run svcs -xv, the filesystem service and dependent services will be disabled due to the metadisk file system being corrupted. The I've been doing... (2 Replies)
Discussion started by: the.gooch
2 Replies

6. Solaris

Renamed lib directory by mistake

Let's say someone accidentally renamed the lib directory in Solaris 8, and now they cannot get into the terminal or even rename the folder via file manager.What would one do? (37 Replies)
Discussion started by: jetjaguar
37 Replies

7. UNIX for Advanced & Expert Users

Critical lib renamed

Hello I have moved a critical lib from its location, so all programms linked to libc dont work . I still have two shells on the machine, bash and ksh The only thing I see is copying back the lib, but of course : dd, cp , mv etc are dead . So i tryed a loop with read ... {^Jwhile read... (24 Replies)
Discussion started by: remi75
24 Replies

8. Shell Programming and Scripting

rsync - update file on backup when file renamed on source

hi all, Please help me with rsync. I configured rsync to preserve timestamps using the -a option. When i renamed fileA to fileB on source machine I have to copies at the backup server. The aim is to keep the most recent file. fileA & fileB has same contents. When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies

9. Shell Programming and Scripting

duplicate index names renamed

Hello everyone ! Please have a minute and see if you know how to script this I have a file like this: "create table .... ... create index n112 on ... ... create table ... .... create index n113 on... ... create table ... create index n112 on ...! duplicate ... (1 Reply)
Discussion started by: sotoc79
1 Replies

10. UNIX for Advanced & Expert Users

mistakenly issued crontab -r

HPUX 11 (32bit) An ordinary user (not root) had mistakenly issued "crontab -r" which removed the crontab file corresponds to his user_id. (well, on our keyboard R is next E, where "crontab -e" is to edit the crontab file) :( Is there any way to recover the removed crontab file by that... (2 Replies)
Discussion started by: kanang
2 Replies
Login or Register to Ask a Question