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: ken@…
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 ken@…, 10 years ago

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.

comment:2 by ken@…, 10 years ago

Owner: changed from lfs-book@… to ken@…
Status: newassigned

comment:3 by ken@…, 10 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.