Bug#829477: courier-mta: fails to install: Invalid command 'gendh'

2016-10-31 Thread Ondřej Surý
Yes, I already had a fix in repo (use dhparam -2 instead) and I have just 
uploaded that.


Ondřej


On 31 October 2016 11:24:13 PM Andreas Beckmann  wrote:


On 2016-10-31 16:32, Stefan Hornburg (Racke) wrote:

On 07/03/2016 07:07 PM, Andreas Beckmann wrote:

Package: courier-mta
Version: 0.76.1-3+exp1



I believe this line in the script /usr/lib/courier/mkesmtpdcert
causes the error:

/usr/bin/openssl gendh -rand "$PEMFILE".rand 512 >>"$PEMFILE" || cleanup

Why openssl doesn't know about it on piuparts eludes me.


that is probably openssl 1.1 from experimental being used in that test


Andreas





Bug#829477: courier-mta: fails to install: Invalid command 'gendh'

2016-10-31 Thread Andreas Beckmann
On 2016-10-31 16:32, Stefan Hornburg (Racke) wrote:
> On 07/03/2016 07:07 PM, Andreas Beckmann wrote:
>> Package: courier-mta
>> Version: 0.76.1-3+exp1

> I believe this line in the script /usr/lib/courier/mkesmtpdcert
> causes the error:
> 
>   /usr/bin/openssl gendh -rand "$PEMFILE".rand 512 >>"$PEMFILE" || cleanup
> 
> Why openssl doesn't know about it on piuparts eludes me.

that is probably openssl 1.1 from experimental being used in that test


Andreas



Bug#829477: courier-mta: fails to install: Invalid command 'gendh'

2016-10-31 Thread Stefan Hornburg (Racke)
On 07/03/2016 07:07 PM, Andreas Beckmann wrote:
> Package: courier-mta
> Version: 0.76.1-3+exp1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package failed to install. As
> per definition of the release team this makes the package too buggy for
> a release, thus the severity.
> 
>>From the attached log (scroll to the bottom...):
> 
>   Selecting previously unselected package courier-mta.
>   (Reading database ... 
> (Reading database ... 10293 files and directories currently installed.)
>   Preparing to unpack .../courier-mta_0.76.1-3+exp1_amd64.deb ...
>   Adding 'diversion of /usr/bin/addcr to /usr/bin/addcr.ucspi-tcp by 
> courier-mta'
>   Adding 'diversion of /usr/share/man/man1/addcr.1.gz to 
> /usr/share/man/man1/addcr.ucspi-tcp.1.gz by courier-mta'
>   Unpacking courier-mta (0.76.1-3+exp1) ...
>   Setting up courier-mta (0.76.1-3+exp1) ...
>   update-alternatives: using /usr/bin/lockmail.courier to provide 
> /usr/bin/lockmail (lockmail) in auto mode
>   update-alternatives: using /usr/bin/preline.courier to provide 
> /usr/bin/preline (preline) in auto mode
>   /run/courier/esmtpd.pid.lock: No such file or directory
>   Generating a 4096 bit RSA private key
>   ..++
>   
> .++
>   writing new private key to '/etc/courier/esmtpd.pem'
>   -
>   Invalid command 'gendh'; type "help" for a list.
>   dpkg: error processing package courier-mta (--configure):
>subprocess installed post-installation script returned error exit status 1
>   Errors were encountered while processing:
>courier-mta
> 
> 
> cheers,
> 
> Andreas
> 

I believe this line in the script /usr/lib/courier/mkesmtpdcert
causes the error:

/usr/bin/openssl gendh -rand "$PEMFILE".rand 512 >>"$PEMFILE" || cleanup

Why openssl doesn't know about it on piuparts eludes me.

Regards
 Racke



Bug#829477: courier-mta: fails to install: Invalid command 'gendh'

2016-07-03 Thread Andreas Beckmann
Package: courier-mta
Version: 0.76.1-3+exp1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package courier-mta.
  (Reading database ... 
(Reading database ... 10293 files and directories currently installed.)
  Preparing to unpack .../courier-mta_0.76.1-3+exp1_amd64.deb ...
  Adding 'diversion of /usr/bin/addcr to /usr/bin/addcr.ucspi-tcp by 
courier-mta'
  Adding 'diversion of /usr/share/man/man1/addcr.1.gz to 
/usr/share/man/man1/addcr.ucspi-tcp.1.gz by courier-mta'
  Unpacking courier-mta (0.76.1-3+exp1) ...
  Setting up courier-mta (0.76.1-3+exp1) ...
  update-alternatives: using /usr/bin/lockmail.courier to provide 
/usr/bin/lockmail (lockmail) in auto mode
  update-alternatives: using /usr/bin/preline.courier to provide 
/usr/bin/preline (preline) in auto mode
  /run/courier/esmtpd.pid.lock: No such file or directory
  Generating a 4096 bit RSA private key
  ..++
  
.++
  writing new private key to '/etc/courier/esmtpd.pem'
  -
  Invalid command 'gendh'; type "help" for a list.
  dpkg: error processing package courier-mta (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   courier-mta


cheers,

Andreas


courier-mta_0.76.1-3+exp1.log.gz
Description: application/gzip