Bug 180153

Summary: RHEL4: emacs update overwrites site customization file default.el
Product: Red Hat Enterprise Linux 4 Reporter: ritz <rkhadgar>
Component: emacsAssignee: Chip Coldwell <coldwell>
Status: CLOSED ERRATA QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: srevivo, tao
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=149310
Whiteboard:
Fixed In Version: RHBA-2006-0399 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-10 21:31:15 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:
Bug Depends On:    
Bug Blocks: 181409    

Description ritz 2006-02-06 11:06:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7

Description of problem:
recent emacs update overwrites site-specific default init file in:
/usr/share/emacs/site-lisp/default.el

The emacs documentation explicitely says (Sect: 40.1.2):
" A site may have a default init file, which is the library named `default.el'. Emacs finds the `default.el' file through the standard search path for libraries (see section 15.1 How Programs Do Loading). The Emacs distribution does not come with this file; sites may provide one for local customizations."

recent update fails to conform to this documented behavior and contains the default.el file.


Version-Release number of selected component (if applicable):
emacs-21.3-19.EL.1

How reproducible:
Always

Steps to Reproduce:
1. install emacs-21.3-19.EL.1


Actual Results:  the site customization file is gone.

Expected Results:  the emacs distribution should not overwrite this file

Additional info:

traced to installation of emac-common package

Comment 6 Jens Petersen 2006-04-06 10:52:10 UTC
I just note here that the changelog entry for the fix in FC:

* Thu Feb 24 2005 Jens Petersen <petersen> - 21.3-24
- mark default.el as a noreplace config file (Pawel Salek, 149310)

is inaccurate since FC emacs is actually just using %config without noreplace.

Comment 7 Bob Johnson 2006-04-11 15:45:48 UTC
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 4.4 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 4.4 release.

Comment 11 Red Hat Bugzilla 2006-08-10 21:31:18 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 the 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-2006-0399.html