*** This bug is a duplicate of bug 1623125 ***
https://bugs.launchpad.net/bugs/1623125
@smb, actually, there is no create time field in the fs header, see
http://paste.ubuntu.com/25478756/
(this comes from a file with the mount time already corrected). This is
a partition created with
*** This bug is a duplicate of bug 1623125 ***
https://bugs.launchpad.net/bugs/1623125
** This bug has been marked a duplicate of bug 1623125
fixrtc script does not catch "Last mount time: n/a" string
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Looking at the complete fixrtc-mount script (the part which was fixed in bug
#1623125 makes me think that this would fix your problem as well. And that with
much less required change. That script checks not only mount but also create
time of the fs. If create time is more recent than mount
@smb the concrete problem this was solving was happening with an armhf
device running Ubuntu Core. UC assertions were not validated and a
system user could not be created if there was no network (no date
update). Not sure if this was breaking the system even if later you
connected the device.
--
@Alfonso, right, but the details about what exactly failed is quite
important/useful information. If some certificates are deemed invalid on boot
until there is network this does not sound too bad at first. If this causes
services to not start, then this becomes more important to fix.
Also
@smb what I have seen is that devices lacking RTC battery tend to never
had a good date in the "last mount day" date of the root filesystem, as
when root is mounted the date is always near the epoch. The patch can
correct this, otherwise we would be getting the date systemd was built.
Of course
I was reviewing the latest patch and beside of this part being modified (@Ogra,
would you be fine with that? And btw Jan 1 2017 is a Saturday), I am not fully
understanding what exactly looking at file dates gains. The date will be less
wrong but still potentially off by days. The system date
** Tags removed: rls-aa-incoming
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1696981
Title:
fixrtc is ineffective when
** Tags added: rls-aa-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1696981
Title:
fixrtc is ineffective when there is no battery for the RTC
To manage notifications about this bug go to:
The attachment "add-fixrtc-mount.patch" seems to be a debdiff. The
ubuntu-sponsors team has been subscribed to the bug report so that they
can review and hopefully sponsor the debdiff. If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag,
New patch version, which includes now a patch from ogra (LP: #1623125)
** Patch added: "fixrtc-changes.patch"
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1696981/+attachment/4893078/+files/fixrtc-changes.patch
--
You received this bug notification because you are a member
This is the output of dumpe2fs:
http://paste.ubuntu.com/24815516/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1696981
Title:
fixrtc is ineffective when there is no battery for the RTC
To manage
well, i'd rather find out why the original fixrtc did not work in the
first place ... dumpe2fs output of the respecitve failing disk captured
from an initrd shell on first boot of the device would be interesting
debug data
--
You received this bug notification because you are a member of Ubuntu
This debdiff adds a fixrtc-mount that helps with this issue by looking
at dates from files, once root has been mounted.
** Patch added: "add-fixrtc-mount.patch"
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1696981/+attachment/4893067/+files/add-fixrtc-mount.patch
--
You
14 matches
Mail list logo