Fedora Linux Support Community & Resources Center
  #151  
Old 21st September 2009, 02:11 PM
Panoz Offline
Registered User
 
Join Date: Jul 2009
Posts: 66
linuxopera
Quote:
Originally Posted by domg472 View Post
That is because of the way that SELinux restricts nsplugin and this can be worked around by setsebool allow_nsplugin_execmem on (not recommended)

If you do not use nsplugin, than browser plugins are executed with the users" DAC and MAC privileges. Browse to a malicious site and risk that some plugin messes with your files/processes.

If you use nsplugin than browser plugins operate with separate MAC permissions which allows you to restrict browser plugins, for example restrict browser plugins from deleting user home content or from running programs with the user privileges, disallow network access for browser plugins etc.

Since broswer plugins like flash aren't exactly trustworthy i recommend that nsplugin be installed, SELinux enabled and both be configured properly.
Hi! To tell you the truth I didn't understand a thing from what you said.

SELinux is disabled on my system. How comes it helps not having my browser crushed when it is not working at all?!?!?
__________________
Disc space -- the final frontier!
Reply With Quote
  #152  
Old 28th September 2009, 12:14 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
I have added chromium-browser support to flash-plugin-10.0.32.18-2.x86_64.rpm, it should be in the repo within the next hour.
Reply With Quote
  #153  
Old 28th September 2009, 01:43 PM
Panoz Offline
Registered User
 
Join Date: Jul 2009
Posts: 66
linuxopera
Leigh, can you please elaborate? Do we have to remove the:

Code:
> ls -al /usr/lib64/chromium-browser/plugins/libflashplayer.so
lrwxrwxrwx 1 root root 41 2009-09-14 11:28 /usr/lib64/chromium-browser/plugins/libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so
Will it be overwritten or the package does something different?
__________________
Disc space -- the final frontier!
Reply With Quote
  #154  
Old 28th September 2009, 02:49 PM
leigh123linux
Guest
 
Posts: n/a
linuxfedorafirefox
Quote:
Originally Posted by Panoz View Post
Leigh, can you please elaborate? Do we have to remove the:

Code:
> ls -al /usr/lib64/chromium-browser/plugins/libflashplayer.so
lrwxrwxrwx 1 root root 41 2009-09-14 11:28 /usr/lib64/chromium-browser/plugins/libflashplayer.so -> /usr/lib64/flash-plugin/libflashplayer.so
Will it be overwritten or the package does something different?

I believe it will delete and redo the symlink.


Here's the script that it runs when installing/updating or deleting.



Code:
#!/bin/bash

# These are the standard browser locations as found within Red Hat, Mandrake
# and SuSE Linux, and the tarball installers.
LOCATIONS="/usr/lib64/mozilla /usr/lib64/mozilla-* /usr/lib64/firefox-* /usr/lib64/seamonkey-* /usr/lib64/netscape /usr/lib64/chromium-browser /usr/lib/opera /usr/lib64/firefox /usr/local/netscape /usr/local/mozilla /usr/local/firefox /usr/local/seamonkey /opt/mozilla /opt/netscape /opt/firefox /opt/seamonkey" 

deleteold() {
# Detect, Backup and Delete old global Flash plugins
# Old plugin files are saved in /root/oldflashplugins.tar.gz
# tar and gzip must be installed
if [ ! -f /root/oldflashplugins.tar.gz ]; then
    FILES="libflashplayer.so ShockwaveFlash.class flashplayer.xpt libgnashplugin.so"
    for DIR in $LOCATIONS
    do
        # Skip symlinks
        if [ -h $DIR ]; then continue; fi

        for F in $FILES
        do
            # Add old plugin files to backup and delete lists
            if [ -f $DIR/plugins/$F ]
            then
                BACKUPLIST="$BACKUPLIST $DIR/plugins/$F"
                DELETELIST="$DELETELIST $DIR/plugins/$F"
            fi
            # Add symbolic links to the delete list
            if [ -h $DIR/plugins/$F ]
            then
                DELETELIST="$DELETELIST $DIR/plugins/$F"
            fi
        done
    done

    # Backup and Delete files if delete list contains files.
    if [ "x$DELETELIST" != "x" ]
    then
        # If tar is available, backup files
        tar --version >& /dev/null
        if [ $? -eq 0 ]; then
            tar cfz /root/oldflashplugins.tar.gz $BACKUPLIST >& /dev/null
            rm -f $DELETELIST
            echo 
            echo "NOTICE:"
            echo "Files belonging to older Flash plugins have been removed from the filesystem.  For your safety these files have been saved in /root/oldflashplugins.tar.gz.  You may remove this tarball if these files are no longer required."
        else
            echo
            echo "Error: tar is unavailable."
            echo "Unable to backup old Flash plugin files.  They were deleted in order to prevent conflicts." 
        fi
    fi
fi


# Remove /etc/flash.license as it is not used anymore
[ -f /etc/flash.license ] && rm -f /etc/flash.license
}

