Bug#1038879: bookworm-pu: package proftpd-dfsg/1.3.8+dfsg-4+deb12u1
Francesco P. Lovergine
frankie at debian.org
Thu Jun 22 13:29:54 BST 2023
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org at packages.debian.org
Usertags: pu
X-Debbugs-Cc: proftpd-dfsg at packages.debian.org, pkg-proftpd-maintainers at alioth-lists.debian.net
Control: affects -1 + src:proftpd-dfsg
Hi
this is a pre-check before uploading in bookworm p-u a fixed package.
The proposed solution is described in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038416#25
and implies adding and enable one more unit to pre-check the socket vs service units,
and install/upgrade the other units in disabled mode. That even requires
stopping the service at prerm stage.
[ Reason ]
Murphy law applies and we (ProFTPD team) found a serious flaw in bookworm
proftpd - as summarized in the report #1038416 - which prevents having a
working service after a new install or even an upgrade in bookworm.
[ Impact ]
The default proftpd configuration requires a standalone daemon running,
but the installation of a .socket unit prevents it to run and is not
working even, because the distributed proftpd.conf (and generally the
system admin's one) renders unusable the program via systemd. This is
evident after rebooting, while the daemon is regularly
working just after installation.
At the end of the day the admin get a not working service and
needs to manually disable the .socket and enable the .service, or
change ServerType to inetd. This is unexpected and suboptimal.
[ Tests ]
The proposed solution works on a fresh install or an upgrade.
[ Risks ]
The change is quite trivial and should not impact other parts of the system.
[ Checklist ]
[X] *all* changes are documented in the d/changelog
[X] I reviewed all changes and I approve them
[X] attach debdiff against the package in (old)stable
[X] the issue is verified as fixed in unstable
[ Changes ]
Adding a new service unit which runs on-exit/on-success alternatively
the original .socket/.service unit on the basis of the current
proftpd configuration after install. The prerm script now stop services
just before removing package units.
Changes include documentation of the new units management in NEWS
and README.Debian.
[Other info]
--
Francesco P. Lovergine
More information about the Pkg-proftpd-maintainers
mailing list