On 2021-07-26 12:18:01 +0000, Scott Kitterman wrote: [makedefs.out location] > The Debian package management system tracks system induced changes in /etc > and notifies users about them during package upgrade. Before I moved the > file to /usr/share/postfix, there were alerts during package upgrade every > time if makedefs.out changed (i.e. every time). > > I agree with the warning since permissions in the target directory might be > inappropriate. In this case I've checked it before I put the symlink in > place and it's fine. > > There are a limited number of options: > > 1. Don't install makedefs.out, which means the standard postfix installation > is incomplete (this is what Debian used to do). > > 2. Put it in /etc, which means the admin gets notified about changes in the > file on package upgrade (which made no one happy). > > 3. Put it elsewhere and provide a symlink, which means the warning. > > 4. Put it elsewhere and patch away the warning. > > None of those are ideal.
But perhaps this should be changed in postfix itself (upstream), or at least made configurable. The FHS says that /etc is for host-specific system configuration, and makedefs.out is not a configuration file. So I would say that /etc/postfix is not the right place for this file, which starts with: # Do not edit -- this file documents how Postfix was built for your machine. ^^^^^^^^^ Thus, IMHO, this file should be with the other documentation files. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)