Solved problems with UFS (editions to rc.conf lost; sudoers empty; gdb installed, crashinfo.sh unable to find a kernel debugger; and so on)

Can anyone explain?

1622474421717.png


<https://cgit.freebsd.org/src/tree/u...73ad3fb5360333765a2c1fe0c14ea810b75fab11#n156>
 
What does ls -l /usr/local/bin/gdb* return? Also check pkg info -l gdb, that command will show you which files are included in the package.
 
What is your PATH set to when you do which gdb ? Did you try to run the gdb manually (full path) ? Also what are the permissions/ownership of the /usr/local/bin/gdb?
 
gdb and source-highlight now are fine.

The original installation of both packages was subsequently spoilt – see the screenshots above, the missing files at package removal times.

It's likely that a kernel panic occurred soon after the original installation.

Panics were expected. So much loss of data with UFS was not expected, certainly not desirable.

1622557953457.png
 
When did the kernel panic happen? While "pkg install gdb" was running? In that case, it is perfectly possible that recently created and written files are not there. At any other time, I would be very surprised if previously existing files vanished.
 
Thanks,

When did the kernel panic happen? While "pkg install gdb" was running?

No, afterwards.

Certainly not immediately after the (dependent) installation of source-highlight, which was also spoilt; and installation of gdb takes a few seconds. So I seem to be losing more than a few seconds' worth of data.

At any other time, I would be very surprised if previously existing files vanished.

gdb and source-highlight were not the only casualties. I edited the subject line here to indicate the scope. Join me under <https://forums.FreeBSD.org/threads/...ile-systems-partition-sizes.80655/post-515040>, if you like …
 
Back
Top