Bug#820984: proftpd-basic: cannot preseed / ignores local config changes
Hilmar Preuße
hille42 at web.de
Fri Sep 16 11:50:57 UTC 2016
tags 820984 + help
stop
On 14.04.2016 12:25, Florian Ernst wrote:
Hi,
> please consider the following (abridged) transcript of trying to run
> proftpd-basic from inetd, but ending up having it running
> standalone:
>
Im played a little bit on that bug, w/o success. Initially there was the
following code in the ...config file:
<snip>
#!/bin/sh
set -e
# Source debconf library.
. /usr/share/debconf/confmodule
action=$1
version=$2
db_title ProFTPD configuration
db_input high shared/proftpd/inetd_or_standalone || true
db_go
<snip>
and here is the relevant part of the template file:
<dnip>
Template: shared/proftpd/inetd_or_standalone
Type: select
__Choices: from inetd, standalone
Default: standalone
<snip>
However I'm failing to understand, what is wrong on that code as it is
nearly a copy of the template examples delivered w/ debconf. Of course
the fix for debbug#707689 was wrong:
+db_set shared/proftpd/inetd_or_standalone standalone
db_input high shared/proftpd/inetd_or_standalone || true
-db_go
+db_go || true
At first I suspected the <Space> in the possible values "from inetd"
could be a problem, I replaced it by "_" w/o solving the problem.
Could anybody have a look at the problem and give an advise? Tagging it
"help" for now.
Hilmar
--
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org
More information about the Pkg-proftpd-maintainers
mailing list