[Bug 290393] 15.0-BETA2: pkg blocks boot process waiting for console input

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Oct 2025 22:06:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290393

            Bug ID: 290393
           Summary: 15.0-BETA2: pkg blocks boot process waiting for
                    console input
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: olgeni@FreeBSD.org

During boot of FreeBSD 15.0-BETA2 VM image, the pkg process enters ttyin state
and blocks boot completion until manual input is provided on console.

After the system completes network configuration and starts syslogd, the
boot process hangs indefinitely. Using Ctrl+T reveals that pkg is stuck in
[ttyin] state, waiting for terminal input.

load: 1.32  cmd: pkg 1633 [ttyin] 27.18r 0.00u 0.00s 0% 6084k

The system will not proceed with boot until ENTER is pressed on the
console, which allows pkg to continue and boot to complete normally (best
guess is that it sends a "N" reply to pkg bootstrap).

Console Log:

DHCPDECLINE from 169.254.169.253
DHCPREQUEST on vtnet0 to 255.255.255.255 port 67
DHCPACK from 169.254.169.253
bound to 68.183.67.170 -- renewal in 43200 seconds.
Starting dhclient.
DHCPDISCOVER on vtnet1 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 169.254.169.253
DHCPREQUEST on vtnet1 to 255.255.255.255 port 67
DHCPACK from 169.254.169.253
bound to 10.114.0.8 -- renewal in 43200 seconds.
route: message indicates error: File exists
add host 127.0.0.1: gateway lo0 fib 0: route already in table
route: message indicates error: File exists
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating /var/run/os-release done.
Updating motd:.
Starting syslogd.
load: 1.32  cmd: pkg 1633 [ttyin] 27.18r 0.00u 0.00s 0% 6084k
[SYSTEM HANGS HERE - ENTER must be pressed to continue]

-- 
You are receiving this mail because:
You are the assignee for the bug.