Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 23214

Summary: qmail: config-fast and hostname
Product: Gentoo Linux Reporter: Torsten Veller (RETIRED) <tove>
Component: [OLD] ServerAssignee: Nick Hadaway <grandmasterlinux>
Status: VERIFIED FIXED    
Severity: normal CC: rajiv, robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Torsten Veller (RETIRED) gentoo-dev 2003-06-21 01:11:21 UTC
config-fast in pkg_confg parts expects a fully qualified hostname. So it should be:

pkg_config() {
export qhost=`hostname -f`

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-23 19:46:49 UTC
What is your system config such that the 'hostname' call does not return a fully qualified name ?

'hostname' on all of my systems returns a fully qualified name.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2003-06-24 07:15:19 UTC
Well, i think you have you FQDN in /etc/hosts? (http://bugs.gentoo.org/show_bug.cgi?id=20829)

'man hostname' says: The complete FQDN of the system is returned with hostname --fqdn.


sys-apps/net-tools-1.60-r7
sys-apps/baselayout-1.8.6.8-r1
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2003-06-24 08:08:35 UTC
sorry, i meant: /etc/hostname not /etc/hosts.

bash-2.05b$ cat /etc/hostname
arkane

bash-2.05b$ hostname
arkane

bash-2.05b$ dnsdomainname
local

bash-2.05b$ hostname -f
arkane.local
Comment 4 Nick Hadaway 2003-07-09 12:03:55 UTC
I have changed the line from hostname to hostname --fqdn in -r10
This will be marked stable soon now.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-25 18:33:09 UTC
closing again
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-25 18:33:15 UTC
closing again