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

Bug#288045: why error code 10?



in the postinst-script of the rageircd package make-ssl-cert also exits with an error code of "10":

% make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/rageircd/tls/key.pem
% echo $?
10

(so i'd file a bug for the rageircd package, but the error seems to emerge from the ssl-cert package)

running with "set -x", make-ssl-cert spits out:

[...]
+ read -r _db_internal_line
+ RET='multiselect backup'
+ return 0
+ db_settitle make-ssl-cert/title
+ _db_cmd 'SETTITLE make-ssl-cert/title'
+ echo 'SETTITLE make-ssl-cert/title'
+ IFS='
'
+ read -r _db_internal_line
+ RET='10 "make-ssl-cert/title" doesn'\''t exist'
+ return 10
10


and these functions were sourced from /usr/share/debconf/confmodule before. but i'm not l33t enough to decipher this from it:

[..]
read -r _db_internal_line
        RET="${_db_internal_line#[!     ][      ]}"
        return ${_db_internal_line%%[   ]*}



maybe $maintainer could have a look on it...

thanks,
Christian.
--
BOFH excuse #321:

Scheduled global CPU outage



Reply to: