Red Hat Bugzilla – Bug 1000674
orphan symlink /usr/lib64/mozilla/plugins/libflashplayer.so not under rpm control
Last modified: 2013-08-24 13:23:48 EDT
Description of problem:
After installing Adobe Flash and then Seamonkey, a symlink is created for the libflasplayer.so library.
After uninstalling Seamonkey (and the dependencies), this link and the parent directories are left behind.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. follow http://fedoraproject.org/wiki/Flash#x86_64_.2864-bit.29
2. yum install seamonkey
3. rpm -qf /usr/lib64/mozilla/plugins/libflashplayer.so
4. yum remove mozilla-filesystem
5. ls -l /usr/lib64/mozilla/plugins/
3. file /usr/lib64/mozilla/plugins/libflashplayer.so is not owned by any package
5. lrwxrwxrwx. 1 root root 41 24. srp 08.09 libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so
5. ls: cannot access /usr/lib64/mozilla/plugins: No such file or directory
I really do not know how the link gets created - I see nothing relevant in package scripts ...
> After uninstalling Seamonkey (and the dependencies), this link and the parent directories are left behind.
Because the symlink might be useful for other browser software, using the same "common" /usr/lib64/mozilla/plugins directory, ie. firefox, opera.
The symlink is created by flash-plugin package, either by pre/post install scriptlet, or by triggers. In the case you describe it is by "triggerin" scriptlet:
$ rpm -q --triggers flash-plugin
triggerin scriptlet (using /bin/sh) -- firefox, mozilla, opera, seamonkey
But there is no "triggerun" scriptlet, hence nothing is done by flash-plugin when some of these packages are removed/updated.
Moreover, authors of the flash-plugin (Adobe?) do not provide a Fedora-specific package and know nothing about the fact that /usr/lib64/mozilla directory is owned by "mozilla-filesystem" special package (hence it looks like they should use "mozilla-filesystem" instead of the browser list in the trigger scriptlet etc.)
But anyway, flash-plugin is a proprietary software and not a part of Fedora. Lets leave things as is...