detectbrowsers() {
# Detect Mozilla plugin compatible browsers
for DIR in $LOCATIONS
do
    # Skip symlinks
    if [ -h $DIR ]; then continue; fi
    if [ -d $DIR/plugins ]; then export LIST="$LIST $DIR"; fi
done
}

link() {
# Link Mozilla plugin compatible browsers
for DIR in $LIST
do
    ln -sf /usr/lib64/flash-plugin/libflashplayer.so $DIR/plugins/libflashplayer.so
done
}

deletelinks() {
# Delete symlinks
# Remove Mozilla plugin compatible browsers
for DIR in $LIST
do
    rm -f $DIR/plugins/libflashplayer.so
done
}

#=======================
# Main Section
#=======================
# Pre-Uninstall
if [ "$1" = "preun" ]; then
    detectbrowsers
    deletelinks
    exit 0
fi

# Installation
if [ "$1" = "install" ]; then
    deleteold
    detectbrowsers
    link
    exit 0
fi

# Upgrade
if [ "$1" = "upgrade" ]; then
    detectbrowsers
    link
    exit 0
fi

# Manual Setup

detectbrowsers
link
Reply With Quote
  #155  
Old 29th September 2009, 07:16 AM
Panoz Offline
Registered User
 
Join Date: Jul 2009
Posts: 66
linuxopera
Awesome! Thank you very much and keep up the good work
__________________
Disc space -- the final frontier!
Reply With Quote
  #156  
Old 30th September 2009, 02:37 AM
pgar23 Offline
Registered User
 
Join Date: Jan 2009
Location: VA
Posts: 47
linuxfedorafirefox
Hey leigh,
I appreciate your code for this update man. great job but I am receiving an error when running


[root@python pgar23]# cd /etc/yum.repos.d/
[root@python yum.repos.d]# curl -O http://www.dfm.uninsubria.it/compiz/..._64/flash.repo

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
172 172 172 172 0 0 15 0 0:00:11 0:00:10 0:00:01 1011
[root@python yum.repos.d]#
[root@python yum.repos.d]# rpm --import http://www.dfm.uninsubria.it/compiz/...-leigh123linux
[root@python yum.repos.d]# yum install flash-plugin
Loaded plugins: dellsysidplugin2, refresh-packagekit
flash | 2.3 kB 00:00
flash/primary_db | 3.3 kB 00:00
Setting up Install Process
No package flash-plugin available.
Nothing to do
[root@python yum.repos.d]#

Last edited by pgar23; 30th September 2009 at 02:48 AM.
Reply With Quote
  #157  
Old 30th September 2009, 03:11 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
do you actually have his repo installed?

do this
Code:
yum repolist
Code:
su
yum erase flash-plugin nspluginwrapper* 
cd /etc/yum.repos.d/
curl -O http://www.dfm.uninsubria.it/compiz/fusion-testing/flashplayer.x86_64/flash.repo
rpm --import http://www.dfm.uninsubria.it/compiz/fusion-testing/flashplayer.x86_64/RPM-GPG-KEY-leigh123linux
yum install flash-plugin

Last edited by Demz; 30th September 2009 at 03:14 AM.
Reply With Quote
  #158  
Old 30th September 2009, 03:15 AM
pgar23 Offline
Registered User
 
Join Date: Jan 2009
Location: VA
Posts: 47
linuxfedorafirefox
Quote:
Originally Posted by Demz View Post
do you actually have his repo installed?

do this
Code:
yum repolist

Yes I do..I think?!?!
Code:
[root@python pgar23]# yum repolist
Loaded plugins: dellsysidplugin2, refresh-packagekit
repo id                   repo name                              status
fedora                    Fedora 11 - i386                       enabled: 13,289
flash                     flash                                  enabled:      1
rpmfusion-free            RPM Fusion for Fedora 11 - Free        enabled:    377
rpmfusion-free-updates    RPM Fusion for Fedora 11 - Free - Upda enabled:    553
rpmfusion-nonfree         RPM Fusion for Fedora 11 - Nonfree     enabled:    110
rpmfusion-nonfree-updates RPM Fusion for Fedora 11 - Nonfree - U enabled:    326
updates                   Fedora 11 - i386 - Updates             enabled:  5,507repolist: 20,163
Reply With Quote
  #159  
