Bug#707689: proftpd-basic: debconf-set-selections preseeds isnt beeing used when installing.

Stefan Eriksson stefan at glesys.se
Fri May 10 09:57:06 UTC 2013


Package: proftpd-basic
Version: 1.3.4a-4+nmu1
Severity: normal

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
automating proftpd installation on debian 7 32bit

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Here is an exact way to reproduce:

www:~# debconf-get-selections |grep proftpd
www:~# cat /tmp/proftpd.preseed
# Run proftpd:
proftpd-basic   shared/proftpd/inetd_or_standalone      select  standalone
www:~# /usr/bin/debconf-set-selections /tmp/proftpd.preseed
www:~# debconf-get-selections |grep proftpd
proftpd-basic	shared/proftpd/inetd_or_standalone	select	 standalone
www:~# /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install proftpd-basic
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libpcre3 proftpd-mod-vroot ucf
Suggested packages:
  proftpd-doc proftpd-mod-ldap proftpd-mod-mysql proftpd-mod-odbc proftpd-mod-pgsql proftpd-mod-sqlite
The following NEW packages will be installed:
  libpcre3 proftpd-basic proftpd-mod-vroot ucf
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,853 kB of archives.
After this operation, 5,001 kB of additional disk space will be used.
Get:1 http://ftp.se.debian.org/debian/ wheezy/main libpcre3 i386 1:8.30-5 [240 kB]
Get:2 http://ftp.se.debian.org/debian/ wheezy/main ucf all 3.0025+nmu3 [70.8 kB]
Get:3 http://ftp.se.debian.org/debian/ wheezy/main proftpd-basic i386 1.3.4a-4+nmu1 [2,525 kB]
Get:4 http://ftp.se.debian.org/debian/ wheezy/main proftpd-mod-vroot i386 0.9.2-2+b2 [17.2 kB]
Fetched 2,853 kB in 0s (6,808 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libpcre3:i386.
(Reading database ... 23877 files and directories currently installed.)
Unpacking libpcre3:i386 (from .../libpcre3_1%3a8.30-5_i386.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu3_all.deb) ...
Moving old data out of the way
Selecting previously unselected package proftpd-basic.
Unpacking proftpd-basic (from .../proftpd-basic_1.3.4a-4+nmu1_i386.deb) ...
Selecting previously unselected package proftpd-mod-vroot.
Unpacking proftpd-mod-vroot (from .../proftpd-mod-vroot_0.9.2-2+b2_i386.deb) ...
Processing triggers for man-db ...
Setting up libpcre3:i386 (1:8.30-5) ...
Setting up ucf (3.0025+nmu3) ...
Setting up proftpd-basic (1.3.4a-4+nmu1) ...
Warning: The home dir /var/run/proftpd you specified can't be accessed: No such file or directory
Adding system user `proftpd' (UID 103) ...
Adding new user `proftpd' (UID 103) with group `nogroup' ...
Not creating home directory `/var/run/proftpd'.
Adding system user `ftp' (UID 104) ...
Adding new user `ftp' (UID 104) with group `nogroup' ...
Creating home directory `/srv/ftp' ...
`/usr/share/proftpd/templates/welcome.msg' -> `/srv/ftp/welcome.msg.proftpd-new'
ProFTPD is started from inetd/xinetd.
Setting up proftpd-mod-vroot (0.9.2-2+b2) ...


www:~# debconf-get-selections |grep proftpd
# Run proftpd:
proftpd-basic	shared/proftpd/inetd_or_standalone	select	from inetd
www:~# cat /etc/inetd.conf |grep ftp
ftp	stream	tcp	nowait	root	/usr/sbin/tcpd /usr/sbin/proftpd

as you can see on debian7 32bit the installation doesnt seem to use debconf-set info correctly

   * What was the outcome of this action?

as you can see on debian7 32bit the installation doesnt seem to use debconf-set info correctly

   * What outcome did you expect instead?

to use standalone init.d install

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-042stab076.7 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages proftpd-basic depends on:
ii  adduser         3.113+nmu3
ii  debconf         1.5.49
ii  debianutils     4.3.2
ii  libacl1         2.2.51-8
ii  libc6           2.13-38
ii  libcap2         1:2.22-1.2
ii  libncurses5     5.9-10
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g        1.1.3-7.1
ii  libpcre3        1:8.30-5
ii  libssl1.0.0     1.0.1e-2
ii  libtinfo5       5.9-10
ii  libwrap0        7.6.q-24
ii  netbase         5.0
ii  sed             4.2.1-10
ii  ucf             3.0025+nmu3
ii  update-inetd    4.43
ii  zlib1g          1:1.2.7.dfsg-13

Versions of packages proftpd-basic recommends:
ii  proftpd-mod-vroot  0.9.2-2+b2

Versions of packages proftpd-basic suggests:
ii  openbsd-inetd [inet-superserver]  0.20091229-2
ii  openssl                           1.0.1e-2
pn  proftpd-doc                       <none>
pn  proftpd-mod-ldap                  <none>
pn  proftpd-mod-mysql                 <none>
pn  proftpd-mod-odbc                  <none>
pn  proftpd-mod-pgsql                 <none>
pn  proftpd-mod-sqlite                <none>

-- debconf information:
* shared/proftpd/inetd_or_standalone: from inetd



More information about the Pkg-proftpd-maintainers mailing list