Bug 53947

Summary: /usr/lib/sasl/ (ab)used as a config dir
Product: [Fedora] Fedora Reporter: Andrew Bartlett <abartlet>
Component: cyrus-saslAssignee: Steve Conklin <sconklin>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7CC: chris.ricker, notting
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-28 16:56:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Bartlett 2001-09-24 02:26:14 UTC
Description of Problem:
cyrus-sasl uses /usr/lib/sasl/ as a configuration directory, in voilation
of the FHS.  (/usr/lib is for platform specific binaries)

Version-Release number of selected component (if applicable):
1.5.24-17, but this also affects all the applications that place *their*
configuraion files here.  Rawhide package appears not to have changed this.

How Reproducible:
Install cyrus-sasl and an applicaion configured to use it (like sendmail).

Steps to Reproduce:
1. 
2. 
3. 

Actual Results:
/usr/lib/sasl used as config dir

Expected Results:
/etc/sasl used as configuration dir, much like /etc/pam.d

Additional Information:
This prevents the mounting of /usr off a remote system and voilates the
FHS.

Comment 1 Chris Ricker 2003-01-10 07:07:05 UTC
*** Bug 62991 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2006-08-07 19:38:59 UTC
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
http://www.redhat.com/rhel/migrate/redhatlinux/.

Red Hat apologizes that these issues have not been resolved yet. We do
want to make sure that no important bugs slip through the cracks.
Please check if this issue is still present in a current Fedora Core
release. If so, please change the product and version to match, and
check the box indicating that the requested information has been
provided. Note that any bug still open against Red Hat Linux on will be
closed as 'CANTFIX' on September 30, 2006. Thanks again for your help.


Comment 3 Andrew Bartlett 2006-08-09 06:14:50 UTC
Still an issue in FC5

Comment 4 Till Maas 2008-01-09 12:48:42 UTC
/usr/lib/sasl2/smtp.conf still exists.

Comment 5 Steve Conklin 2008-02-28 16:56:58 UTC
/usr/lib/sasl2/smtp.conf (and /usr/lib/sasl/smtp.conf) are installed by the
postfix package, not cyrus-sasl.

Also, the file /usr/lib/sasl2/Sendmail.conf is installed by the sendmail package.

The following changelog entry for cyrus-sasl indicates that if those
applications move the config files, they will be found by cyrus-sasl:

2006-04-19  Alexey Melnikov <alexey.melnikov>
        * configure.in: Search for application configuration
          files in /usr/lib/sasl2 by default and fall back to
          /etc/sasl2 if not found.