util-linux's hwclock uses /etc/adjtime, that's deprecated by FHS (this file is also modified by some utils, so it's unproper to have it in /etc Reproducible: Always Steps to Reproduce: 1. 2. 3.
having a directory all its own for one file seems kind of dumb plus, it's currently labeled 'optional' ... i'd prefer to move it to /var/lib/misc/adjtime ...
The question is, who modifies adjtime, if it is root, then no problem in /var/lib/misc, if it some user/group, then a separate directory is more proper
have other distros moved it?
havent checked, but if you want to keep it compatible, move it to /var/... and symlink to /etc/
which doesnt work at all for people who have /var on a sep partition ive made it a config option in /etc/conf.d/clock and it defaults to /etc/adjtime
why shouldnt work a symbolic link over another partition?
vapier: peter has a point here, in that /etc/init.d/clock does only run after localmount, so /var is available.
(In reply to comment #7) > vapier: peter has a point here, in that /etc/init.d/clock does only run after > localmount, so /var is available. People that want an encrypted swap want clock to start before localmount, so the value should be configurable. As to the default, I personally don't care one way or the other.