 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

21st September 2009, 02:11 PM
|
 |
Registered User
|
|
Join Date: Jul 2009
Posts: 66

|
|
Quote:
Originally Posted by domg472
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!
|

28th September 2009, 12:14 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
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.
|

28th September 2009, 01:43 PM
|
 |
Registered User
|
|
Join Date: Jul 2009
Posts: 66

|
|
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!
|

28th September 2009, 02:49 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
Quote:
Originally Posted by Panoz
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
|

29th September 2009, 07:16 AM
|
 |
Registered User
|
|
Join Date: Jul 2009
Posts: 66

|
|
Awesome! Thank you very much and keep up the good work
__________________
Disc space -- the final frontier!
|

30th September 2009, 02:37 AM
|
 |
Registered User
|
|
Join Date: Jan 2009
Location: VA
Posts: 47

|
|
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.
|

30th September 2009, 03:11 AM
|
|
Guest
|
|
Posts: n/a

|
|
do you actually have his repo installed?
do this
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.
|

30th September 2009, 03:15 AM
|
 |
Registered User
|
|
Join Date: Jan 2009
Location: VA
Posts: 47

|
|
Quote:
Originally Posted by Demz
do you actually have his repo installed?
do this
|
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
|

30th September 2009, 03:22 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
no, you dont have his repo though im not sure, that Flash one there might be his,
|

30th September 2009, 03:24 AM
|
 |
Registered User
|
|
Join Date: Jan 2009
Location: VA
Posts: 47

|
|
|
How can you tell and how do I get his repo?
|

30th September 2009, 03:25 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 845

|
|
Quote:
Originally Posted by Demz
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?
|

30th September 2009, 03:30 AM
|
|
Guest
|
|
Posts: n/a

|
|
maybe try that but he may need to install this without that flash maynot install
|

30th September 2009, 03:33 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 845

|
|
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.
|

30th September 2009, 04:32 AM
|
 |
Registered User
|
|
Join Date: Jan 2009
Location: VA
Posts: 47

|
|
Quote:
Originally Posted by robatino
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]#
|

30th September 2009, 07:15 AM
|
 |
Registered User
|
|
Join Date: Jul 2009
Posts: 66

|
|
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!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 08:01 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|