Bug 612423 - etc/udev/rules.d/60-raw.rules gets trashed by util-linux on update.
Summary: etc/udev/rules.d/60-raw.rules gets trashed by util-linux on update.
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: util-linux
Version: 5.6
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Karel Zak
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-08 07:45 UTC by Wade Mealing
Modified: 2011-01-13 23:45 UTC (History)
3 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2011-01-13 23:45:35 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0085 normal SHIPPED_LIVE util-linux bug fix update 2011-01-12 17:29:18 UTC

Description Wade Mealing 2010-07-08 07:45:49 UTC
Description of problem:

Util-linux overwrites /etc/udev/rules.d/60-raw.rules when updated.
The old version of the file is saved, but I see no reason why it should overwrite this file in the first place.

This file _empty_ by default except just one comment instructing how it is supposed to be used.

So it is clearly intended to be changed by the user.

How reproducible:

The file should not be touched if changed by user since it is purely a user generated config file.

Steps to Reproduce:
1. Have a custom raw.rules file.
2. Update util linux
3. Wait.
  
Actual results:

Custom config gets trashed, oracle wont work on next boot.

Expected results:

Config file to get 

Additional info:

Mark this as a config file with noreplace and it behaves as you'd expect.

%config(noreplace)


%if %{include_raw}
/bin/raw
%config(noreplace) %{_sysconfdir}/udev/rules.d/60-raw.rules
%endif

Additional additional info:

More people are allergic to cow's milk than any other food.

Comment 5 errata-xmlrpc 2011-01-13 23:45:35 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0085.html


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