Old 30th September 2009, 03:22 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
no, you dont have his repo though im not sure, that Flash one there might be his,
Reply With Quote
  #160  
Old 30th September 2009, 03:24 AM
pgar23 Offline
Registered User
 
Join Date: Jan 2009
Location: VA
Posts: 47
linuxfedorafirefox
How can you tell and how do I get his repo?
Reply With Quote
  #161  
Old 30th September 2009, 03:25 AM
robatino Offline
Registered User
 
Join Date: Feb 2004
Posts: 849
linuxfedorafirefox
Quote:
Originally Posted by Demz View Post
no, you dont have his repo though im not sure, that Flash one there might be his,
pgar23 has exactly what I have and it works for me. Maybe a "yum clean metadata" and then "yum install flash-plugin" again?
Reply With Quote
  #162  
Old 30th September 2009, 03:30 AM
Demz
Guest
 
Posts: n/a
windows_98_nt_2000firefox
maybe try that but he may need to install this without that flash maynot install
Reply With Quote
  #163  
Old 30th September 2009, 03:33 AM
robatino Offline
Registered User
 
Join Date: Feb 2004
Posts: 849
linuxfedorafirefox
pgar23 already did that, and in any case it wouldn't cause the "No package flash-plugin available." error.

Edit: pgar23, can you download the file

http://www.dfm.uninsubria.it/compiz/...8-2.x86_64.rpm

directly? If so you can install it with rpm, or use "yum localinstall flash-plugin-10.0.32.18-2.x86_64.rpm" after downloading.

Last edited by robatino; 30th September 2009 at 03:38 AM.
Reply With Quote
  #164  
Old 30th September 2009, 04:32 AM
pgar23 Offline
Registered User
 
Join Date: Jan 2009
Location: VA
Posts: 47
linuxfedorafirefox
Quote:
Originally Posted by robatino View Post
pgar23 has exactly what I have and it works for me. Maybe a "yum clean metadata" and then "yum install flash-plugin" again?
RESULTS:

Code:
[root@python pgar23]# yum install flash-plugin
Loaded plugins: dellsysidplugin2, refresh-packagekit
fedora/metalink                                          |  18 kB     00:00     
fedora                                                   | 3.8 kB     00:00     
fedora/primary_db                                        | 8.4 MB     00:44     
flash                                                    | 2.3 kB     00:00     
flash/primary_db                                         | 3.3 kB     00:00     
rpmfusion-free                                           | 3.3 kB     00:00     
rpmfusion-free/primary_db                                | 276 kB     00:00     
rpmfusion-free-updates                                   | 3.8 kB     00:00     
rpmfusion-free-updates/primary_db                        | 269 kB     00:00     
rpmfusion-nonfree                                        | 3.3 kB     00:00     
rpmfusion-nonfree/primary_db                             |  77 kB     00:00     
rpmfusion-nonfree-updates                                | 3.8 kB     00:00     
rpmfusion-nonfree-updates/primary_db                     | 112 kB     00:00     
updates/metalink                                         |  11 kB     00:00     
updates                                                  | 4.4 kB     00:00     
updates/primary_db                                       | 3.9 MB     00:19     
Setting up Install Process
No package flash-plugin available.
Nothing to do
[root@python pgar23]#
Reply With Quote
  #165  
Old 30th September 2009, 07:15 AM
Panoz Offline
Registered User
 
Join Date: Jul 2009
Posts: 66
linuxopera
pgar23 your system response is correct. There is no flash-plugin.i386 available. Only the flash-plugin.x86_64, which is not applicable for your 32bit system.

Please go to adobe's site and install the adobe's repository for 32bit systems. You won't find anything useful on this x86 64-bit subforum for your system
__________________
Disc space -- the final frontier!
Reply With Quote
Reply

Tags
flashpluginx8664rpm, obsolete

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New x86_64 adobe flash plugin (alpha) G3R Using Fedora 53 10th November 2011 02:12 AM
flash-player plugin for x86_64? legumes Using Fedora 4 21st September 2011 11:24 PM
F11 x86_64, Firefox 3.5, flash-plugin i386, mozilla-plugin-config bongoman Using Fedora 21 30th July 2009 02:58 AM
Opera and Flash-Plugin on Fedora x86_64 Keldorn Using Fedora 0 6th July 2008 05:40 PM
Woohooo Flash + Plugin For X86_64 In A While !!! Knudson Using Fedora 1 16th January 2006 11:32 AM


Current GMT-time: 11:22 (Monday, 22-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Autodromo Internacional Nelson Piquet - @south Extension Part -2 Photos on Instagram - Glenhaven, New South Wales, Australia Instagram Photos