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

Facter 4 calls deprecated xen-toolstack script when resolving xen fact

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • FACT 4.2.0
    • None
    • Night's Watch
    • ready for triage
    • Needs Assessment
    • Bug Fix
    • Previously, Facter would call the `xen-toolstack` script everytime when resolving the xen fact. This script is now deprecated, and Facter will only call it if multiple xen stacks are installed. Fix contributed by community member lollipopman.
    • Needs Assessment

    Description

      PR: https://github.com/puppetlabs/facter/pull/2357

      Description from PR:

      xen-toolstack is deprecated and so on Puppet runs in Debian buster you
      receive this nettlesome message:

      warning: something called deprecated script /usr/lib/xen-common/bin/xen-toolstack

      Prior to this change we used xen-toolstack if it is present, but that is
      only necessary if more than one stack is installed. Instead check if we
      have multiple tool stacks and if we do use xen-toolstack if it is
      present.

      Additional context from bugs.debian.org: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912381#39


      This is not breaking, but we should avoid calling deprecated scripts in our resolvers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gabriel.nagy Gabriel Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support