[Bug 1028268] Re: Bareword dns domain makes facter return incorrect info
This appears fixed now: ubuntu@trusty:~$ hostname trusty ubuntu@trusty:~$ dnsdomainname test ubuntu@trusty:~$ facter fqdn trusty.test ubuntu@trusty:~$ cat /etc/resolv.conf # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN search example.com nameserver 10.0.3.1 ubuntu@trusty:~$ dpkg-query -W facter facter 1.7.3-1ubuntu1 ** Changed in: facter (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/1028268 Title: Bareword dns domain makes facter return incorrect info To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1028268/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1028268] Re: Bareword dns domain makes facter return incorrect info
Looks like this is fixed in facter-1.7.0-1ubuntu1 (saucy): | elsif domain = Facter::Util::Resolution.exec('dnsdomainname') \ | and domain =~ /.+/ | | return_value = domain In facter-1.6.5-1ubuntu1.2 (precise), it looks like this: | elsif domain = Facter::Util::Resolution.exec('dnsdomainname') \ | and domain =~ /.+\..+/ | | domain Regards, Haw -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/1028268 Title: Bareword dns domain makes facter return incorrect info To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1028268/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1028268] Re: Bareword dns domain makes facter return incorrect info
** Also affects: facter (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: facter (Ubuntu Precise) Status: New = Confirmed ** Changed in: facter (Ubuntu Precise) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/1028268 Title: Bareword dns domain makes facter return incorrect info To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1028268/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1028268] Re: Bareword dns domain makes facter return incorrect info
** Changed in: facter (Ubuntu) Status: New = Triaged ** Changed in: facter (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to facter in Ubuntu. https://bugs.launchpad.net/bugs/1028268 Title: Bareword dns domain makes facter return incorrect info To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1028268/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs