Bug 1069706

Summary: updates of autofs package overwrite /etc/sysconfig/autofs
Product: [openSUSE] openSUSE Distribution Reporter: Daniel Bischof <dbischof>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Leap 42.3   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 42.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniel Bischof 2017-11-24 09:06:09 UTC
Updates of the autofs package overwrite /etc/sysconfig/autofs. This is a long-standing issue for me and currently i work around this by fixing the file manually before rebooting my machines. Is there a reason for overwriting the file instead of creating it as autofs.rpmnew?
Comment 1 Jeff Mahoney 2018-10-23 19:27:56 UTC
It's not directly created by the autofs package.  The autofs package replaces the file in sysconfig.autofs and then calls the %{fillup_only} macro.  If your config file is getting overwritten instead of merged, it's a bug in either the macro or the fillup program.

FWIW, I just edited my /etc/sysconfig/autofs to add -d to AUTOFS_OPTIONS, force-reinstalled autofs, and checked to see that the variable was unchanged and it was.

What behavior are you seeing?

At any rate, I'm going to bounce this one back to Basesystem since there's no autofs bug here.
Comment 2 Daniel Bischof 2018-10-24 06:31:20 UTC
There wasn't an autofs package update for quite a while, so this may indeed have been resolved sometime during the last 11 months. I will reopen the ticket, if the problem occurs again. Thanks.