Re: bin/postconf: fatal: open /usr/local/etc/postfix/master.cf: No such file or directory

2011-11-19 Thread Wietse Venema
Sahil Tandon:
> On Sat, 2011-11-19 at 18:08:34 -0500, Wietse Venema wrote:
> 
> > Sahil Tandon:
> > > When trying to install snapshot 2018, I get a fatal postconf error
> > > if master.cf does not exist in the $config_directory.  There is no
> > > problem if main.cf is missing from $config_directory; bin/postconf only
> > > seems to complain (at install stage, when called by the postfix-install
> > > script) if master.cf is not found.  This is new to me, and could very
> > > well be idiosyncratic to my installation procedure. But before I
> > > troubleshoot further on my end, I wonder if anyone else can generally
> > > reproduce this?
> > 
> > This is easy enough to fix.
> 
> [ .. ]
> 
> Indeed.  Thanks!

I'll roll it out as 2019.

Wietse


Re: bin/postconf: fatal: open /usr/local/etc/postfix/master.cf: No such file or directory

2011-11-19 Thread Sahil Tandon
On Sat, 2011-11-19 at 18:08:34 -0500, Wietse Venema wrote:

> Sahil Tandon:
> > When trying to install snapshot 2018, I get a fatal postconf error
> > if master.cf does not exist in the $config_directory.  There is no
> > problem if main.cf is missing from $config_directory; bin/postconf only
> > seems to complain (at install stage, when called by the postfix-install
> > script) if master.cf is not found.  This is new to me, and could very
> > well be idiosyncratic to my installation procedure. But before I
> > troubleshoot further on my end, I wonder if anyone else can generally
> > reproduce this?
> 
> This is easy enough to fix.

[ .. ]

Indeed.  Thanks!

-- 
Sahil Tandon


Re: bin/postconf: fatal: open /usr/local/etc/postfix/master.cf: No such file or directory

2011-11-19 Thread Wietse Venema
Sahil Tandon:
> When trying to install snapshot 2018, I get a fatal postconf error
> if master.cf does not exist in the $config_directory.  There is no
> problem if main.cf is missing from $config_directory; bin/postconf only
> seems to complain (at install stage, when called by the postfix-install
> script) if master.cf is not found.  This is new to me, and could very
> well be idiosyncratic to my installation procedure. But before I
> troubleshoot further on my end, I wonder if anyone else can generally
> reproduce this?

This is easy enough to fix.

Wietse

*** /var/tmp/postfix-2.9-2018/postfix-install   Thu Jun 23 12:20:21 2011
--- ./postfix-install   Sat Nov 19 18:06:05 2011
***
*** 363,369 
  
  : ${install_root=/}
  : ${tempdir=`pwd`}
! : ${config_directory=`bin/postconf -h -d config_directory`}
  
  # Find out the location of installed configuration files.
  
--- 363,369 
  
  : ${install_root=/}
  : ${tempdir=`pwd`}
! : ${config_directory=`bin/postconf -c conf -h -d config_directory`}
  
  # Find out the location of installed configuration files.
  
***
*** 446,452 
  case "$junk" in
  "") eval unset $name;;
  esac
! eval : \${$name=\`bin/postconf -d -h $name\`} || exit 1
  done
  
  # Override settings manually.
--- 446,452 
  case "$junk" in
  "") eval unset $name;;
  esac
! eval : \${$name=\`bin/postconf -c conf -d -h $name\`} || exit 1
  done
  
  # Override settings manually.


bin/postconf: fatal: open /usr/local/etc/postfix/master.cf: No such file or directory

2011-11-19 Thread Sahil Tandon
When trying to install snapshot 2018, I get a fatal postconf error
if master.cf does not exist in the $config_directory.  There is no
problem if main.cf is missing from $config_directory; bin/postconf only
seems to complain (at install stage, when called by the postfix-install
script) if master.cf is not found.  This is new to me, and could very
well be idiosyncratic to my installation procedure. But before I
troubleshoot further on my end, I wonder if anyone else can generally
reproduce this?

-- 
Sahil Tandon