Bug 197160

Summary: freebsd-update upgrade 10.0 -> 10.1 segmentation faults
Product: Base System Reporter: freebsd
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: emaste
Priority: ---    
Version: 10.0-RELEASE   
Hardware: Any   
OS: Any   

Description freebsd 2015-01-29 00:32:39 UTC
freebsd-update upgrade 10.0-RELEASE-p?? -> 10.1-RELEASE-p4

Have found running freebsd-update install after the first required reboot has ~50% failure rate with segmentation faults from install, then then with most commands eg. ls -lrt .....

The issue lies with updating the /libexec/ld-elf* files.

Hopefully before reboot cp /libexec/ld-elf* from a patched up 10.1 system into /tmp on the system being upgraded.

Follow the normal freebsd-update upgrade procedure
If segmentation faults start spitting out suspend freebsd-update install (ctrl+z)
Then kill any freebsd-update processes
run "/rescue/cp -f /tmp/ld-elf* /libexec/"
restart freebsd-update install
Continue with the normal freebsd-update upgrade procedure

Warning: DONOT reboot the PC until you have updated the /libexec/ld-elf* files.
As you will not be able to get back into the system.
A workaround used in this instance: mount HD on another system & copy the files

If files not already copied:
put on a flash drive and use /rescue/mount_msdosfs /dev/??? /mnt to access after killing freebsd-update above