Issue #2543 has been updated by Matthew Flanagan.
Target version set to 1.5.8
This issue still present in 1.5.8rc2
`# facter --version
1.5.8
# facter
ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface
sh: sysctl: not found
ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: e1000g0:1: no such interface
domain => example.com
facterversion => 1.5.8
fqdn => s10server.example.com
hardwareisa => i386
hardwaremodel => i86pc
hostname => s10server
id => root
interfaces => lo0,e1000g0,e1000g0_1
ipaddress => 192.168.1.20
ipaddress_e1000g0 => 192.168.1.20
ipaddress_lo0 => 127.0.0.1
is_virtual => false
kernel => SunOS
kernelmajversion => Generic_141445-09
kernelrelease => 5.10
kernelversion => Generic_141445-09
macaddress => 8:0:27:4d:28:bc
macaddress_e1000g0 => 8:0:27:4d:28:bc
manufacturer => innotek GmbH
netmask => 255.255.255.0
netmask_e1000g0 => 255.255.255.0
netmask_lo0 => 255.0.0.0
network_e1000g0 => 192.168.1.0
network_lo0 => 127.0.0.0
operatingsystem => Solaris
operatingsystemrelease => 5.10
path => /usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/bin:/sbin
productname => VirtualBox
ps => ps -ef
puppetversion => 0.25.5
rubysitedir => /usr/local/lib/ruby/site_ruby/1.8
rubyversion => 1.8.7
serialnumber => 0
sshdsakey =>
AAAAB3NzaC1kc3MAAACBAOPsQrimO6OuUWYefTmHpnyqzQwg9bBwL5z1oSWWdxEWQYbQnBhxJbS1KqAbOIjZGUooHjQ1OQE+zKKIPamp/BU7zoT07f4MTnCZ1mV+gUlTn5Zq67gO2PCkBEWHUwiEVVIsdrfBfwJuchhPjyl0Yb3O3rKCJvokOGV9pOJAYAi7AAAAFQC3vMV5obNNteZD9E/DCaLca1W6pwAAAIBbp2zDPnZcbsiA2aKtSb2Y+KnWk6A/VsFmPfywMAJNyQsQ707TZWPcFCkgXIZyYU4PhabW4L5ODc4eWo7ZCUHetmK81CdC+ACVUdgknz+Bl0M8snRogb1HpkYlSnWBlhFCWyvreIfDawnymRfj+KOmOUJO8DiVKZKRR6ccu9zcEwAAAIBBc9hLUB19D9gRWtO2Lzlj0kup6g4VzqbEsx3ogdLHtSTzZBroHwqU08NDpIC34K5hEXTkGbi8In6AxIMZxH+aDTE2g4cNy/kL7/RObnaakErGdk816TzdQOR672Fe/BomzYHmTDPmEoocCQ3+gHB1yqoRTezCp6T4Ms0vIrGPzg==
sshrsakey =>
AAAAB3NzaC1yc2EAAAABIwAAAIEArUoKoQOyyB5Ve8FVpG+orAnrNMYYEehwf6o8e6At0OUPzEEiQep4ukGxsFgAvCiDyl68lJ0Vt+w5F/050SeTw4hF9eQ9OsLKBZNyoy6XbS2GPDWXGcmACalXD/ZnIYWAzCitAEM9lfojPbZfJJNmZ/cpNfj3HdpGMJnLp6SsFgE=
timezone => EST
uniqueid => 27eb7bf6
uptime => 72 days
uptime_days => 72
uptime_hours => 1740
uptime_seconds => 6267556
virtual => physical
# uname -a
SunOS s10server 5.10 Generic_141445-09 i86pc i386 i86pc
# 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 192.168.1.20 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:27:4d:28:bc
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
e1000g0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::a00:27ff:fe4d:28bc/10
ether 8:0:27:4d:28:bc
e1000g0:1: flags=2000841<UP,RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 2000::1/64
`
----------------------------------------
Bug #2543: Error messages with IPv6-enabled interfaces.
http://projects.puppetlabs.com/issues/2543
Author: Maciej Bliziński
Status: Needs more information
Priority: Normal
Assigned to: Paul Nasrat
Category: library
Target version: 1.5.8
Keywords:
Branch:
<pre>
cabbage ~ # facter --puppet
no such file to load -- ldap
ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface
ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface
</pre>
A workaround would be to skip the IPv6 interface names:
<pre><code class="diff">
index 9fb7034..748bb1d 100644
--- a/lib/facter/util/ip.rb
+++ b/lib/facter/util/ip.rb
@@ -59,7 +59,7 @@ module Facter::Util::IP
when 'Linux', 'OpenBSD', 'NetBSD', 'FreeBSD', 'Darwin'
output = %x{/sbin/ifconfig -a}
when 'SunOS'
- output = %x{/usr/sbin/ifconfig -a}
+ output = %x{/usr/sbin/ifconfig -a4}
end
output
end
</code></pre>
--
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.