[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120312221637.GA8386@host2.jankratochvil.net>
Date: Mon, 12 Mar 2012 23:16:37 +0100
From: Jan Kratochvil <jan.kratochvil@...hat.com>
To: Denys Vlasenko <dvlasenk@...hat.com>
Cc: Roland McGrath <roland@...k.frob.com>,
linux-kernel@...r.kernel.org, Oleg Nesterov <oleg@...hat.com>,
Kushal Das <kdas@...hat.com>
Subject: Re: Extending coredump note section to contain filenames
On Mon, 12 Mar 2012 20:45:47 +0100, Denys Vlasenko wrote:
> On 03/12/2012 08:08 PM, Jan Kratochvil wrote:
> > Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ec/1fd70dbee0db36eff9527254d9d2bbfd260f13
>
> My network is down. "yum install" won't work.
Now I think you mean that you want to just find /usr/bin/md5sum without ever
using /usr/lib/debug/usr/bin/md5sum.debug, right?
Then you can create your local build-id -> filename database specific to your
machine in some /var/lib/build-id/ . Such database has nothing to do with the
core file itself. Core file can be easily transferred to other hosts as it is
machine independent. Core file is dependent only on the specific binaries
_content_ (not _names_) which is uniquely identified by their build-id.
/var/lib/build-id/ can be created/updated either during 'rpm -i' time or from
'/proc/sys/kernel/core_pattern' hook or via some inotify daemon watching /bin,
/usr/bin and other directories updates etc. etc.
Regards,
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists