https://qa.mandrakesoft.com/show_bug.cgi?id=844

           Product: gurpmi
         Component: gurpmi
           Summary: ?need to run rpm post-install script after choosing
                    .rpmnew file?
           Version: 4.2-6mdk
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If a package is installed via rpmdrake, and a config file is changed, so that a
.rpmnew file is created, the user is prompted (I think by gurpmi?) with the
option to use the .rpmnew file, the original, and to compare differences.

This is really nice.

But the rpm is alerady installed at that point.  If the rpm had to run programs
after installation - e.g. a server, or generate fils - this was done using the
old config file.

Example - if /etc/fonts/fonts.conf changes in an update, the font cache will be
rebuilt using the old /etc/fonts/fonts..conf before the user is prompted, and
after selecting .rpmnew the font cache and the conf file are out of sync,
possibly causing slow startup or incorrect behaviour for some programs.

There are other examples of course, e.g. if apache.conf is changed.

I'm wondering if it'd be possible to integrate rpm & gurpmi a little further,
and have the rpm post-install stuff done *after* the user has decided?  Or if
this even makes sense?  Just a thought, I've marked it "minor".



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to