Re: /etc/rc: ERROR: /etc/rc: no interface specified

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Wed, 24 Feb 2021 11:18:04 -0500
On 21. 2. 24., Paul Mather wrote:
> I have two systems on which I run -CURRENT.  I updated them yesterday to the following: FreeBSD 14.0-CURRENT #1 main-n245033-6ab923cbca87: Tue Feb 23 21:29:31 EST 2021.  Both use the stock GENERIC-NODEBUG kernel.
> 
> Since the update, the systems do not boot up correctly.  I get this late in the boot sequence:
> 
> =====
> Enabling pf.
> Updating /var/run/os-release done.
> Creating and/or trimming log files.
> Clearing /tmp (X related).
> Updating motd:.
> Starting syslogd.
> Security policy loaded: MAC/ntpd (mac_ntpd)
> Starting ntpd.
> Starting powerd.
> Mounting late filesystems:.
> Configuring vt: blanktime.
> Performing sanity check on sshd configuration.
> Starting sshd.
> Starting cron.
> Starting background file system checks in 60 seconds.
> /etc/rc: ERROR: /etc/rc: no interface specified
> Usage: /etc/rc [0x00|0x01]
> WARNING: attempt to domain_add(bluetooth) after domainfinalize()
> /etc/rc: ERROR: Unsupported device:
> =====
> 
> The last line is the final console output prior to the console login prompt.
> 
> As well as the error during boot, none of the local services (installed via pkg with startup scripts under /usr/local/etc/rc.d) start up.
> 
> Also, I can't be certain this is new, but I just noticed it: I get a bunch of extra KLDs loaded:
> 
> =====
> 32    4 0xffffffff82e95000     25a8 ng_bluetooth.ko
> 33    1 0xffffffff82e98000     a238 ng_hci.ko
> 34    3 0xffffffff82ea3000     aac8 netgraph.ko
> 35    1 0xffffffff82eae000     e250 ng_l2cap.ko
> 36    1 0xffffffff82ebd000    1be48 ng_btsocket.ko
> =====
> 
> I don't know why it's loading bluetooth-related kernel modules as both systems are rack-mounted servers with no bluetooth hardware in them to my knowledge.
> 
> I've looked in /usr/src/UPDATING for any recent note related to this but can't find anything.  My last update (circa 5th February 2021) worked fine.

The following commit fixed the problem for me.

https://cgit.freebsd.org/src/commit/?id=6e822e99570fdf4c564be04840a054bccc070222

Jung-uk Kim
Received on Wed Feb 24 2021 - 15:18:07 UTC

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