[Bug 203849] [NEW] postfix-doc fails if no /etc/postfix/main.cf is on the system

Michael Vogt michael.vogt at ubuntu.com
Wed Mar 19 09:18:12 GMT 2008


Public bug reported:

Binary package hint: postfix

During a upgrade test from dapper->hardy the following problem occurred:

[71.4563] postfix: Configuring postfix
Postfix was not set up.  Start with ^M
  cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf^M
.  If you need to make changes, edit^M
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration^M
values, see postconf(1).^M
^M
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.^M
^M
in master.cf:^M
  adding missing entry for retry service^M
[71.4609] postfix: Installed postfix
...
[85.7169] postfix-doc: Configuring postfix-doc
postconf: fatal: open /etc/postfix/main.cf for reading: No such file or directory^M
dpkg: error processing postfix-doc (--configure):^M
 subprocess post-installation script returned error exit status 1^M

Debug output of the failed script:
+ set -e
+ [ -x /usr/sbin/postconf ]
+ postconf -e readme_directory=/usr/share/doc/postfix html_directory=/usr/share/doc/postfix/html
postconf: fatal: open /etc/postfix/main.cf for reading: No such file or directory
['/bin/sh', '-ex', '/var/lib/dpkg/info//postfix-doc.postinst', 'configure', '2.2.10-1ubuntu0.1']

** Affects: postfix (Ubuntu)
     Importance: Undecided
         Status: New

-- 
postfix-doc fails if no /etc/postfix/main.cf is on the system
https://bugs.launchpad.net/bugs/203849
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to postfix in ubuntu.



More information about the Ubuntu-server-bugs mailing list