Bug 376746

Summary: FF3b4's plugins dissappear when reboot.
Product: [openSUSE] openSUSE 11.0 Reporter: Robby Verberne <monkey9>
Component: FirefoxAssignee: Michael Wolf <maw>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: edwin, Joachim.Reichelt, pilotgi
Version: Factory   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE 11.0   
Whiteboard: fixed_bs
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Robby Verberne 2008-04-03 12:41:24 UTC
The 3 installed plugins dissappear when the system has been rebooted.
Only restart desktop leaves them intact.
After rebooting they don't come back.
Comment 1 Wolfgang Rosenauer 2008-04-03 15:56:56 UTC
Could you please elaborate a bit more?
What type of plugins?
Comment 2 Robby Verberne 2008-04-03 16:13:24 UTC
The default installed plugins are: NPAPI Pluginswrapper, OpenSC Signer plugin, and Shockwave Flash (Gnash)

This is very strange behaviour, and not stable.
There are few bugs mixed together, so it seems.
If you would take a look at the snapshots in bug:
https://bugzilla.novell.com/show_bug.cgi?id=376196
You will know as much as i do.
The plugins come and go.
I updated the kde pluginsupport just today, and the plugins are present now in this user, but i don't know if it has anything to do with it.
Comment 3 Robby Verberne 2008-04-07 11:52:45 UTC
I had to reinstall, unfixable yast2 and rpm-data-base trouble.
Anyway, 3b5 is installed, but no plugin shows.

oddball@AMD64x2-sfn1:~> sudo zypper in gnash
root's password:
* Downloading repository 'KDE4-stable-community' metadata.
* Cache van bron 'KDE4-stable-community' bouwen
| Downloading repository 'KDE4-stable-community' metadata.Reading installed packages...
skipping pakket 'gnash' (the newest version already installed)
Niets te doen.
oddball@AMD64x2-sfn1:~>
Comment 4 Robby Verberne 2008-04-08 19:00:11 UTC
OS:  Linux 2.6.25-rc8-12-default x86_64
  Current user:  oddball@AMD64x2-sfn1
  System:  openSUSE 11.0 (x86_64) Alpha3
  KDE:  4.00.68 (KDE 4.0.68 >= 20080402) "release 3.1"

All plugins are gone, to stay away, from all users.
Comment 5 Robby Verberne 2008-04-08 19:04:08 UTC
after todays update, and restart ff, opensc signer plugin, and shockwave flash are back.
Comment 6 Robby Verberne 2008-04-12 18:30:06 UTC
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9b5) Gecko/2008032600 SUSE/2.9.95-2 Firefox/3.0b5

