Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am Freitag, 3. September 2021, 14:36:27 CEST schrieb Hilmar Preuße: > > Can we close the case now? > > Hilmar Yes, we can! Andreas
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am 31.08.2021 um 12:53 teilte Andreas Günther mit: Hi Andreas, but I realized that now. The whole time the installer was bothered by a line in "/etc/proftpd/proftpd.conf", namely "IdentLookups off". I commented on this line and thus everything could be reinstalled and started successfully. Hmmm. In proftpd-dfsg (1.3.7a-2) I did: * Enclose "IdentLookups off" in in sample configuration. According to https://github.com/proftpd/proftpd/issues/677 . Best regards and thank you very much Can we close the case now? Hilmar -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am Montag, 30. August 2021, 18:42:01 CEST schrieb Hilmar Preuße: > > I would not expect that this works. Your specific proftp configuration > needs to crypto and the wrap modules so I'd expect that the setup fails, > b/c they could not be found. > > However I still don't understand why the setup fails if they are at > least in unpacked state. > > I am still convinced that there is something wrong with this package. Hi, but I realized that now. The whole time the installer was bothered by a line in "/etc/proftpd/proftpd.conf", namely "IdentLookups off". I commented on this line and thus everything could be reinstalled and started successfully. Best regards and thank you very much Andreas
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am 30.08.2021 um 10:16 teilte Andreas Günther mit: Hi, I have now deleted everything again dpkg -r proftpd-core proftpd-basic proftpd-mod-crypto proftpd-mod-wrap and downloaded all the necessary packages and try to install them in order. First the package proftpd-core_1.3.7a + dfsg-12_amd64.deb. But that fails again: dpkg -i proftpd-core_1.3.7a+dfsg-12_amd64.deb I would not expect that this works. Your specific proftp configuration needs to crypto and the wrap modules so I'd expect that the setup fails, b/c they could not be found. However I still don't understand why the setup fails if they are at least in unpacked state. Vormals nicht ausgewähltes Paket proftpd-core wird gewählt. (Lese Datenbank ... 44962 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von proftpd-core_1.3.7a+dfsg-12_amd64.deb ... Entpacken von proftpd-core (1.3.7a+dfsg-12) ... proftpd-core (1.3.7a+dfsg-12) wird eingerichtet ... usermod: Keine Änderungen Synchronizing state of proftpd.service with SysV service script with /lib/ systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable proftpd Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked. dpkg: Fehler beim Bearbeiten des Paketes proftpd-core (--install): »installiertes proftpd-core-Skript des Paketes post-installation«- Unterprozess gab den Fehlerwert 1 zurück Trigger für man-db (2.9.4-2) werden verarbeitet ... Fehler traten auf beim Bearbeiten von: proftpd-core I am still convinced that there is something wrong with this package. -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Hi Hilmar, here I have the output from systemctl status proftpd.service: proftpd.service - ProFTPD FTP Server Loaded: loaded (/lib/systemd/system/proftpd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2021-08-28 10:16:33 CEST; 6h ago Process: 37982 ExecStartPre=/usr/sbin/proftpd --configtest -c $CONFIG_FILE (code=exited, status=1/FAILURE) CPU: 6ms Aug 28 10:16:33 web systemd[1]: Starting ProFTPD FTP Server... Aug 28 10:16:33 web proftpd[37982]: Checking syntax of configuration file Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,852 web proftpd[37982]: mod_dso/0.5: unable to load 'mod_tls.c'; check to see if '/usr/lib/proftpd/mod_tls.la' exists Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,852 web proftpd[37982]: fatal: LoadModule: error loading module 'mod_tls.c': Datei oder Verzeichnis nicht gefunden on line 16 o> Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,852 web proftpd[37982]: warning: unable to include '/etc/proftpd/modules.conf': Die Operation ist nicht erlaubt Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,853 web proftpd[37982]: mod_dso/0.5: unable to load 'mod_wrap.c'; check to see if '/usr/lib/proftpd/mod_wrap.la' exists Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,853 web proftpd[37982]: fatal: LoadModule: error loading module 'mod_wrap.c': Datei oder Verzeichnis nicht gefunden on line 8 o> Aug 28 10:16:33 web systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE Aug 28 10:16:33 web systemd[1]: proftpd.service: Failed with result 'exit-code'. Aug 28 10:16:33 web systemd[1]: Failed to start ProFTPD FTP Server. journalctl -xe: Aug 28 16:39:39 web systemd[1]: Starting ProFTPD FTP Server... ░░ Subject: A start job for unit proftpd.service has begun execution ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit proftpd.service has begun execution. ░░ ░░ The job identifier is 7345. Aug 28 16:39:39 web proftpd[39780]: Checking syntax of configuration file Aug 28 16:39:39 web proftpd[39780]: 2021-08-28 16:39:39,074 web proftpd[39780]: mod_dso/0.5: unable to load 'mod_tls.c'; check to see if '/usr/lib/proftpd/mod_tls.la' exists Aug 28 16:39:39 web proftpd[39780]: 2021-08-28 16:39:39,075 web proftpd[39780]: fatal: LoadModule: error loading module 'mod_tls.c': Datei oder Verzeichnis nicht gefunden on line 16 o> Aug 28 16:39:39 web proftpd[39780]: 2021-08-28 16:39:39,075 web proftpd[39780]: warning: unable to include '/etc/proftpd/modules.conf': Die Operation ist nicht erlaubt Aug 28 16:39:39 web proftpd[39780]: 2021-08-28 16:39:39,075 web proftpd[39780]: mod_dso/0.5: unable to load 'mod_wrap.c'; check to see if '/usr/lib/proftpd/mod_wrap.la' exists Aug 28 16:39:39 web proftpd[39780]: 2021-08-28 16:39:39,075 web proftpd[39780]: fatal: LoadModule: error loading module 'mod_wrap.c': Datei oder Verzeichnis nicht gefunden on line 8 o> Aug 28 16:39:39 web systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE ░░ Subject: Unit process exited ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ An ExecStartPre= process belonging to unit proftpd.service has exited. ░░ ░░ The process' exit code is 'exited' and its exit status is 1. cat /var/log/proftpd/proftpd.log: 2021-08-25 15:43:53,294 web proftpd[9433] web.germany.com (45.146.166.237[45.146.166.237]): client sent SSH2 command 'SSH-2.0-libssh2_1.9.0', disconnecting 2021-08-27 09:35:16,468 web proftpd[22758] web.germany.com: ProFTPD killed (signal 15) 2021-08-27 09:35:16,519 web proftpd[22758] web.germany.com: ProFTPD 1.3.6 standalone mode SHUTDOWN Best regards Andreas On 28.08.21 10:37, Hilmar Preuße wrote: > Am 28.08.2021 um 10:20 teilte Andreas Guenther mit: > > Hi, > > Although I do speak German I prefer English error messages. ;-) > > Could you provide the output of "systemctl status proftpd.service" and > "journalctl -xe" and the /var/log/proftpd/proftpd.log? > > Thanks! > >> This error occurred for the first time when upgrading the system >> from Buster to Bullseye: >> dpkg: Fehler beim Bearbeiten des Paketes proftpd-mod-crypto >> (--configure): >> Abhängigkeitsprobleme - verbleibt unkonfiguriert >> dpkg: Abhängigkeitsprobleme verhindern Konfiguration von >> proftpd-mod-wrap: >> proftpd-mod-wrap hängt ab von proftpd-core (= 1.3.7a+dfsg-12); aber: >> Paket proftpd-core ist noch nicht konfiguriert. >> . >> . >> Fehler traten auf beim Bearbeiten von: >> proftpd-core >> proftpd-mod-crypto >> proftpd-mod-wrap >> proftpd-basic >> >> Then I deleted all the packages involved and tried to reinstall >> them with the same result: >> dpkg --remove proftpd-basic proftpd-core proftpd-mod-crypto >> proftpd-mod-wrap >> apt install proftpd-core proftpd-basic proftpd-mod-crypto >> proftpd-mod-wrap >> After deleting all
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Hi Hilmar, Am Montag, 30. August 2021, 00:26:11 CEST schrieb Hilmar Preuße: > > When splitting off the wrap and the crypto modules into own packages I > put them into recommends to make sure they are installed. > > proftpd-dfsg (1.3.7a-2) unstable; urgency=medium > >[ Hilmar Preusse ] >* Move modules depending on libsodium & libwrap0 into own packages. > New packages are recommended. > > Francesco later decided to put them into Suggests: > > proftpd-dfsg (1.3.7a+dfsg-3) unstable; urgency=medium > >* Moved -mod-wrap and -mod-crypto among Suggests, thanks to changes > to default > template for modules.conf. > > So, you probably have a custom modules.conf and refused to use the one > from the package maintainers. So solution could be: either install these > packages or use the modules.conf from the package. Please send the > output of > > apt install proftpd-core proftpd-basic proftpd-mod-crypto proftpd-mod-wrap > > I'm wondering why this does not work: all packages should be unpacked > before the proftpd-core is configured, so all files needed to configure > proftpd-core should be available. > > Hilmar > -- > #206401 http://counter.li.org The modules.conf is definitely untouched. And the output of apt install proftpd-core proftpd-basic proftpd-mod-crypto proftpd-mod-wrap is the same as previously reported. Means dpkg --ignore-depends = proftpd-core -i proftpd-mod-crypto_1.3.7a + dfsg-12_amd64.deb . . . I was able to install all packages except for proftpd-core, that still fails. dpkg -l | grep proftpd ii proftpd-basic1.3.7a+dfsg-12 all Transitional dummy package for ProFTPD iF proftpd-core 1.3.7a+dfsg-12 amd64 Versatile, virtual-hosting FTP daemon - binaries ii proftpd-doc 1.3.7a+dfsg-12 all Versatile, virtual-hosting FTP daemon - documentation ii proftpd-mod-crypto 1.3.7a+dfsg-12 amd64 Versatile, virtual-hosting FTP daemon - TLS/SSL/SFTP modules ii proftpd-mod-wrap 1.3.7a+dfsg-12 amd64 Versatile, virtual-hosting FTP daemon - tcpwrapper module # dpkg -i proftpd-core_1.3.7a + dfsg-12_amd64.deb (Read database ... 45118 files and directories are currently installed.) Preparation for unpacking proftpd-core_1.3.7a + dfsg-12_amd64.deb ... Unpacking proftpd-core (1.3.7a + dfsg-12) via (1.3.7a + dfsg-12) ... proftpd-core (1.3.7a + dfsg-12) is set up ... usermod: No changes Synchronizing state of proftpd.service with SysV service script with / lib / systemd / systemd- sysv-install. Executing: / lib / systemd / systemd-sysv-install enable proftpd Failed to enable unit: Unit file /etc/systemd/system/proftpd.service is masked. dpkg: error while editing the package proftpd-core (--install): The "installed proftpd-core script of the post-installation package" subprocess returned the error value 1 Processing triggers for man-db (2.9.4-2) ... Errors occurred while editing: proftpd-core Best regards Andreas
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
On 8/29/21 10:12 AM, Andreas Günther wrote: Am Samstag, 28. August 2021, 17:09:37 CEST schrieb Hilmar Preuße: Hi, Hmm, weird: the modules in question should be provided by proftpd-mod-wrap & proftpd-mod-crypto, should should have installed. Could you check if the files /usr/lib/proftpd/mod_tls.so & /usr/lib/proftpd/mod_wrap.so do exist? Hilmar Hi Hilmar, both, /usr/lib/proftpd/mod_wrap.so and /usr/lib/proftpd/mod_tls.so doesn't exist. But that also seems logical to me, because in order to be able to install proftpd-mod-wrap and proftpd-mod-crypto, proftpd-core has to be completely installed because of the dependencies. But the installation of proftpd-core fails right from the start. dpkg: Error while editing the package proftpd-core (--configure): The "installed proftpd-core script of the post-installation package" subprocess returned the error value 1 dpkg: Dependency problems prevent configuration of proftpd-mod-crypto: proftpd-mod-crypto depends on proftpd-core (= 1.3.7a + dfsg-12); but: Package proftpd-core is not yet configured. At the moment I think something is going wrong with the installation of proftpd-core. When splitting off the wrap and the crypto modules into own packages I put them into recommends to make sure they are installed. proftpd-dfsg (1.3.7a-2) unstable; urgency=medium [ Hilmar Preusse ] * Move modules depending on libsodium & libwrap0 into own packages. New packages are recommended. Francesco later decided to put them into Suggests: proftpd-dfsg (1.3.7a+dfsg-3) unstable; urgency=medium * Moved -mod-wrap and -mod-crypto among Suggests, thanks to changes to default template for modules.conf. So, you probably have a custom modules.conf and refused to use the one from the package maintainers. So solution could be: either install these packages or use the modules.conf from the package. Please send the output of apt install proftpd-core proftpd-basic proftpd-mod-crypto proftpd-mod-wrap I'm wondering why this does not work: all packages should be unpacked before the proftpd-core is configured, so all files needed to configure proftpd-core should be available. Hilmar -- #206401 http://counter.li.org
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am Samstag, 28. August 2021, 17:09:37 CEST schrieb Hilmar Preuße: > Hmm, weird: the modules in question should be provided by > proftpd-mod-wrap & proftpd-mod-crypto, should should have installed. > Could you check if the files /usr/lib/proftpd/mod_tls.so & > /usr/lib/proftpd/mod_wrap.so do exist? > > Hilmar Hi Hilmar, both, /usr/lib/proftpd/mod_wrap.so and /usr/lib/proftpd/mod_tls.so doesn't exist. But that also seems logical to me, because in order to be able to install proftpd-mod-wrap and proftpd-mod-crypto, proftpd-core has to be completely installed because of the dependencies. But the installation of proftpd-core fails right from the start. dpkg: Error while editing the package proftpd-core (--configure): The "installed proftpd-core script of the post-installation package" subprocess returned the error value 1 dpkg: Dependency problems prevent configuration of proftpd-mod-crypto: proftpd-mod-crypto depends on proftpd-core (= 1.3.7a + dfsg-12); but: Package proftpd-core is not yet configured. At the moment I think something is going wrong with the installation of proftpd-core. Best regards Andreas
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am 28.08.2021 um 16:46 teilte Andreas Günther mit: Hi, please keep the bug in Cc. here I have the output from systemctl status proftpd.service: proftpd.service - ProFTPD FTP Server Loaded: loaded (/lib/systemd/system/proftpd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2021-08-28 10:16:33 CEST; 6h ago Process: 37982 ExecStartPre=/usr/sbin/proftpd --configtest -c $CONFIG_FILE (code=exited, status=1/FAILURE) CPU: 6ms Aug 28 10:16:33 web systemd[1]: Starting ProFTPD FTP Server... Aug 28 10:16:33 web proftpd[37982]: Checking syntax of configuration file Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,852 web proftpd[37982]: mod_dso/0.5: unable to load 'mod_tls.c'; check to see if '/usr/lib/proftpd/mod_tls.la' exists Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,852 web proftpd[37982]: fatal: LoadModule: error loading module 'mod_tls.c': Datei oder Verzeichnis nicht gefunden on line 16 o> Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,852 web proftpd[37982]: warning: unable to include '/etc/proftpd/modules.conf': Die Operation ist nicht erlaubt Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,853 web proftpd[37982]: mod_dso/0.5: unable to load 'mod_wrap.c'; check to see if '/usr/lib/proftpd/mod_wrap.la' exists Aug 28 10:16:33 web proftpd[37982]: 2021-08-28 10:16:33,853 web proftpd[37982]: fatal: LoadModule: error loading module 'mod_wrap.c': Datei oder Verzeichnis nicht gefunden on line 8 o> Aug 28 10:16:33 web systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE Aug 28 10:16:33 web systemd[1]: proftpd.service: Failed with result 'exit-code'. Aug 28 10:16:33 web systemd[1]: Failed to start ProFTPD FTP Server. Hmm, weird: the modules in question should be provided by proftpd-mod-wrap & proftpd-mod-crypto, should should have installed. Could you check if the files /usr/lib/proftpd/mod_tls.so & /usr/lib/proftpd/mod_wrap.so do exist? Hilmar -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Am 28.08.2021 um 10:20 teilte Andreas Guenther mit: Hi, Although I do speak German I prefer English error messages. ;-) Could you provide the output of "systemctl status proftpd.service" and "journalctl -xe" and the /var/log/proftpd/proftpd.log? Thanks! This error occurred for the first time when upgrading the system from Buster to Bullseye: dpkg: Fehler beim Bearbeiten des Paketes proftpd-mod-crypto (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proftpd-mod-wrap: proftpd-mod-wrap hängt ab von proftpd-core (= 1.3.7a+dfsg-12); aber: Paket proftpd-core ist noch nicht konfiguriert. . . Fehler traten auf beim Bearbeiten von: proftpd-core proftpd-mod-crypto proftpd-mod-wrap proftpd-basic Then I deleted all the packages involved and tried to reinstall them with the same result: dpkg --remove proftpd-basic proftpd-core proftpd-mod-crypto proftpd-mod-wrap apt install proftpd-core proftpd-basic proftpd-mod-crypto proftpd-mod-wrap After deleting all packages again, I only installed proftpd-core: apt install proftpd-core See "systemctl status proftpd.service" and "journalctl -xe" for details. dpkg: Fehler beim Bearbeiten des Paketes proftpd-core (--configure): »installiertes proftpd-core-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück Fehler traten auf beim Bearbeiten von: proftpd-core The package obviously cannot be installed due to the proftpd-core script. My expectation of you would be to make ProFTPd installable. -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#993164: proftpd-core: When upgrading from Buster to Bullseyes, the installation of ProFTPd fails
Package: proftpd-core Version: 1.3.7a+dfsg-12 Severity: serious Justification: 1 Dear Maintainer, This error occurred for the first time when upgrading the system from Buster to Bullseye: dpkg: Fehler beim Bearbeiten des Paketes proftpd-mod-crypto (--configure): Abhängigkeitsprobleme - verbleibt unkonfiguriert dpkg: Abhängigkeitsprobleme verhindern Konfiguration von proftpd-mod-wrap: proftpd-mod-wrap hängt ab von proftpd-core (= 1.3.7a+dfsg-12); aber: Paket proftpd-core ist noch nicht konfiguriert. . . Fehler traten auf beim Bearbeiten von: proftpd-core proftpd-mod-crypto proftpd-mod-wrap proftpd-basic Then I deleted all the packages involved and tried to reinstall them with the same result: dpkg --remove proftpd-basic proftpd-core proftpd-mod-crypto proftpd-mod-wrap apt install proftpd-core proftpd-basic proftpd-mod-crypto proftpd-mod-wrap After deleting all packages again, I only installed proftpd-core: apt install proftpd-core See "systemctl status proftpd.service" and "journalctl -xe" for details. dpkg: Fehler beim Bearbeiten des Paketes proftpd-core (--configure): »installiertes proftpd-core-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 1 zurück Fehler traten auf beim Bearbeiten von: proftpd-core The package obviously cannot be installed due to the proftpd-core script. My expectation of you would be to make ProFTPd installable. Best regards Andreas Günther -- System Information: Debian Release: 11.0 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/12 CPU threads) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages proftpd-core depends on: ii adduser 3.118 ii debianutils 4.11.2 ii init-system-helpers 1.60 ii libacl1 2.2.53-10 ii libc62.31-13 ii libcap2 1:2.44-1 ii libcrypt11:4.4.18-4 ii libhiredis0.14 0.14.1-1 ii libmemcached11 1.0.18-4.2 ii libmemcachedutil21.0.18-4.2 ii libncursesw6 6.2+20201114-2 ii libpam-runtime 1.4.0-9 ii libpam0g 1.4.0-9 ii libpcre3 2:8.39-13 ii libssl1.11.1.1k-1 ii libtinfo66.2+20201114-2 ii lsb-base 11.1.0 ii netbase 6.3 ii sed 4.7-1 ii ucf 3.0043 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages proftpd-core recommends: ii proftpd-doc 1.3.7a+dfsg-12 Versions of packages proftpd-core suggests: pn openbsd-inetd | inet-superserver ii openssl 1.1.1k-1 pn proftpd-mod-crypto pn proftpd-mod-geoip pn proftpd-mod-ldap pn proftpd-mod-mysql pn proftpd-mod-odbc pn proftpd-mod-pgsql pn proftpd-mod-snmp pn proftpd-mod-sqlite pn proftpd-mod-wrap -- Configuration Files: /etc/logrotate.d/proftpd-core changed: /var/log/proftpd/proftpd.log /var/log/proftpd/controls.log /var/log/proftpd/tls.log /var/log/proftpd/sftp.log { weekly missingok rotate 7 compress delaycompress notifempty create 640 root adm sharedscripts postrotate # reload could be not sufficient for all logs, a restart is safer invoke-rc.d proftpd restart 2>/dev/null >/dev/null || true endscript } /var/log/proftpd/xferlog /var/log/proftpd/xferreport { monthly missingok rotate 7 compress delaycompress notifempty create 640 root adm sharedscripts prerotate endscript postrotate # reload could be not sufficient for all logs, a restart is safer invoke-rc.d proftpd restart 2>/dev/null >/dev/null || true # run ftpstats on past transfer log ftpstats -a -r -l 2 -d -h -f /var/log/proftpd/xferlog.0 2>/dev/null >/var/log/proftpd/xferreport || true endscript } -- no debconf information