Your message dated Sat, 07 Sep 2013 14:43:13 +0200
with message-id <[email protected]>
and subject line facter domain
has caused the Debian Bug report #682376,
regarding facter: ignores domain in /etc/hosts, uses only 'search' or 'domain' 
from /etc/resolv.conf
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
682376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682376
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: facter
Version: 1.6.10-1
Severity: normal

Hello,

I have the following situation:

/etc/hostname: myhostname
/etc/hosts: 192.168.1.123   myhostname.mydomain     myhostname
/etc/resolv.conf: nameserver 192.168.1.1 # and nothing else

and facter doesn't return any fqdn (which instead affects puppet). I can 
get facter to return the fqdn if I specify 'search mydomain' or 'domain 
mydomain' in /etc/resolv.conf.

1.5.7 from stable doesn't do this. My web searches seem to suggest this 
has been fixed upstream in versions previous to 1.6.10, or am I missing 
something?

Kind regards,
Andrei

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages facter depends on:
ii  bind9-host [host]             1:9.8.1.dfsg.P1-4.1
ii  net-tools                     1.60-24.1
ii  ruby                          4.9
ii  ruby-json                     1.7.3-2
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-4
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-1

Versions of packages facter recommends:
ii  dmidecode  2.11+20120326-2
ii  pciutils   1:3.1.9-5

facter suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: tag -1 + wontfix

The fact "domain" tries to get the domain from the "hostname -f" or the
"dnsdomainname" commands on Linux. To get this fact to return something
useful, ensure that "hostname -f" returns a fully qualified domain name.

As a fallback, facter's "domain" fact will look for "domain" or "search"
in the resolver configuration. The "hostname" command will also use
/etc/resolv.conf and /etc/hostname to figure this out.

I do not think this is a bug in facter, so I'll close this bug.

-- 
Stig Sandbeck Mathisen

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to