Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2024 15:59:01 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Missing files on -current
Message-ID:  <20240224165901.669004b4@ernst.home>
In-Reply-To: <ZdoC8Xqg9eA8%2BQ3R@www.zefox.net>
References:  <ZdoC8Xqg9eA8%2BQ3R@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Feb 2024 06:53:37 -0800
bob prohaska <fbsd@www.zefox.net> wrote:

> A Pi4 running -current completed a build/install cycle for world and ker=
nel
> without obvious errors but failed to reboot, reporting:
> ...
> Warning: no time-of-day clock registered, system time will not be set ac=
curately
> 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/li=
bexec/getty' for port /dev/ttyv1: No such file or directory
> ...
>
> Uname -a reports:
> FreeBSD  15.0-CURRENT FreeBSD 15.0-CURRENT #121 main-n268499-b9870ba93ea=
9: Fri Feb 23 23:14:59 PST 2024     bob@nemesis.zefox.com:/usr/obj/usr/src=
/arm64.aarch64/sys/GENERIC arm64distribution.
>
> Power cycling allowed boot to single-user, running fsck -fy reports a cl=
ean
> 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=3D1777,size=3D50m 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?

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240224165901.669004b4>