[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#99494: courier-mta 0.34 would not install

On 02-Jun-01, 05:28 (CDT), "Stefan Hornburg (Racke)" <racke@linuxia.de> wrote: 
> Mark Constable <markc@renta.net> writes:
> > Package: courier-mta
> > Version: 0.34.0-2
> > 
> > Installation process fails with this error;
> > 
> >  Setting up courier-mta (0.34.0-2) ...
> >  cat: /etc/courier/smtpaccess/*: No such file or directory
> >  dpkg: error processing courier-mta (--configure):
> >   subprocess post-installation script returned error exit status 1
> > 
> > Workaround is to "touch /etc/courier/smtpaccess/default".
> > 
> > The post-install script does not seem to take into account
> > that /etc/courier/smtpaccess could be a file or a directory.
> No, postinst calls makesmtpaccess, which needs smtpaccess as
> file or smtpaccess as directory. There is /etc/courier/smtpaccess/default
> in the package, but if you manually remove /etc/courier/smtpaccess,
> default isn't installed because it is a conffile.

In other words, this sounds like a bug in makesmtpaccess to me.

If the mere existance of the file is sufficient and the content is not
needed (which the workaround in the original report seems to imply),
then makesmtpaccess should probably be modified to treat a missing file
the same as it treats an empty one.


Steve Greenland <stevegr@debian.org>
(Please do not CC me on mail sent to this list; I subscribe to and read
every list I post to.)

Reply to: