Bug 164682

Summary: Handbook contains wrong information about Flash players
Product: Documentation Reporter: amvandemore
Component: Books & ArticlesAssignee: Glen Barber <gjb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description amvandemore 2012-02-01 04:20:09 UTC
http://www.freebsd.org/doc/handbook/desktop-browsers.html 

This page contains the following section:
-----------------------------------------------------------
The Linux® process file system, linprocfs(5) has to be mounted on /compat/linux/proc, if one wants to play Flash animations. This can be done via the following command:

# mount -t linprocfs linproc /compat/linux/proc

This point can be automated at boot time with the addition of the matching line in /etc/fstab:

linproc	/compat/linux/proc	linprocfs	rw	0	0
-----------------------------------------------------------

This information doesn't seem to be necessary as Flash plays fine without it mounted.  If it isn't necessary, it's a potential security threat.

Fix: 

Remove the unneeded text:

The Linux® process file system, linprocfs(5) has to be mounted on /compat/linux/proc, if one wants to play Flash animations. This can be done via the following command:

# mount -t linprocfs linproc /compat/linux/proc

This point can be automated at boot time with the addition of the matching line in /etc/fstab:

linproc	/compat/linux/proc	linprocfs	rw	0	0
How-To-Repeat: Use flash player without linprocfs mounted.
Comment 1 Glen Barber freebsd_committer freebsd_triage 2012-02-01 04:29:38 UTC
On Wed, Feb 01, 2012 at 04:16:02AM +0000, Adam VandeMore wrote:
> This page contains the following section:
> -----------------------------------------------------------
> The Linux® process file system, linprocfs(5) has to be mounted on /compat/linux/proc, if one wants to play Flash animations. This can be done via the following command:
> 
> # mount -t linprocfs linproc /compat/linux/proc
> 
> This point can be automated at boot time with the addition of the matching line in /etc/fstab:
> 
> linproc	/compat/linux/proc	linprocfs	rw	0	0
> -----------------------------------------------------------
> 
> This information doesn't seem to be necessary as Flash plays fine without it mounted.  If it isn't necessary, it's a potential security threat.  
> >How-To-Repeat:
> Use flash player without linprocfs mounted.
> >Fix:
> Remove the unneeded text:
> 
> The Linux® process file system, linprocfs(5) has to be mounted on /compat/linux/proc, if one wants to play Flash animations. This can be done via the following command:
> 
> # mount -t linprocfs linproc /compat/linux/proc
> 
> This point can be automated at boot time with the addition of the matching line in /etc/fstab:
> 
> linproc	/compat/linux/proc	linprocfs	rw	0	0
> 


I believe this is still true for FreeBSD 7.x, with the Flash plugin that
is available in Ports.  If this is not the case, I'd be happy to adjust
this Handbook entry to match reality, or otherwise note that it is
FreeBSD 7.x-specific.

Glen
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-06-10 16:26:46 UTC
Author: gjb
Date: Sun Jun 10 15:26:31 2012
New Revision: 39018
URL: http://svn.freebsd.org/changeset/doc/39018

Log:
  As far as I can tell, linprocfs(5) is no longer required for proper
  functionality of the Flash plugin within Firefox.  I do not know when
  this changed, nor what changed (i.e., if this is a Firefox change or
  not).
  
  Remove recommendation to ensure linprocfs is mounted, as a result.
  
  PR:		164682
  Submitted by:	Adam VandeMore (amvandemore*gmail!com)
  Reminded by:	issyl0

Modified:
  head/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml

Modified: head/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml	Sun Jun 10 14:18:38 2012	(r39017)
+++ head/en_US.ISO8859-1/books/handbook/desktop/chapter.sgml	Sun Jun 10 15:26:31 2012	(r39018)
@@ -308,20 +308,6 @@
 
       <screen>&prompt.user; <userinput>nspluginwrapper -v -a -i</userinput></screen>
 
-      <para>The &linux; process file system, &man.linprocfs.5; has to
-	be mounted on <filename
-	class="directory">/compat/linux/proc</filename>, if one
-	wants to play &flash; animations.  This can be done via the
-	following command:</para>
-
-      <screen>&prompt.root; <userinput>mount -t linprocfs linproc /compat/linux/proc</userinput></screen>
-
-      <para>This point can be automated at boot time with the addition
-	of the matching line in
-	<filename>/etc/fstab</filename>:</para>
-
-      <programlisting>linproc	/compat/linux/proc	linprocfs	rw	0	0</programlisting>
-
       <para>Then, start your browser, enter
 	<literal>about:plugins</literal> in the location bar and press
 	<keycap>Enter</keycap>.
_______________________________________________
svn-doc-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "svn-doc-all-unsubscribe@freebsd.org"
Comment 3 Glen Barber freebsd_committer freebsd_triage 2012-06-10 16:26:47 UTC
State Changed
From-To: open->closed

Change has been committed.  Sorry for the delay. 



Comment 4 Glen Barber freebsd_committer freebsd_triage 2012-06-10 16:26:47 UTC
Responsible Changed
From-To: freebsd-doc->gjb

Take.