[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: /bin/hostname in buildroots.



Dave Jones wrote:
On Sat, Feb 23, 2008 at 10:48:57PM -0500, Casey Dahlin wrote:
 > Dave Jones wrote:
 > > Looking through build logs of various packages, I keep seeing this..
 > >
 > > /etc/profile: line 38: /bin/hostname: No such file or directory
 > > warning: Could not canonicalize hostname: xenbuilder4.fedora.phx.redhat.com
 > >
 > > Should the buildroots provide this by default (imo, yes), or should
 > > packages have to explicitly BuildRequires: this ?
 > >
> > I think we should determine the exact use cases for this. The first 5 > reasons I can think of for having it around are evil, but there's a > couple of legitimate ones.

A number of projects (the kernel, X..) embed info about the system that
it was built on into the binary in case it later proves to be useful
to match up systems to bug reports.

Admittedly it isn't hugely useful from a distro perspective
(given the machines doing the building aren't the machines
 running the generated binaries).

	Dave


So its primarily an anti-ugliness feature.

The RPMs themselves contain this information, I wonder if that plays into things.

--CJD


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]