Red Hat Bugzilla – Bug 15099
Last modified: 2008-05-01 11:37:57 EDT
I did an upgrade of a rhl 6.1 system to pinstripe. Everything seemed to go
fine except that /etc/X11/xdm/Xsetup_0 was missing. The previous Xsetup_0
was renamed to Xset_0.rpmsave but there was new "new" Xsetup_0. The
original Xsession was renamed to Xsession.rpmsave and there was a new
That should be in the xinitrc package - do you have that
jeff, this sounds like an rpm issue.
This defect is considered MUST-FIX for Winston Gold-release
OK, I did more testing and this is a reproducable problem.
1. I did a TUI install of rhl 6.1 selecting gnome, kde, development, etc.
2. I booted the new system and edited /etc/X11/xdm/Xsetup_0 and
/etc/X11/xdm/Xsession to change the background color.
3. I then shutdown and did a TUI upgrade of the system with pinstripe.
4. When I rebooted the new system, both Xsession and Xsetup_0 had been renamed
*.rpmsave and there was a new Xsession file but NO Xsetup_0 file.
5. I checked and xinitrc was installed and the package listing showed it had a
Presumably the XFree86-3.3.5-17 packages are being referred to (or that there no
to the marking of the file Xsetup_0).
In 6.1.3, the XFree86-3.3.5-17 spec file contains
and the file is included in the XFree86-3.3.5-17 base package.
Editing the file /etc/X11/xdm/Xsetup_0 changes the MD5 sum.
In pinstripe, the file has been moved to the xinitrc-2.9.7-1 and is marked
Because the file is modified (i.e. MD5 sum has changed), the removal (from
upgrading) of the
XFree86 package has a file resolution of backup (i.e. save copy of file with
The install of xinitrc has a file resolution of skip (if the file is modified)
or create (if the file is unmodified).
OK, given all the above, what would you like the behavior of rpm to be wrto the
of /etc/X11/xdm/Xsetup_0 when upgrading from Red Hat 6.1 to pinstripe?
you wish the existing contents to be left in place (i.e. removal of XFree86
of file as skip, not backup) while the new contents should be saved with
(i.e. install of xinitrc should dispose of file as altname).
There is no way to get this functionality into rpm-4.0, as the changes will be
at least as complicated
as the description above.
Upgrading from Red Hat 6.2 to pinstripe using rpm-4.0 and minimal necessary
set, the file disposition of a modified /etc/X11/xdm/Xsetup_0 is
XFree86-* removal: file is marked backup (i.e. rename with extension .rpmsave)
xinitrc-* install file is marked altname (i.e. new contents installed
with .rpmnew extension)
This is not perfect (read: the file should not have been renamed but rather left
in place) but
is exactly the behavior expected from rpm's %config handling as currently