On Tue, Jun 8, 2021, at 4:13 AM Hal Murray <halmur...@sonic.net> wrote: > > > Since you you seem to be against this I will drop it now. > > I didn't mean to be against anything. Sorry if it came across that way. > > Another list I'm on is having an "interesting" discussion about changing > something like this. I was trying to nudge us in the right direction, > whereever that is. Fixing the defaults to conform to some standard seems > easier to justify than an arbitrary change. > > If we are going to change the default for where log files go, we should also > check and fix the default for where the drift file and NTS keys file go. > > Are there any other files? The obvious one is the config file (and its > directory). > Others that I can think of: > leap second file > shared keys > NTS cert and key
The following should be all hardcoded default locations: CONFIG_FILE "/etc/ntp.conf" NTS_CERT_FILE "/etc/ntp/cert-chain.pem" NTS_KEY_FILE "/etc/ntp/key.pem" NTP_VAR "/var/NTP/" The following should be all of the files that have default/autoconfig locations: /etc/ntp.conf /dev/acts%d /dev/cuaa1 /dev/gps0 /dev/gps%d /dev/gpspps%d /dev/hpgps%d /dev/jjy%d /dev/modem%d /dev/null /dev/oncore.pps.%d /dev/oncore.serial.%d /dev/palisade%d /dev/pps%d /dev/refclockpps-%u /dev/refclock-%u /dev/spectracom%d /dev/trimble%d /dev/true%d /dev/zyfer%d /var/NTP/%sstats The following should be all the configuration directive that accept file/directory paths: driftfile driftfile filegen name [file filename] includefile includefile keys keyfile leapfile leapfile logfile logfile nts [cert file] [key file] [ca file] [cookie file] refclock drivername [path filename] [ppspath filename] server nts [ca file] statsdir path > I think there used to be a snippet of documentation that described all the > files ntpd used. We have a tangle of compile time defaults, command line > switches, and eentries in the config file. If there was I forgot it too easily. > Whatever we do, we should be sure to add a note to NEWS. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel