Gentoo Archives: gentoo-dev

From: Michael Weber <xmw@g.o>
To: gentoo-dev@l.g.o
Subject: Re: update commands / world file pollution Re: [gentoo-dev] Stable sys-devel/gcc USE flag changes WAS: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog toolchain.eclass
Date: Fri, 18 Jan 2013 08:14:22
Message-Id: 50F90446.2070100@gentoo.org
In Reply to: Re: update commands / world file pollution Re: [gentoo-dev] Stable sys-devel/gcc USE flag changes WAS: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog toolchain.eclass by "Benedikt Böhm"
1 On 01/18/2013 08:36 AM, Benedikt Böhm wrote:
2 > On Fri, Jan 18, 2013 at 8:27 AM, Michael Weber <xmw@g.o
3 > <mailto:xmw@g.o>> wrote:
4 > I'd like to drop one strong suggestion about configuration management
5 > that might be beneficial here: use version control software!
6 > or even /etc/.git ... it saved my life on numerous occasions
7
8 Sure, bit thats's the point were diversity (hostnames, ssh_host_keys)
9 kicks in (which has been eliminated in mentioned example) and
10 the repo carries confidential information.
11 (Well, if somebody places an compromised update in the
12 local-overlay, i'd blindly install anything)
13
14 I even have / inside git for testing, with excludes on /opt/ /usr
15 /{s,}/bin /etc/ssl and so on.
16
17 It works and is handy to easily add apache config, web-app-config
18 installed roundcube, layman overlay list, but the maintenance of the
19 .gitignore raises and hardlink solutions like dirvish make more sense
20 for being complete backups (LD_LIBRRY_PATH=/backup/.../tree/usr/lib).
21
22 > for reference, here is my updateworld script, which also handles python,
23 > ruby, perl, revdep-rebuild and all that
24 > crap: https://github.com/zenops/cookbooks/blob/master/cookbooks/portage/files/default/scripts/updateworld
25 cool.
26
27 So basically everyone uses personal `apt-get update` (cvs co, porticron,
28 emerge+layman, eix-sync) strategies and even more
29 funny little scripts for `apt-get upgrade` (-avuND world, aliases,
30 scripts).
31
32 I wonder if anybody uses unattended [backup+]emerge as cron job.
33 I'm really temped to do so, but with users relying on these machines I'm
34 always chicken-out.
35
36 --
37 Michael Weber
38 Gentoo Developer
39 web: https://xmw.de/
40 mailto: Michael Weber <xmw@g.o>

Replies