[Bug 258985] sysutils/firstboot-freebsd-update

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Oct 2021 13:17:29 UTC

            Bug ID: 258985
           Summary: sysutils/firstboot-freebsd-update
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cperciva@FreeBSD.org
          Reporter: martin.stoyanov@vertalo.com
          Assignee: cperciva@FreeBSD.org
             Flags: maintainer-feedback?(cperciva@FreeBSD.org)

During first boot on a custom EC2 AMI FreeBSD 13-RELEASE (built according to
occasionally the system doesn't restart after firstboot-freebsd-update requests
the reboot. 
According to my troubleshooting, /usr/local/etc/rc.d/firstboot_freebsd_update
creates the ${firstboot-sentinel}-reboot file, which seems to trigger /etc/rc
to issue "kill -INT 1", however sometimes the instance doesn't restart.

Modifying /etc/rc with:
<               kill -INT 1
>               /sbin/reboot

seems to fix that and the instances reboot reliably.

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