[Bug 1880968] [NEW] fixrtc fails due to bad format of input to the date command

Alfonso Sanchez-Beato 1880968 at bugs.launchpad.net
Wed May 27 14:51:54 UTC 2020


Public bug reported:

The fixrtc script is failing with message:

date: invalid date '          Wed Apr  1 17:23:44 2020'

when calling the date command. It looks like it does not like the
leading spaces for the input date. The date is taken from 'dumpe2fs -h'
ouptput, and some clean-up on it happens, but it looks like it is not
enough for BusyBox' date command, at least for the version in focal.

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1880968

Title:
  fixrtc fails due to bad format of input to the date command

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  The fixrtc script is failing with message:

  date: invalid date '          Wed Apr  1 17:23:44 2020'

  when calling the date command. It looks like it does not like the
  leading spaces for the input date. The date is taken from 'dumpe2fs
  -h' ouptput, and some clean-up on it happens, but it looks like it is
  not enough for BusyBox' date command, at least for the version in
  focal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1880968/+subscriptions



More information about the foundations-bugs mailing list