Re: explicit shlib_directory in main.cf

2020-05-12 Thread Maxim Nikulin
Wietse Venema: > Maxim Nikulin: >> of shared libraries. If shlib_directory were absent in main.cf >> and all programs were getting the value from postconf instead of >> reading main.cf directly than package upgrades would be smooth. >> Such way is not viable since there are installations >> with

Re: explicit shlib_directory in main.cf

2020-05-08 Thread Wietse Venema
Maxim Nikulin: > Sorry, I narrowed down context too much, My question was on > shlib_directory, so I assumed that "..." is a proper substitution > for all other variables. By the way, I noticed that queue_directory > and data_directory are passed to "make non-interactive-package" > but not to

Re: explicit shlib_directory in main.cf

2020-05-07 Thread Maxim Nikulin
t;>> and therefore this location may be changed after Postfix is built. If administrator of particular server installed a package and later decided to move .so files to other directory then it is time to add explicit shlib_directory to main.cf. This case invoking "postfix upgrade-configu

Re: explicit shlib_directory in main.cf

2020-05-07 Thread Wietse Venema
g is used during RUN time. > I feel come confusion here. postconf -d shlib_directory reports > expected build-time value. Do you mean components that reads > main.cf directly instead of query to postconf? Presence or absence > of explicit shlib_directory in main.cf does not help in the case > of problem with library load paths. Wietse

Re: explicit shlib_directory in main.cf

2020-05-07 Thread Maxim Nikulin
runtime linker needs to use to > start a Postfix program, before any Postfix program can look up > settings in main.cf. I feel come confusion here. postconf -d shlib_directory reports expected build-time value. Do you mean components that reads main.cf directly instead of query to postconf? Pr

Re: explicit shlib_directory in main.cf

2020-05-06 Thread Wietse Venema
Maxim Nikulin: > Hi, > > I have noticed than postfix-install script explicitly adds > shlib_directory to the main.cf file e.g. during non-interactive install. Postfix records all installation settings in main.cf even if they are at their built-in defaults. That is because defaults change over

explicit shlib_directory in main.cf

2020-05-06 Thread Maxim Nikulin
Hi, I have noticed than postfix-install script explicitly adds shlib_directory to the main.cf file e.g. during non-interactive install. Is there any reason why such approach is better than relying on compiled-in default value? PACKAGE_README.html suggests to provide small main.cf file. My