Bug 28045

Summary: drakwizard-proftp writes a buggy conf file including not recognized IdentLoockup directive
Product: Mageia Reporter: papoteur <yvesbrungard>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description papoteur 2021-01-09 10:15:04 CET
Description of problem:
Using the wizard for configuring proftpd. The directive
IdentLookups off
is added in /etc/proftpd.conf
But this one doesn't allow proftpd to start.
# proftpd 
2021-01-09 10:09:04,635 localhost proftpd[19312]: fatal: unknown configuration directive 'IdentLookups' on line 137 of '/etc/proftpd.conf'

According to documentation of proftpd, this directive is valid. However, the program should for that be compiled with mod_ident.
I don"t see any option in the spec file about ident. Thus I don't know if the module is included or not.

Version-Release number of selected component (if applicable):
proftpd-1.3.7a-1.mga8
I didn't checked in Mageia 7

How reproducible:
Configure proftpd through drakwizard
Comment 1 papoteur 2021-01-09 13:03:07 CET
nic80 pointed to Release notes:
1.3.7rc1
---------
...

  + The mod_ident module is no longer automatically built by default.
    To include the mod_ident module in the build, it must be explicitly
    requested via --enable-ident or --with-shared=mod_ident.

    This means that configuration files using the IdentLookups directive
    will now want to using an enclosing <IfModule> section, like so:

      <IfModule mod_ident.c>
        IdentLookups off
      </IfModule>
Thus, default configuration should add this condition.

We have also to decide if the ident module will be included. I have no clue on that.
Comment 2 Nicolas Lécureuil 2021-01-09 23:21:21 CET
done here: http://gitweb.mageia.org/software/drakwizard/commit/?id=ec906bce54abe78be6a2eb0ff6b23c873c6d60a5

CC: (none) => mageia

Comment 3 Nicolas Lécureuil 2021-01-09 23:24:39 CET
for proftpd, i think it is interesting to enable the module.
Comment 4 Nicolas Lécureuil 2021-01-10 00:48:59 CET
i rebuilded proftpd with the ident option enabled.

Status: NEW => RESOLVED
Resolution: (none) => FIXED