Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1475

facter returns wrong ipv6 information when IPV6 stack is disabled

    Details

    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Facter correctly validates the ip command's output for the ipv6 family. If the ip command's output is invalid (e.g. if it contains ipv4 info.), then Facter ignores it.

      Description

      ipv6 is disabled but facter is still showing ipv6 facts with ipv4 address

      facter debug:

      2016-07-22 14:23:28.082752 DEBUG leatherman.execution:88 - executing command: /sbin/ip -6 route show
      2016-07-22 14:23:28.083535 DEBUG | - default via 10.13.21.1 dev eth0
      2016-07-22 14:23:28.083599 DEBUG | - 10.13.20.0/24 dev eth0  proto kernel  scope link  src 10.13.21.85
      

      running /sbin/ip -6 route show locally still show ipv4 address in the route table

      # /sbin/ip -6 route show 
      default via 10.11.17.1 dev eth0 
      10.11.17.0/24 dev eth0 proto kernel scope link src 10.11.17.78
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  enis.inan Enis Inan
                  Reporter:
                  cj.toolseram CJ Toolseram [X] (Inactive)
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support