LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-10-2011, 05:55 AM   #1
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Rep: Reputation: 16
Keeping up with Firefox


Hello, everyone.

I start playing with Slackware and I am amazed about its endless possibilities.

There is a security advisory for Firefox and 4.0.1 must be installed.
Do I need to compile my own FF 4.0.1 build?

Or, instead of inventing the wheel, could Slackware's Firefox 4.0.1 package be pulled from somewhere?

Sorry, if my question sounds naive, just trying to get to the point and catch up with security issues.

Thanks in advance.


M.
 
Old 05-10-2011, 06:03 AM   #2
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
Just comment out the appropriate mirror in /etc/slackpkg/mirrors. Then as root do "slackpkg update" and "slackpkg upgrade-all". This will provide you with all the security updates
 
1 members found this post helpful.
Old 05-10-2011, 06:45 AM   #3
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Original Poster
Rep: Reputation: 16
Red face Wow, I was getting a nuke to blow the open door.

Thanks!
I previously got some obsolete info about Slackware
Quote:
so all installation, upgrade and removal tasks continue to be performed with pkgtools, a set of very simple scripts that haven't changed much in years.
and naturally, no repositories.

Everything is fine now.

Thanks again!
 
Old 05-10-2011, 06:55 AM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
It is quite rare, but, on occasion new packages are introduced to the stable branch of Slackware. I generally run these commands when updating my Slackware boxes.

# slackpkg update

# slackpkg install-new

# slackpkg upgrade-all

This is a good guide on how to use slackpkg: slackpkg

Last edited by hitest; 05-10-2011 at 06:56 AM.
 
2 members found this post helpful.
Old 05-10-2011, 07:01 AM   #5
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Original Poster
Rep: Reputation: 16
Thanks, hitest!
 
Old 05-10-2011, 07:03 AM   #6
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
As much as you should definitely be updating security patches with the details hitest gives, I personally allow Firefox and Thunderbird to update themselves. This not only keeps me up to date with patches faster than Pat can package them, but it also allows me to stay with my own language build (en_gb) rather than the default shipped en_us.

The only change you need to make is to give your user account write privileges to the firefox install directory e.g. /usr/lib{,64}/firefox-4.{0,1} and then the Firefox's own "Help -> Check for Updates" fuinctionality will work fine.

If you do this then you ought to blacklist firefox (and thunderbird) from slackpkg updates so you don't overwrite it with Pat's patches.
 
4 members found this post helpful.
Old 05-10-2011, 07:10 AM   #7
cfdisk
Member
 
Registered: May 2011
Location: Philadelphia, PA
Distribution: Slackware 13.37
Posts: 89

Original Poster
Rep: Reputation: 16
You guys are just great!

Thanks again.
 
Old 05-10-2011, 11:44 AM   #8
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
Quote:
Originally Posted by zordrak View Post
I personally allow Firefox and Thunderbird to update themselves.
This is what I had just come to the forum to ask. Firefox has been bugging me for a week to update, but I thought I would have to download the new FF 4.0.1 binary, but I went into the 'About Firefox' tab 'check for updates', and it updated to 4.0.1, and everything seems ok.

Last edited by clifford227; 05-10-2011 at 11:46 AM.
 
Old 05-10-2011, 12:33 PM   #9
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
I was going to say the same, since FF and TB are not modified in any way by slackware their built in auto update works fine.
 
Old 05-10-2011, 12:59 PM   #10
MQMan
Member
 
Registered: Jan 2004
Location: Los Angeles
Distribution: Slack64 14.1
Posts: 581

Rep: Reputation: 38
Quote:
Originally Posted by enine View Post
I was going to say the same, since FF and TB are not modified in any way by slackware their built in auto update works fine.
Except Mozilla doesn't produce 64-bit versions.

Cheers.
 
Old 05-10-2011, 02:14 PM   #11
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by zordrak View Post
The only change you need to make is to give your user account write privileges to the firefox install directory e.g. /usr/lib{,64}/firefox-4.{0,1} and then the Firefox's own "Help -> Check for Updates" fuinctionality will work fine.
Which means that Firefox itself has write access to its own binaries. Which means scripts on web pages have write access to the Firefox binaries. I honestly wonder, how are you not pwned?
 
Old 05-10-2011, 02:37 PM   #12
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
I'm not sure that there are so many exploits out there targeting to modify the Firefox binary itself. Still, that's a valid point. One can try running Firefox as root and doing the update that way (of course, you should use the root account only for that purpose, not for daily browsing use).
 
Old 05-10-2011, 02:42 PM   #13
zordrak
Member
 
Registered: Feb 2008
Distribution: Slackware
Posts: 595

Rep: Reputation: 116Reputation: 116
Take it up with Mozilla. Any user on any system allowed to use the update functionality must by implication have write access to the firefox install directory.
 
Old 05-10-2011, 03:18 PM   #14
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by zordrak View Post
Take it up with Mozilla. Any user on any system allowed to use the update functionality must by implication have write access to the firefox install directory.
The whole concept of applications updating themselves. I don't recall ever seeing that before Windows (and I've been computing since about 1982).

The Unix model is that regular users (and hence applications they invoke) do not have write access to files which affect the the system globally.

The Linux model of software updating is for root to compile from source, or else for root to invoke the package manager which updates binaries on her behalf.

Do we really want to adopt the Windows way of maintaining our systems?

I don't want to criticize any Linux administrator's methods. Rather I want to understand what other administrators do, and thus learn better methods for my own purposes. As a Kubuntu 8.04 Hardy Heron administrator, I too am faced with the Firefox update problem.

Also, I don't want to drag the thread off topic, especially since it is marked solved. It just seems to me that OP stated his desire for updating was based on security interest. Thus I do believe these questions are relevant to the topic.
 
6 members found this post helpful.
Old 05-10-2011, 03:26 PM   #15
rmjohnso
Member
 
Registered: Mar 2006
Location: Wisconsin
Distribution: Slackware64-Current
Posts: 294

Rep: Reputation: 43
Quote:
Originally Posted by MQMan View Post
Except Mozilla doesn't produce 64-bit versions.

Cheers.
They started releasing pre-compiled 64-bit versions with the 4.x series.

ftp://ftp.mozilla.org/pub/firefox/re...-x86_64/en-US/

Pat V. used to re-package the 32-bit pre-compiled version as a Slackware package and build from source the 64-bit version. However, in 13.37, he's started building both from source.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping passwords in Firefox under GNU/Linux - insecure? Mr. Alex Linux - Security 5 01-21-2011 06:04 PM
Keeping my bookmarks hlinux Fedora 3 01-30-2005 11:30 AM
Keeping an eye? againstms Linux - Software 1 11-22-2004 04:40 AM
Microsofts way of keeping you using IE Zuggy General 4 11-18-2004 05:40 PM
keeping ip changes after booting? ridertech Linux - Newbie 4 05-10-2004 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration