FS#42952 - [postfix] Error: /postfix-files is not a file.
Attached to Project:
Arch Linux
Opened by A (lmeijberg) - Saturday, 29 November 2014, 13:51 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 29 November 2014, 19:22 GMT
Opened by A (lmeijberg) - Saturday, 29 November 2014, 13:51 GMT
Last edited by Gaetan Bisson (vesath) - Saturday, 29 November 2014, 19:22 GMT
|
Details
Description:
When running the command /usr/lib/postfix/post-install upgrade-permissions the following error occurs: /usr/lib/postfix/post-install: Error: /postfix-files is not a file As you can see by the error the scripts seems to expect the file postfix-files to be located in the root directory / I have confirmed this by copying the file to / and running the script again and no errors where displayed and the script seemed to do it's job. Additional info: Name : postfix Version : 2.11.3-1 Steps to reproduce: Run the command: /usr/lib/postfix/post-install upgrade-permissions Research details: Check that post-install does is: test -f $daemon_directory/postfix-files || { echo $0: Error: $daemon_directory/postfix-files is not a file. 1>&2 exit 1 } Searching the hole post-install file it seems to be consistent in the $daemon_directory/postfix-files references. I could not find how the variable $daemon_directory is filled so I could not verify how the full path $daemon_directory/postfix-files would look like to trace down the error. But I expect this variable to be empty thus resulting in the expectation of postfix-files to be at /. |
This task depends upon
Closed by Gaetan Bisson (vesath)
Saturday, 29 November 2014, 19:22 GMT
Reason for closing: Not a bug
Saturday, 29 November 2014, 19:22 GMT
Reason for closing: Not a bug
My main.cf is configured: daemon_directory = /usr/lib/postfix
So if the post-install script fetches it's information for daemon_directory from the main.cf file it should expect the postfix-files at the right location. However it does not.
Our install script takes care of that for you.