Bug 178883 - update to 4.1.4-15 changed auto.master
Summary: update to 4.1.4-15 changed auto.master
Keywords:
Status: CLOSED DUPLICATE of bug 178474
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 4
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Jeff Moyer
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-25 06:39 UTC by Patrick C. F. Ernzer
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-01-25 13:11:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Patrick C. F. Ernzer 2006-01-25 06:39:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
not sure if this was intended or not, it sure was unexpected.

When I did a 'yum update' that brought autofs up to 4.1.4-15 from whatever was the version before on FC4, my /etc/auto.master got changed.

No /etc/auto.master.rpmnew, nor .rpmold was created on any of the 3 affected systems

No biggie, but it might annoy some of our users

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

How reproducible:
Always

Steps to Reproduce:
0. Have FC4
1. have a /etc/auto.master that contains an active line with "/misc   /etc/auto.misc --timeout=60"
2. yum update (brought autofs up to 4.1.4-15 on 2006-01-20)
3. try using /misc/banana some time later with a script that must have the device mounted ro (the only reason I even use autofs with USB sticks)
  

Actual Results:  script nags, No such file or directory.

Expected Results:  autofs not to change auto.master

Additional info:

obviously the fix is quick and straightforward, but it affects quite a few of my machines.

BTW: If you wonder what I do in that script:
  a) umount USB stick that was mounted automagically
  b) access it over autofs (entry contains 'ro' option')
  c) ssh-add some ssh key from that stick

As the stick is fat-formatted, I cannot chmod 600 the ssh pubkey, and without mounting the stick ro ssh-add will (quite rightly) refuse to add the key, plus I can just rip out the stick without worrying about the filesystem on it.

Comment 1 Jeff Moyer 2006-01-25 13:11:16 UTC
I was asked to remove this from the default maps, as it is primarily used for
cdrom mounting, and there are better means to achieve that.

The reason your auto.master was replaced is because you did not modify the
original configuration file.  The spec file lists auto.master as a
%config(noreplace).

Sorry for the inconvenience.

*** This bug has been marked as a duplicate of 178474 ***


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