Package: dovecot-common
Version: 0.99.13-6
Severity: normal

After updating to latest dovecot-common package, I got this output from
postinst script:

Setting up dovecot-common (0.99.13-6) ...
Installing new version of config file /etc/init.d/dovecot ...
[: 65: /etc/ssl/example.com/example.com.crt: unexpected operator
Creating generic self-signed certificate: /etc/ssl/example.com/server.crt
 /etc/ssl/example.com/example.com.crt
 (replace with hand-crafted or authorized one if needed).
 Warning : Bad SSL config, can't generate certificate
 chown: cannot access `/etc/ssl/example.com/server.crt': No such file or 
directory
 chgrp: cannot access `/etc/ssl/example.com/server.crt': No such file or 
directory
 chmod: cannot access `/etc/ssl/example.com/server.crt': No such file or 
directory
 chown: cannot access `/etc/ssl/example.com/server.pem': No such file or 
directory
 chgrp: cannot access `/etc/ssl/example.com/server.pem': No such file or 
directory
 chmod: cannot access `/etc/ssl/example.com/server.pem': No such file or 
directory

After digging in postinst script, here is the problem:

$ grep ssl_cert_file /etc/dovecot/dovecot.conf  
#ssl_cert_file = /etc/ssl/example.com/server.crt
ssl_cert_file = /etc/ssl/example.com/example.com.crt

SSL_CERT is currently defined as: "/etc/ssl/example.com/server.crt
/etc/ssl/example.com/example.com.crt"
This (same for SSL_KEY) makes the rest of the script failing.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dovecot-common depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libmysqlclient12            4.0.23-4     mysql database client library
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpq3                      7.4.7-1      PostgreSQL C client library
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries
ii  openssl                     0.9.7e-2     Secure Socket Layer (SSL) binary a
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to