casper's postponing of snap refresh broken by switch to busybox date

Bug #1852022 reported by Michael Hudson-Doyle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Booting the latest focal live server daily gets us this:

Begin: Disabling snap refresh... ... date: unrecognized option '--iso-8601=seconds'
BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu5) multi-call binary.

Usage: date [OPTIONS] [+FMT] [TIME]

Display time (using +FMT), or set time

 [-s,--set] TIME Set time to TIME
 -u,--utc Work in UTC (don't convert to local time)
 -R,--rfc-2822 Output RFC-2822 compliant date string
 -I[SPEC] Output ISO-8601 compliant date string
   SPEC='date' (default) for date only,
   'hours', 'minutes', or 'seconds' for date and
   time to the indicated precision
 -r,--reference FILE Display last modification time of FILE
 -d,--date TIME Display TIME, not 'now'
 -D FMT Use FMT for -d TIME conversion

Recognized TIME formats:
 hh:mm[:ss]
 [YYYY.]MM.DD-hh:mm[:ss]
 YYYY-MM-DD hh:mm[:ss]
 [[[[[YY]YY]MM]DD]hh]mm[.ss]
 'date TIME' form accepts MMDDhhmm[[YY]YY][.ss] instead
done.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Turns out to be easy to fix in casper.

Changed in initramfs-tools (Ubuntu):
status: New → Invalid
Changed in casper (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package casper - 1.432

---------------
casper (1.432) focal; urgency=medium

  * scripts/casper-helpers: pass --no-reread to sfdisk when creating the
    casper-rw partition to reduce the risk of self-races (which probably only
    happen in qemu-system-emulation i.e. in the autopkgtests).

 -- Michael Hudson-Doyle <email address hidden> Wed, 13 Nov 2019 15:07:08 +1300

Changed in casper (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.