[Bug 1700743] Re: incorrect /etc/adjtime
Phillip Susi
psusi at ubuntu.com
Fri Jun 30 13:50:24 UTC 2017
It happened before you upgraded to the fixed version. Now that you have
the fixed version, it won't happen again.
** Changed in: util-linux (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1700743
Title:
incorrect /etc/adjtime
Status in util-linux package in Ubuntu:
Invalid
Bug description:
On Ubuntu 17.04 I noticed a variation between system time and hardware
time.
I ran hwclock to sync them and got:
hwclock: Warning: unrecognized third line in adjtime file
(Expected: `UTC' or `LOCAL' or nothing.)
my system is running
util-linux:
Installed: 2.29-1ubuntu2
Candidate: 2.29-1ubuntu2
Version table:
*** 2.29-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 Packages
100 /var/lib/dpkg/status
I looked in /etc/adjtime; it does have 'UTC' on the third line...
There is a similar report and proposed solution at:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706693
This reporter believed that the problem was a missing newline on the
end of the third line.
-There is no newline after 'UTC' in /etc/adjtime on my system.
-Manually adding a newline does make the warning not appear when invoking hwclock, as suggested by the above report.
-However, the proposed solution (adding a final \n to the printf line in hwclock.sh) is already present in my /etc/init.d/hwclock.sh.
EDIT:
And yet the faulty line in /etc/adjtime is still present.
Apparently, this solution is not the entire answer.
END EDIT.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: util-linux 2.29-1ubuntu2
ProcVersionSignature: Ubuntu 4.10.0-24.28-generic 4.10.15
Uname: Linux 4.10.0-24-generic x86_64
ApportVersion: 2.20.4-0ubuntu4.1
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Tue Jun 27 04:50:29 2017
InstallationDate: Installed on 2015-11-18 (586 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: util-linux
UpgradeStatus: Upgraded to zesty on 2017-04-19 (68 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1700743/+subscriptions
More information about the foundations-bugs
mailing list