Bug 28045 - drakwizard-proftp writes a buggy conf file including not recognized IdentLoockup directive
Summary: drakwizard-proftp writes a buggy conf file including not recognized IdentLooc...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-09 10:15 CET by papoteur
Modified: 2021-01-10 00:48 CET (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.