Including a configuration directory includes all files, not just *.conf files

Bug #1607876 reported by Jani Uusitalo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Proftpd Dfsg
Fix Released
Unknown
proftpd-dfsg (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Include directive, when given a directory as parameter (such as /etc/proftpd/conf.d/, as in the stock /etc/proftpd/proftpd.conf), causes all files in said directory to be read, not just ones ending in .conf. This causes problems if, for instance, I'm using vim to edit a file in the included directory while the proftpd service is being (re)started: vim stores a .swp file in the same directory, and proftpd may fail to start with "fatal: unknown configuration directive" when it tries to parse the .swp file.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: proftpd-basic (not installed)
ProcVersionSignature: Ubuntu 4.4.0-33.52-generic 4.4.15
Uname: Linux 4.4.0-33-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Jul 29 19:51:38 2016
InstallationDate: Installed on 2010-01-15 (2387 days ago)
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
SourcePackage: proftpd-dfsg
UpgradeStatus: Upgraded to xenial on 2016-04-19 (101 days ago)

Revision history for this message
Jani Uusitalo (uusijani) wrote :
Changed in proftpd-dfsg:
status: Unknown → New
Changed in proftpd-dfsg:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.