Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrades per month of gcc/kernel are worth the fuss?[solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Wed May 17, 2006 5:32 pm    Post subject: Upgrades per month of gcc/kernel are worth the fuss?[solved Reply with quote

Hallo,

I am currently learning linux through gentoo.
I have setup my desktop and I am currently building a gentoo web server.
This is a procedure that goes on for at least one year now.

I have noticed that at least once a month there are upgrades to certain programs
like gcc or binutils or others that require an "emerge -e world" procedure which -of
course- lasts (if someone wishes to do it properly) for at least 24 hours.

At the same time, there are also kernel upgrades that occur every one or two months.
The problem with the kernels is that every upgrade adds new features that are very
time consumming for someone who is not a computer expert to understand thoroughly and tackle with them
in a way that he is certain of achieving a good configuration.

The question is:

Bearing in mind that a program update needs time and in some cases
old configuration files that "do the job properly" will not work with new programs appropriately, how often a
web-site server could be updated in terms of its base programs such as gcc/kernel so that a reasonable
level of security is achieved constantly?


Kind regards,
orange_juice


Last edited by orange_juice on Thu May 18, 2006 10:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54397
Location: 56N 3W

PostPosted: Wed May 17, 2006 5:40 pm    Post subject: Reply with quote

orange_juice,

Read the security alerts and update only when affects you.
e.g. if your kernel has a local exploit, you may not mind ... someone has to gain physical access to the PC to take advantage of it.
if apache (or your web server software) has a remote exploit, you need to fix it as soon as possible, unless its confined to a module you don't use.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Wed May 17, 2006 5:53 pm    Post subject: Reply with quote

NeddySeagoon,

Thank you for your prompt and sharp reply.

Would it be reliable to filter the relevant security alerts through the command:
Code:
glsa-check -p all


Kind regards,
orange_juice
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Wed May 17, 2006 6:18 pm    Post subject: Re: Upgrades of gcc/kernel are worth the fuss once a month? Reply with quote

orange_juice wrote:

I have noticed that at least once a month there are upgrades to certain programs
like gcc or binutils or others that require an "emerge -e world" procedure which -of
course- lasts (if someone wishes to do it properly) for at least 24 hours.


There are only very few upgrades that really require an "emerge -e world". If it is necessary, it is prominently announced.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54397
Location: 56N 3W

PostPosted: Wed May 17, 2006 6:52 pm    Post subject: Reply with quote

orange_juice,

glsa-check is still experimental and comes with a warning.

Get your system up to date, then read the GLSA as they are published. Update as you see the need.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
matt2kjones
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2004
Posts: 89

PostPosted: Wed May 17, 2006 11:57 pm    Post subject: Reply with quote

I have also been updating my webserver as and when stuff enters portage... i do an updated about twice a week.

I have been reading through the GLSA list of security issues and have noticed that there are no kernel security issues listed there for the past year... surely this is inaccurate... or am i just not searching it properly.... or many not all security issues are added?
_________________
OSST - Formally: The Linux Mirror Project
OSST - Open Source Software Downloads - Torrents for over 80 Distributions
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Thu May 18, 2006 11:40 am    Post subject: Reply with quote

Thank you, NeddySeagoon, I believe that the proper way is always the best way.

hjnenc,

Quote:
There are only very few upgrades that really require an "emerge -e world". If it is necessary, it is prominently announced.


Shall I receive that piece of information from the Gentoo Weekly Newsletter?

Kind regards,
orange_juice
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Thu May 18, 2006 8:30 pm    Post subject: Reply with quote

The gentoo-announce mailing list might be quite useful to you.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Thu May 18, 2006 10:07 pm    Post subject: Reply with quote

Thank you very much.

Kind regards
orange_juice
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Fri May 19, 2006 8:43 am    Post subject: Reply with quote

matt2kjones,

check this web-page, should be useful.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Fri May 19, 2006 2:16 pm    Post subject: Reply with quote

orange_juice wrote:

Shall I receive that piece of information from the Gentoo Weekly Newsletter?

Yes, this is one place. Others are the forums and the mailing lists. For an example of such an announcement see GCC-3.4 will be marked stable in ~1 hour on x86
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Fri May 19, 2006 2:25 pm    Post subject: Reply with quote

In 3 years of using Gentoo I have never upgraded anything that required an emerge -e world.

I can safely say that, because I have never typed that combination of characters in my life until this post!

There is a tool called gsla-check that can tell you of security upgrades, also there is a security mailing list that can be subscribed to.

That should do the trick.
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Fri May 19, 2006 4:01 pm    Post subject: Reply with quote

Indeed...

I have subscrided to the relevant mailing lists, and I should get used to refining the relevant information that match my setup. It might take some time but I believe that the result will be adequate security in an accordingly acceptable amount of time dedicated to this task.

I have "emerged -e" world when the compiler was updated or certain programs like binutils-config, gcc-config were updated. Being unsure of what would be best, I decided to recompile my programs with the new compiler. Better "safe" than sorry! If I were more experienced I could judge more accurately and this is what I am working on now!

Thank you for your help which is always welcome.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Sat May 20, 2006 10:49 am    Post subject: Reply with quote

binutils/gcc-config are only scripts used to manage profiles, I believe, thus recompiling everything isn't necessary when they're updated (unless, of course, the new versions change things in a very fundamental way).
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Sat May 20, 2006 3:46 pm    Post subject: Reply with quote

Actually, I have not finished setting up the server, thus I am adding new programs week by week. What I fear is that if these -even minor- changes to the core system programs are able to influence the fluent operation of the system; since -for example- I might have 3 different sets of programms compiled with 3 different versions of those core files.

It is more of an extreme effort to eliminate the factors that might cause an unexpected error and restrain it from happening rather than putting myself in a more difficult -for me- situation trying to resolve it after it has happened...

I lack the experience that would make me feel more "relaxed", especially if it is about a computer that will stay constantly online.

This is the reason why I am trying to figure out, how a necessity of recompiling the whole system is communicated throughout the users of gentoo. I am currently trying to get in grips with a more carefully filtered "forum scanning" and the mailing list digests. I hope this will bring some good results in the mid-term, at least!

Thank you for your help.

Kind_regards
orange_juice
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Sat May 20, 2006 4:41 pm    Post subject: Reply with quote

revdep-rebuild may help you identify breakage due to upgrading.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Sun May 21, 2006 12:53 pm    Post subject: Reply with quote

Indeed, lnxz...

NeddySeagoon wrote:

Read the security alerts and update only when affects you.


lnxz wrote:
revdep-rebuild may help you identify breakage due to upgrading.


If Don Kijotis was adviced accordingly, Thervantes would probably be unknown!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum