Gentoo Archives: gentoo-user

From: Nick Khamis <symack@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updating our live servers. I'm scared!
Date: Thu, 28 Mar 2013 16:57:09
Message-Id: CAGWRaZZD3LBY_+XBxfuGFWeF3OaowAy-V0Hp0_T6r3d7gbDbig@mail.gmail.com
In Reply to: Re: [gentoo-user] Updating our live servers. I'm scared! by Michael Orlitzky
1 Hahahah udev hell!! I did go through that updating from 2.6 to 3.4.
2 That was quite an experience!!!! But for kernel 3.* has udev not been
3 phased out in our gentoo boxes? Will have to double check when I get
4 back behind a console.
5
6 N.
7
8 On 3/28/13, Michael Orlitzky <michael@××××××××.com> wrote:
9 > On 03/28/2013 11:38 AM, Nick Khamis wrote:
10 >> Hello Everyone,
11 >>
12 >> Just got a ticket assigned to me where we need to update our production
13 >> servers.
14 >>
15 >> uname -a
16 >> Linux noun 3.4.9-gentoo #2 SMP Sat Oct 13 09:35:07 EDT 2012 x86_64
17 >> Intel(R) Xeon(TM) CPU 3.60GHz GenuineIntel GNU/Linux
18 >>
19 >> eselect
20 >> [18] hardened/linux/amd64 *
21 >>
22 >> I don't think they have been updated since the initial install and
23 >> wanted to get a little feedback on some safe practices and methods
24 >> that should be performed before and while doing so.
25 >
26 > This isn't that old, you'll be fine. First run an emerge --sync to
27 > update the tree. Then list everything it wants to upgrade:
28 >
29 > emerge -puDN1 world
30 >
31 > Once you have that list, go through a few at a time, updating
32 > non-essential packages. For example,
33 >
34 > emerge -u1 timezone-data man-pages ...
35 >
36 > Every once in a while, run a revdep-rebuild. If you have service
37 > monitoring (e.g. Nagios), great, it'll alert you if something breaks. If
38 > not, you'll have to test the services yourself every few packages. And
39 > don't forget to open a counter-ticket for someone to implement a
40 > monitoring solution, already.
41 >
42 > After a while, only important packages (apache, mysql, postfix...) will
43 > be left. Do those one at a time, and restart the services afterwards.
44 > Read the release notes first. Run revdep-rebuild. Check that the
45 > services work.
46 >
47 > Finally, you'll be left with the guaranteed-to-break updates like grub2
48 > (50/50) and udev (100% you're fucked prepare for downtime). Grub2 can of
49 > course be skipped until the hardware dies. Best of luck to you with udev =)
50 >
51 >
52 >

Replies

Subject Author
Re: [gentoo-user] Updating our live servers. I'm scared! Michael Orlitzky <michael@××××××××.com>
Re: [gentoo-user] Updating our live servers. I'm scared! Dale <rdalek1967@×××××.com>