[Bug 256772] sysutils/firstboot-freebsd-update - [patch] - use --not-running-from-cron

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Jun 2021 11:54:31 +0000

            Bug ID: 256772
           Summary: sysutils/firstboot-freebsd-update - [patch] - use
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cperciva_at_FreeBSD.org
          Reporter: mike_at_urgle.com
          Assignee: cperciva_at_FreeBSD.org
             Flags: maintainer-feedback?(cperciva_at_FreeBSD.org)

Created attachment 225991
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225991&action=edit
patch to use --not-running-from-cron

Use the --not-running-from-cron flag to freebsd-update.

This means that in the case that the case of rc scripts running without a
terminal, the script still doe the right thing.

rc scripts running without a terminal is a different bug, probably, but it is
probably better to be robust in the face of them.  Especially as t4g.nano
instances are an example of h/w with that bug running when running

This will, however, break freebsd-update for FreeBSD 10.1 and earlier; the
--not-running-from-cron flag is present in 10.2 and 11.0 and later.

You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jun 22 2021 - 11:54:31 UTC

Original text of this message