Gentoo Archives: gentoo-user

From: Blakawk <blakawk@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Compare two Gentoo machines - please help
Date: Tue, 17 May 2011 15:59:03
Message-Id: 31e62374dbdcf57fd50f6eddb11b88bd@parizet.com
In Reply to: Re: [gentoo-user] Compare two Gentoo machines - please help by Volker Armin Hemmann
1 On Tue, 17 May 2011 17:52:32 +0200, Volker Armin Hemmann wrote:
2 > On Tuesday 17 May 2011 15:42:35 Helmut Jarausch wrote:
3 >> Hi,
4 >>
5 >> I have two (nearly) identical machines, both running ~amd64 Gentoo
6 >> up-
7 >> to-date and with a (nearly) identical set of installed packages.
8 >>
9 >> Still, on one of these machines KDE crashes with that infamous
10 >> polkit-
11 >> kde-authentication-agent-1 segmentation fault.
12 >>
13 >> On the other machine there is no problem.
14 >>
15 >> How can one smartly compare two Gentoo installations.
16 >>
17 >> Currently I would have to produce an md5sum of all files in
18 >> /etc /usr /var and / and compare these. But there are dozens of
19 >> thousands of files in these directories.
20 >>
21 >
22 > won't work. Even if the binaries in /usr are compiled with the same
23 > settings,
24 > just the different times of creation will result in different
25 > md5sums.
26 >
27 > What you want to do is: find the bug.
28
29 As far as i remember, i don't see why modification times will enter in
30 the md5sum computation process, as they are not part of the file but of
31 the filesystem's inode... it's definitely possible to compare two
32 binaries on two different system if they are compiled with the same
33 compiler version and libraries !
34
35 --
36 Blog: http://gentooist.com
37 Twitter: http://twitter.com/blakawk

Replies

Subject Author
Re: [gentoo-user] Compare two Gentoo machines - please help Volker Armin Hemmann <volkerarmin@××××××××××.com>