Happened again :(  All gone again.

OS:  Linux 2.6.25-rc8-12-default x86_64
  Current user:  oddball@AMD64x2-sfn1
  System:  openSUSE 11.0 (x86_64) Alpha3
  KDE:  4.00.68 (KDE 4.0.68 >= 20080402) "release 6.4"
Comment 7 Robby Verberne 2008-04-12 18:31:10 UTC
Hope you now know why..?
Comment 8 Robby Verberne 2008-04-18 13:45:35 UTC
Besturingssysteem:  Linux 2.6.25-rc9-16-default x86_64
  Current user:  oddball@AMD64x2-sfn1
  System:  openSUSE 11.0 (x86_64) Beta1
  KDE:  4.00.69 (KDE 4.0.69 >= 20080410) "release 2.8"

Still no plugins.
Comment 9 Robby Verberne 2008-04-22 10:35:25 UTC
2008-04-22 11:09:10 nspluginwrapper-0.9.91.5.99.20071225-7.x86_64.rpm is met succes geïnstalleerd
Aanvullende rpm-uitvoer:
*** NSPlugin Viewer  *** ERROR: /usr/lib64/browser-plugins/opensc-signer.so: wrong ELF class: ELFCLASS64
*** NSPlugin Viewer  *** ERROR: /usr/lib64/browser-plugins/libgnashplugin.so: wrong ELF class: ELFCLASS64
*** NSPlugin Viewer  *** ERROR: /usr/lib64/browser-plugins/opensc-signer.so: wrong ELF class: ELFCLASS64
*** NSPlugin Viewer  *** ERROR: /usr/lib64/browser-plugins/libgnashplugin.so: wrong ELF class: ELFCLASS64

Comment 10 Robby Verberne 2008-04-22 10:38:10 UTC
2008-04-22 11:30:24
Aanvullende rpm-uitvoer:
*** NSPlugin Viewer  *** ERROR: /usr/lib64/browser-plugins/opensc-signer.so: wrong ELF class: ELFCLASS64
*** NSPlugin Viewer  *** ERROR: /usr/lib64/browser-plugins/libgnashplugin.so: wrong ELF class: ELFCLASS64
Comment 11 Robby Verberne 2008-04-22 10:40:51 UTC
Besturingssysteem:  Linux 2.6.25-rc9-17-default x86_64
  Current user:  oddball@AMD64x2-sfn1
  System:  openSUSE 11.0 (x86_64) Beta1
  KDE:  4.0.3 (KDE 4.0.3) "release 17.1"
Comment 12 Robby Verberne 2008-04-28 19:09:41 UTC
Besturingssysteem:  Linux 2.6.25-19-default x86_64
  Current user:  oddball@AMD64x2-sfn1
  System:  openSUSE 11.0 (x86_64) Beta2
  KDE:  4.0.3 (KDE 4.0.3) "release 18.2"

still no plugins...
Comment 13 Edwin Boersma 2008-05-22 11:00:40 UTC
I found that in some occasions, the firefox BINARY (/usr/lib/firefox/firefox) is called, instead of the script (/usr/lib/firefox/firefox.sh), which sets the environment for the plugins. /usr/bin/firefox is symlinked to the script, so that is good.

But in which occasions? At least I found one: at startup, if Firefox was open at logout. Looking in ~/.kde4/share/config/ksmserverrc, I see:

program7=firefox
restartCommand7=/usr/lib/firefox/firefox, ......

which causes this behaviour.

I think, that the firefox binary should call the script in case it is called directly. That would solve this.
Comment 14 Wolfgang Rosenauer 2008-05-22 11:46:00 UTC
Thanks for the analysis. So it's connected to session restore of the desktop environment (or window manager).
So you are actually using KDE 3.x, right?
Comment 15 kevin vandeventer 2008-05-31 19:42:05 UTC
I'm using openSUSE 11.0 RC 1 KDE 4 and just noticed this behavior with the default Firefox3 Beta 5. If I log out from KDE and then log back in, all the plugins are missing. I have to reboot to get them back. 

I installed Firefox3 RC1 and copied all the plugins into the Firefox plugins folder. I was able to logout and back in without losing the plugins. 
Comment 16 kevin vandeventer 2008-06-04 22:53:35 UTC
I can confirm that this happens randomly as mention in comment #13, I can't reproduce it every time. This doesn't happen at all with Firefox RC1, although that may be because the plugins and firefox shell script are in a different directory than the default install of Firefox in 11.0 RC1. 
Comment 17 Wolfgang Rosenauer 2008-06-05 06:35:53 UTC
We found the plugin issue occurs when Firefox is started from the session management (when it's automatically started from the desktop environment).
Has anybody noticed this behaviour in other occassions?

Otherwise bug 396552 is a dupe of this and fixed in the OBS package. Please try that.
Comment 18 Robby Verberne 2008-06-05 07:36:48 UTC
(In reply to comment #17 from Wolfgang Rosenauer)
> We found the plugin issue occurs when Firefox is started from the session
> management (when it's automatically started from the desktop environment).
> Has anybody noticed this behaviour in other occassions?
> 
> Otherwise bug 396552 is a dupe of this and fixed in the OBS package. Please try
> that.
> 

I can confirm, that when FF is started from sessionmanagement, there are no plugins.
If shut down and started from an icon or other command, the plugins are present.

bug 396552 is a dup of this behaviour.
Comment 19 Wolfgang Rosenauer 2008-06-05 08:18:08 UTC
*** Bug 396552 has been marked as a duplicate of this bug. ***
Comment 20 Wolfgang Rosenauer 2008-06-05 15:20:36 UTC
Fixed with upcoming FF 3.0
Comment 21 Robby Verberne 2008-06-08 19:10:54 UTC
Mozilla/5.0 (X11; U; Linux x86_64; nl; rv:1.9.0) Gecko/2008060300 SUSE/3.0-7.1 Firefox/3.0
from obs works as it should, as i now can confirm after 3 days of use.
Comment 22 Robby Verberne 2008-06-10 06:14:11 UTC
I will close this bug: PLugins stay, whatever is done;)