23 Apr
2023
23 Apr
'23
16:13
On 23.04.2023 19:06, Per Jessen wrote:
nscd complains about not finding /etc/services and /etc/nsswitch.conf - (the symlinks to /usr/etc are missing).
question - do files in /etc/ override same-named files in /usr/etc ?
They should as long as it is supported by application/library accessing these files.
For instance, I want to change the logrotate config for /var/log/messages. Do I create /etc/logrotate.d/syslog with the new definition or should I give that config file a different name?
IIRC logrotate configuration files do not really support overriding individual entries (at least, there was some rather weird bug resulting from it), so you better replace the whole file.