Issue #15798 has been updated by Max Bowsher.
**Argh, my issue appears to have been mangled by unwanted markup
interpretation. Here is a corrected version:
**
Facter currently uses ifconfig on Linux, and as a result, fails to function
properly if interface names have more than 9 characters, as ifconfig truncates
them:
# facter >/dev/null
Device "p2p.gdc-f" does not exist.
p2p.gdc-f: error fetching interface information: Device not found
(errors repeated numerous times)
Possible options to fix:
- Migrate completely to using /sbin/ip if it is available.
- Continue to use ifconfig, but get the list of interface names by reading
/proc/net/dev
----------------------------------------
Bug #15798: Fails to handle network interface names longer than 9 characters
https://projects.puppetlabs.com/issues/15798#change-68128
Author: Max Bowsher
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Keywords:
Branch:
Affected Facter version: 1.6.10
Facter currently uses ifconfig on Linux, and as a result, fails to function
properly if interface names have more than 9 characters, as ifconfig truncates
them:
# facter >/dev/null
Device "p2p.gdc-f" does not exist.
p2p.gdc-f: error fetching interface information: Device not found
(errors repeated numerous times)
Possible options to fix:
- Migrate completely to using /sbin/ip if it is available.
- Continue to use ifconfig, but get the list of interface names by reading
/proc/net/dev
--
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.