Bug 457531 - Noisy %post from mugshot
Summary: Noisy %post from mugshot
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mugshot
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-01 11:54 UTC by Jesse Keating
Modified: 2013-01-10 03:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-14 16:40:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2008-08-01 11:54:14 UTC
When mugshot gets upgraded, the %post is noisy.  It tries to delete a file but
won't squash the error output:

  Updating       : mugshot                                         [ 9/42] 
rm: cannot remove `/usr/lib64/mozilla/extensions/firefox': No such
file or directory

This was in the last updates(-testing) set for Fedora 9

Comment 1 Owen Taylor 2008-08-01 17:44:01 UTC
Can you take a look at this Colin - I don't understand the changes you've
made to firefox-update.sh, and that's what is causing the issue.

    for libdir in /usr/lib /usr/lib64 ; do
    [... old stuff ... ]
     done

+    if [ -d $libdir/mozilla/extensions ]; then
+        rm $libdir/mozilla/extensions/$EXT_ID
+    fi

libdir has the leftover value of lib64 here. (Which is why the warning
only triggers on x86_64.) But you are actually
installing the plugin into:

 $(libdir)/mozilla/extensions/$(FIREFOX_APPID)/$(EXTENSION_ID)

Now, right? So I'm not sure why handling for a symlink at:
 
 /usr/lib64/mozilla/extensions/firefox
 
Was added at all.


Comment 2 Colin Walters 2008-08-01 18:26:08 UTC
Hmm...yes, it doesn't look like the symlink changes from SVN r7221 were needed
now that we have the global install directory, and I'm not sure why I added them.

I think we can just remove the entire firefox-update.sh call from %postun now.



Comment 3 Owen Taylor 2008-08-04 16:22:32 UTC
I've reverted the firefox-update.sh changes from r7221 in svn.

I think we should leave the call to firefox-update.sh there at least
until Fedora 8 becomes unsupported, otherwise F8 => F[9,10] upgrades
will leave the symlinks, since we've never pushed a new mugshot
for F8. (I *think* that Firefox 3.0 was pushed for F8, though I haven't
checked.)

Comment 4 Bug Zapper 2009-06-10 02:20:51 UTC
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Bug Zapper 2009-07-14 16:40:56 UTC
Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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