[Bug 258985] sysutils/firstboot-freebsd-update

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Oct 2021 13:17:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258985

            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
https://www.daemonology.net/blog/2019-02-16-FreeBSD-ZFS-AMIs-now-available.html),
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:
147c147
<               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.