Bug 6559 - autofs: /etc/autofs/auto.master uncomments /etc/auto.master.d config line but it does not exist.
Summary: autofs: /etc/autofs/auto.master uncomments /etc/auto.master.d config line but...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: David Walser
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2012-06-25 00:07 CEST by Kevin Bulgrien
Modified: 2013-08-31 00:16 CEST (History)
3 users (show)

See Also:
Source RPM: autofs-5.0.6-6.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Kevin Bulgrien 2012-06-25 00:07:44 CEST
Description of problem:

/etc/autofs/auto.master installed by the autofs package contains:

#
# Include /etc/auto.master.d/*.autofs
#
+dir:/etc/auto.master.d

This is a difference from Mandriva 2010.2, so it is a fairly recent change.  The "problem" is that this directory does not exist.  It seems that if the default configuration is set up by to look there, that the RPM should have created it (if only to help assure it is created with appropriate ownership and permissions.  If this is not done, then it seems perhaps the configuration file should have that line commented out.

Version-Release number of selected component (if applicable):

Version     : 5.0.6
Release     : 6.mga2

How reproducible:

Install the package and look at the installed /etc/autofs/auto.master file content.
Comment 1 Kevin Bulgrien 2012-06-25 00:34:53 CEST
http://www.mail-archive.com/autofs@linux.kernel.org/msg08470.html shows a patch where this was added to a spec file in addition to the modification of the auto.master file.
Remco Rijnders 2012-06-25 14:49:25 CEST

CC: (none) => remco

Comment 2 Remco Rijnders 2012-06-25 15:03:17 CEST
@guillomovitch,

Hi, as you uploaded this version of autofs, including the autofs-5.0.6-add-dir-map-type.patch , can you have a look at this please?

CC: (none) => guillomovitch

Comment 3 Samuel Verschelde 2013-08-29 14:10:48 CEST
Assigning to guillomovitch who made this patch. Please assign back to default if that was a mistake.

Keywords: (none) => Triaged
CC: (none) => stormi
Assignee: bugsquad => guillomovitch

Comment 4 David Walser 2013-08-31 00:16:01 CEST
Fixed in autofs-5.0.7-6.mga4 in Cauldron.

I've also fixed it in SVN for Mageia 2 and Mageia 3.  I don't see a need to issue an update for this minor issue, but if we issue any future updates for autofs, it'll get fixed then.

Thanks for the report!

Status: NEW => RESOLVED
Version: 2 => Cauldron
Resolution: (none) => FIXED
Assignee: guillomovitch => luigiwalser


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