[Bug 260628] FreeBSD 12.3-Release got stuck during the boot process after the update (maybe nsswitch issue?)
Date: Tue, 28 Mar 2023 19:17:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260628 Dylan <djimeha@yahoo.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djimeha@yahoo.ca --- Comment #8 from Dylan <djimeha@yahoo.ca> --- Looks the same or similar to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262170 I recently upgraded a FreeBSD 10.4 LDAP auth client system to 12.4 using "freebsd-update upgrade -r 12.4-RELEASE" and the usual install (Kernel stuff), reboot, install (Userland stuff), steps after that. I also ran a "pkg update", which didn't work, got the 'version 2' error, so I ran "pkg bootstrap -f", then "pkg update", then "pkg upgrade -y", which bumped bash, nss_ldap, etc. On the next reboot I discovered 2 things: #1. The system hung after the "ifconfig" output from netif and the "Starting devd" message. Hitting ctrl+t listed: load: 0.13 cmd: env 340 [nanslp] 15.57r 0.00u 0.02s 0% 6192k Same thing if I waited a bit and hit it again, incrementing the #r runtime value of course. NOTE: Manually typed since this was on an ESXi video console. ---- I resolved #1 using the info in the bug link above, reboot, hit 2 for single-user mode, then /bin/sh, then 'mount -at ufs', then 'vi /usr/sbin/service' and change the exec line back to not having -L 0/daemon for now. I left a comment and the original line for my future self to patch it: $ less -N /usr/sbin/service ... 168 # Open bug PR#262170, hang on boot in [env] 169 #exec env -i -L 0/daemon HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin "$dir/$script" "$@" 170 exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin "$dir/$script" "$@" 171 fi 172 done ... -- You are receiving this mail because: You are the assignee for the bug.