Opened 10 years ago
Closed 10 years ago
#3656 closed task (fixed)
util-linux ADJTIME_PATH should be `/var/lib/hwclock/adjtime`
Reported by: | ojab | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
util-linux installation instructions says ./configure ADJTIME_PATH=/var/lib/hwclock
, but in practice it expects path to adjtime file, not directory:
ojab [ ~ ]$ sudo mkdir /var/lib/hwclock/
ojab [ ~ ]$ sudo /sbin/hwclock --systohc
hwclock: Could not open file with the clock adjustment parameters in it (/var/lib/hwclock) for writing: Is a directory
hwclock: Drift adjustment parameters not updated.
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Confirmed. grepping for CONFIG_ADJTIME_PATH shows among other things
./configure.ac:AC_DEFINE_UNQUOTED([CONFIG_ADJTIME_PATH], "$ADJTIME_PATH", [Path to hwclock adjtime file])
this is new in 2.25.