/bin/hostname in buildroots.
Casey Dahlin
cjdahlin at ncsu.edu
Sun Feb 24 04:14:09 UTC 2008
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
More information about the fedora-devel-list
mailing list