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

id fact -- getgrgid_r failed: Numerical result out of range (34)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 3.1.8
    • Fix Version/s: FACT 3.6.6, FACT 3.7.0
    • Component/s: None
    • Environment:

      Linux 2.6.32-504.el6.x86_64

    • Template:
    • Team:
      Agent
    • Story Points:
      0
    • Sprint:
      Agent 2017-06-28
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Facter now correctly returns the `id` fact when a group file entry is larger than 1KiB
    • QA Risk Assessment:
      Manual

      Description

      This occurs with 3.1.3 (eg PE 2015.3) and 3.2.0 (eg PE 2016.02):

      # facter --version
      3.1.3 (commit 1aa380a82ec35b7f8e7e58fab627e74f93aaeff3)
      3.2.0 (commit 148948d795fbdcf6bcf51ed36a73f496775835dc)
      

      # facter --log-level trace id
      2016-07-11 11:42:17.311364 INFO  puppetlabs.facter - executed with command line: --log-level trace id.
      2016-07-11 11:42:17.312711 INFO  leatherman.ruby:133 - ruby loaded from "/opt/puppetlabs/puppet/lib/libruby.so.2.1.0".
      2016-07-11 11:42:17.382841 INFO  leatherman.ruby:182 - using ruby version 2.1.9
      2016-07-11 11:42:17.382968 INFO  puppetlabs.facter - requested queries: id.
      2016-07-11 11:42:17.383240 DEBUG puppetlabs.facter - fact "facterversion" has resolved to "3.2.0".
      2016-07-11 11:42:17.383318 DEBUG puppetlabs.facter - fact "aio_agent_version" has resolved to "1.5.2".
      2016-07-11 11:42:17.383701 DEBUG puppetlabs.facter - searching "/opt/puppetlabs/facter/facts.d" for external facts.
      2016-07-11 11:42:17.383862 DEBUG puppetlabs.facter - skipping external facts for "/etc/facter/facts.d": No such file or directory
      2016-07-11 11:42:17.383937 DEBUG puppetlabs.facter - skipping external facts for "/etc/puppetlabs/facter/facts.d": No such file or directory
      2016-07-11 11:42:17.383977 DEBUG puppetlabs.facter - no external facts were found.
      2016-07-11 11:42:17.384841 DEBUG puppetlabs.facter - loading all custom facts.
      2016-07-11 11:42:17.384930 DEBUG puppetlabs.facter - resolving id facts.
      2016-07-11 11:42:17.390609 WARN  puppetlabs.facter - getgrgid_r failed: Numerical result out of range (34)
      2016-07-11 11:42:17.390710 DEBUG puppetlabs.facter - fact "id" has resolved to "root".
      2016-07-11 11:42:17.390790 DEBUG puppetlabs.facter - fact "identity" has resolved to {
        uid => 0,
        user => "root"
      }.
      root
      #

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                eric.delaney Eric Delaney
                Reporter:
                alex.jurkiewicz Alex Jurkiewicz
                QA Contact:
                Eric Delaney
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: