Gentoo Archives: gentoo-user

From: Leonardo Guilherme <leonardo.guilherme@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compare two Gentoo machines - please help
Date: Tue, 17 May 2011 16:30:29
Message-Id: BANLkTims534jRw8tcek5D+e5_dEOdyR9=Q@mail.gmail.com
In Reply to: Re: [gentoo-user] Compare two Gentoo machines - please help by Paul Hartman
1 Leonardo
2
3
4 2011/5/17 Paul Hartman <paul.hartman+gentoo@×××××.com>
5
6 > On Tue, May 17, 2011 at 8:42 AM, Helmut Jarausch
7 > <jarausch@××××××××××××××××.de> wrote:
8 > > Hi,
9 > >
10 > > I have two (nearly) identical machines, both running ~amd64 Gentoo up-
11 > > to-date and with a (nearly) identical set of installed packages.
12 > >
13 > > Still, on one of these machines KDE crashes with that infamous polkit-
14 > > kde-authentication-agent-1 segmentation fault.
15 > >
16 > > On the other machine there is no problem.
17 > >
18 > > How can one smartly compare two Gentoo installations.
19 > >
20 > > Currently I would have to produce an md5sum of all files in
21 > > /etc /usr /var and / and compare these. But there are dozens of
22 > > thousands of files in these directories.
23 >
24 > You could use rsync with –dry-run to tell you what's different
25 > (without actually transferring any files), or you could perhaps use
26 > diff over ssh to compare a whole tree at once.
27 >
28 >
29 I would go with Paul's rsync solution.
30
31 Leonardo