Package: ufw
Version: 0.35-4
Severity: important
Tags: d-i

Hi,

based on the README.Debian
(https://sources.debian.org/src/ufw/0.35-4/debian/README.Debian/#L23), I tried
to preseed ufw to be enabled and allowing SSH while also being installed
directly in d-i.

Basically this comes down to the following three lines in preseed.cfg:

d-i pkgsel/include string ufw
ufw ufw/enable boolean true
ufw ufw/allow_known_ports multiselect SSH

But this leads to the following errors in the installer syslog:

Dec 21 12:47:16 in-target: Setting up ufw (0.35-4) ...^M
Dec 21 12:47:16 in-target: ^M
Dec 21 12:47:16 in-target: Creating config file /etc/ufw/before.rules with new
version^M
Dec 21 12:47:16 in-target: ^M
Dec 21 12:47:16 in-target: Creating config file /etc/ufw/before6.rules with new
version^M
Dec 21 12:47:16 in-target: ^M
Dec 21 12:47:16 in-target: Creating config file /etc/ufw/after.rules with new
version^M
Dec 21 12:47:16 in-target: ^M
Dec 21 12:47:16 in-target: Creating config file /etc/ufw/after6.rules with new
version^M
Dec 21 12:47:16 kernel: [  674.133042] ip_tables: (C) 2000-2006 Netfilter Core
Team
Dec 21 12:47:16 in-target: ERROR: initcaps^M
Dec 21 12:47:16 in-target: [Errno 2] iptables v1.6.0: can't initialize iptables
table `filter': Table does not exist (do you need to insmod?)^M
Dec 21 12:47:16 in-target: Perhaps iptables or your kernel needs to be
upgraded.^M
Dec 21 12:47:16 in-target: ^M

And after rebooting, ufw is enabled, but the allow rules for SSH are missing.
:(

Regards,
Moritz Schlarb
--
Unix-Gruppe | Systembetreuung
Zentrum für Datenverarbeitung
Johannes Gutenberg-Universität Mainz
Raum 01-331 - Tel. +49 6131 39-29441
OpenPGP Fingerprint: DF01 2247 BFC6
5501 AFF2 8445 0C24 B841 C7DD BAAF



-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (700, 'stable-updates'), (700, 'stable'), (60, 'testing'), (50, 
'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ufw depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  init-system-helpers    1.48
ii  iptables               1.6.0+snapshot20161117-6
ii  lsb-base               9.20161125
ii  python3                3.5.3-1
ii  ucf                    3.0036

ufw recommends no packages.

Versions of packages ufw suggests:
ii  rsyslog  8.24.0-1

-- debconf information excluded

Reply via email to