Issue #14523 has been updated by Andriy Yurchuk.
It seems that this problem raises if a network interface is not plumbed. After doing 'ifconfig net0:1 plumb' those errors no longer appear. Anyway, such a situation should be handled gracefully inside Facter code. ---------------------------------------- Bug #14523: no such interface error from facter on solaris 10 https://projects.puppetlabs.com/issues/14523#change-90339 * Author: Tim Mooney * Status: Accepted * Priority: Normal * Assignee: * Category: * Target version: * Keywords: solaris * Branch: * Affected Facter version: ---------------------------------------- This happens with both facter 1.6.6 and 2.0.0rc1. I'm using facter on x86_64-sun-solaris2.10 with ruby 1.9.3p125 When I run either version of facter, the first few lines of output are ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface It seems to be complaining about one of my interfaces associated with ipv6: # /sbin/ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 134.129.106.23 netmask ffffff00 broadcast 134.129.106.255 ether 0:1c:c0:82:51:84 iprb0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 172.17.110.23 netmask ffff0000 broadcast 172.17.255.255 ether 0:2:b3:15:6f:12 vboxnet0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4 inet 192.168.56.1 netmask ffffff00 broadcast 192.168.56.255 ether 8:0:27:a0:5d:7c lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 e1000g0: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2 inet6 fe80::21c:c0ff:fe82:5184/10 ether 0:1c:c0:82:51:84 e1000g0:1: flags=2080841<UP,RUNNING,MULTICAST,ADDRCONF,IPv6> mtu 1500 index 2 inet6 2001:4930:106::23/64 Relevant portions of the facter output: interfaces => lo0,e1000g0,iprb0,vboxnet0,e1000g0_1 ipaddress => 134.129.106.23 ipaddress6 => 2001:4930:106::23 ipaddress_e1000g0 => 134.129.106.23 ipaddress_iprb0 => 172.17.110.23 ipaddress_lo0 => 127.0.0.1 ipaddress_vboxnet0 => 192.168.56.1 netmask => 255.255.255.0 netmask_e1000g0 => 255.255.255.0 netmask_iprb0 => 255.255.0.0 netmask_lo0 => 255.0.0.0 netmask_vboxnet0 => 255.255.255.0 network_e1000g0 => 134.129.106.0 network_iprb0 => 172.17.0.0 network_lo0 => 127.0.0.0 network_vboxnet0 => 192.168.56.0 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
