/bin/hostname in buildroots.

Jason L Tibbitts III tibbs at math.uh.edu
Sun Feb 24 19:34:45 UTC 2008


>>>>> "DJ" == Dave Jones <davej at redhat.com> writes:

DJ> /etc/profile: line 38: /bin/hostname: No such file or directory

https://bugzilla.redhat.com/show_bug.cgi?id=301481

DJ> Should the buildroots provide this by default (imo, yes), or
DJ> should packages have to explicitly BuildRequires: this ?

I can't imagine why this would need to be in the buildroot, but it
should certainly not be through a specific build dependency.  Either
setup needs to grow a dependency on net-tools (which I think is a bad
idea) or /etc/profile needs to redirect stderr or conditionalize the
hostname call.

 - J<




More information about the fedora-devel-list mailing list