On 28.04.25 David Prévot (da...@tilapin.org) wrote:
> On 28/04/2025 00:02, Hilmar Preusse wrote:

Hello David,

> > I built the proftpd-core_1.3.8.c+dfsg-3 for Debian stable, then
> > purged the proftpd installation on my server and installed the custom
> > packages. The server process starts up fine and I find the code block
> > 
> > # Debian #1103154: needed to make default config executable
> > LoadModule mod_delay.c
> > LoadModule mod_ls.c
> > LoadModule mod_xfer.c
> > 
> > in the /etc/proftpd/modules.conf . Did you do an upgrade and the 
> > modules.conf
> > was not replaced / updated? Please confirm, I'll check that later.
> 
> I indeed installed version 1.3.8.c+dfsg-2 on a fresh Trixie install, and
> then upgraded to 1.3.8.c+dfsg-3 in order to test if the issue was fixed
> before opening this bug report. I’ll check if a fresh install is OK for me
> too now (that’s weird, I didn’t spot the code when I looked for it in the
> source tree). I’ll try also a stable upgrade: would be nice if the package
> continue working on upgrade from Bookworm to Trixie.
> 

OK: the modules.conf in /usr/share ..  has been updated in the -3
revision, but this does not have impact on the existing modules.conf
in /etc/proftpd .  So, when on installs the revision -3 everything is
fine, but when upgrading from -2 or earlier the modules.conf in /etc
remains untouched.

I've created the -4 revision and put it here [1]. It checks the
modules.conf in /etc/proftpd if the needed modules are in the file
and adds them if not. Unfortunately the end user has to decide to use
the maintainers version of the modules.conf even if he did not change
it, which is quite confusing. Could you test the package + upgrade?
The packages are built for Debian stable, if you need a build for
unstable / testing, please call back!

@Francesco P.  Lovergine: I've simply used the code as for forcing to
load the mod_ident.c (see add_mod_ident() function in the postinst
script).  Do you remember, why the script just manipulates the
$MODULES_NEW file instead of the $MODULES file (i.e.  the real
modules.conf?

Hilmar

[1] https://people.debian.org/~hille42/1103981/

Attachment: signature.asc
Description: PGP signature

Reply via email to