On Sat, 24 Feb 2024 06:53:37 -0800
bob prohaska <f...@www.zefox.net> wrote:

> A Pi4 running -current completed a build/install cycle for world and kernel
> without obvious errors but failed to reboot, reporting:
> ...
> Warning: no time-of-day clock registered, system time will not be set 
> accurately
> Dual Console: Serial Primary, Video Secondary
> /etc/rc: run_rc_scripts: not found
> /etc/rc: run_rc_scripts: not found
> /etc/rc: have: not found
>
> Sat Feb 24 13:42:09 UTC 2024
> 2024-02-24T13:42:10.007616+00:00 - init 31 - - can't exec getty 
> '/usr/libexec/getty' for port /dev/ttyv1: No such file or directory
> ...
>
> Uname -a reports:
> FreeBSD  15.0-CURRENT FreeBSD 15.0-CURRENT #121 main-n268499-b9870ba93ea9: 
> Fri Feb 23 23:14:59 PST 2024     
> b...@nemesis.zefox.com:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC 
> arm64distribution.
>
> Power cycling allowed boot to single-user, running fsck -fy reports a clean
> root file system.
>
> /etc/fstab contains
> /dev/da0s2a   /       ufs     rw      1       1
> /dev/da0s1 /boot/msdos msdosfs rw,noatime 0 0
> #tmpfs /tmp tmpfs rw,mode=1777,size=50m 0 0
> /dev/da0s2d /usr        ufs     rw      2       2
> /dev/da0s2b     none    swap    sw
>
> There does not seem to be a file named run_rc_scripts present
> in the filesystem.
>
> Any suggestions on how to back myself out of this corner
> would be much appreciated!
>
> Thanks for reading,
>

The function run_rc_scripts is defined in /usr/src/libexec/rc/rc.subr and
is called in /usr/src/libexec/rc/rc.  /etc/rc includes /etc/rc.subr.

So, maybe one of these files is not up to date under /etc?

--
Gary Jennejohn

Reply via email to