[Mageia-dev] [RFC] nspluginwrapper should exclude native x86_64 plugins from wrapping

Florian Hubold doktor5000 at arcor.de
Wed Oct 12 12:39:14 CEST 2011


Am 12.10.2011 12:29, schrieb Pascal Terjan:
> On Wed, Oct 12, 2011 at 11:24, Florian Hubold<doktor5000 at arcor.de>  wrote:
>> Hey there,
>>
>> currently nspluginwrapper tries to wrap x86_64 plugins (like native x86_64
>> flash player plugin), but there is only i386 npviewer which is needed to run
>> the plugins.
> I'm quite sure we used to have the x86-64 version too
Well, seems not from looking at the history of our nspluginwrapper. Also seems 
Mandrivas SVN history
got wiped out and so we can only look in changelog, nothing obvious about 
x86_64 npviewer there.
Do you have any links?

>> You can see the problem from the following output, which are a
>> more verbose form of the scripts run through nspluginwrapper filetrigger:
>>
>> $ nspluginwrapper -v -i /usr/lib64/mozilla/plugins/libflashplayer.so
>> *** NSPlugin Viewer  *** ERROR:
>> /usr/lib64/mozilla/plugins/libflashplayer.so: wrong ELF class: ELFCLASS64
>> nspluginwrapper: no appropriate viewer found for
>> /usr/lib64/mozilla/plugins/libflashplayer.so
>>
>> In my and Anssi's opinion, nspluginwrapper.script (from nspluginwrapper
>> filetrigger,
>> http://svnweb.mageia.org/packages/cauldron/nspluginwrapper/current/SOURCES/nspluginwrapper.script?view=markup
>> ) should be modified by excluding /usr/lib64. BTW the scripts run during is
>> nspluginwrapper installation/removal get it right by only using /usr/lib:
>> http://svnweb.mageia.org/packages/cauldron/nspluginwrapper/current/SPECS/nspluginwrapper.spec?view=markup
>> Anybody more knowledgeable on nspluginwrapper care to share his opinion, or
>> are there other reasons for objections?
> It used to be a good way to separate plugin execution into another
> process which is good for security/stability but browsers include that
> feature now
>
>> Also are there good reasons to still use nspluginwraper for flash player at
>> all, as all current browser support out-of-thread execution of plugins and
>> flash-player-plugin is available as native i586 and x86_64 plugins?
> Indeed it is now less useful
Can i take that as +1 to exclude flash-player-plugin from wrapping?


More information about the Mageia-dev mailing list