[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fwd: Upgrade Problem



On Thu, Jan 03, 2019 at 02:30:49PM -0500, Stephen P. Molnar wrote:
> root@AbNormal:/home/comp# ls -ld / /etc /etc/ld.*
> drwxr-xr-x  26 root root   4096 Dec 19 13:17 /
> drwxr-xr-x 134 root root  12288 Jan  3 09:43 /etc
> -rw-r--r--   1 root root 237114 Dec 26 14:47 /etc/ld.so.cache
> -rw-------   1 root root  12288 Jan  3 12:49 /etc/ld.so.cache~
> -rw-r--r--   1 root root     34 Apr  9  2017 /etc/ld.so.conf
> drwxr-xr-x   2 root root   4096 Aug 22 07:41 /etc/ld.so.conf.d

Well... /etc isn't missing, at least.

When I run "strace /sbin/ldconfig" on my system, I see this line:

rename("/etc/ld.so.cache~", "/etc/ld.so.cache") = 0

So, it seems that your ldconfig is generating the /etc/ld.so.cache~ file,
or at least a partial one (12288 is a suspiciously ROUND number, being
precisely 3 times 4 kilobytes).  And then ... something bad happens before
it can rename it to /etc/ld.so.cache.  Or finish writing it.

Are you out of disk space?  Granted, I would have expected a DIFFERENT
error message in that case, but it's a thing to check.

You might consider simply copying the /usr/bin/strace file from a
different Debian system onto this one, just so you can run it.


Reply to: