Re: Issues to maybe prioritize before pkg-base

From: Mark Felder <feld_at_FreeBSD.org>
Date: Wed, 06 Jul 2016 11:59:41 -0500
On Tue, Jul 5, 2016, at 13:01, Jeffrey Bouquet wrote:
> Main disk would not boot cleanly.
> could not fsck_ffs, cannot find inode
> files went missing from /etc (make.conf, pf.conf, firewall*, 
> file went missing from rc.d
> files went missing from /etc/X11
> shell history file remained locked.
> find suddenly could not find /usr/local/lib/*/libc.so.5
> freecolor could not find its libraries
> Xorg could not find lib* in /usr/local/lib
> 
> 
> etc
> somewhat fixed those from backup.
> Which hosed the latest pkg install * upgrades (byobu bump, etc) which I
> reinstalled
> Put the disk on backup, latter mountroot, ran fsck_ffs on the failing
> disk /root and /usr, multiple times,
> ......
> Inexplicably got all libraries back, working, and files restored AS FAR
> AS I KNOW
> but as usual in this case, which happens at least twice a year, although
> I restore
> the desktop and programs (usually) to a working state, with adequate
> backups,


Are you getting UFS corruption and have SU+J enabled? You might want to
turn off SU+J and just use SU. That's probably the issue.


-- 
  Mark Felder
  ports-secteam member
  feld_at_FreeBSD.org
Received on Wed Jul 06 2016 - 14:59:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:06 UTC