Your message dated Tue, 02 Apr 2019 12:03:56 +0000
with message-id <[email protected]>
and subject line Bug#926197: fixed in facter 3.11.0-2
has caused the Debian Bug report #926197,
regarding facter: custom facts that aren't suitable override built-in facts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
926197: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926197
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: facter
Version: 3.11.0-1.1
Severity: important
Tags: upstream
Forwarded: https://tickets.puppetlabs.com/browse/FACT-1873

DSA is using facter with a small ruby fact to define operatingsystem for
GNU/kFreeBSD:

| Facter.add(:operatingsystem) do
|     confine :kernel => 'GNU/kFreeBSD'
|     setcode do
|         if FileTest.exists?("/etc/debian_version")
|             "Debian"
|        end
|     end
| end

When upgrading from the stretch to the buster version of Facter, this
small snippet actually hides the operatingsystem fact:

| 2019-04-01 10:50:20.906683 DEBUG puppetlabs.facter - fact "osfamily" has 
resolved to "Debian".
| 2019-04-01 10:50:20.906760 DEBUG puppetlabs.facter - fact 
"operatingsystemmajrelease" has resolved to "buster/sid".
| 2019-04-01 10:50:20.906821 DEBUG puppetlabs.facter - fact 
"operatingsystemrelease" has resolved to "buster/sid".
| 2019-04-01 10:50:20.906919 DEBUG puppetlabs.facter - fact "hardwaremodel" has 
resolved to "x86_64".
| 2019-04-01 10:50:20.906995 DEBUG puppetlabs.facter - fact "architecture" has 
resolved to "amd64".
| 2019-04-01 10:50:20.907062 DEBUG puppetlabs.facter - fact "lsbdistid" has 
resolved to "Debian".
| 2019-04-01 10:50:20.907131 DEBUG puppetlabs.facter - fact "lsbdistcodename" 
has resolved to "n/a".
| 2019-04-01 10:50:20.907197 DEBUG puppetlabs.facter - fact 
"lsbdistdescription" has resolved to "Debian GNU/Linux buster/sid".
| 2019-04-01 10:50:20.907266 DEBUG puppetlabs.facter - fact "lsbmajdistrelease" 
has resolved to "testing/unstable".
| 2019-04-01 10:50:20.907333 DEBUG puppetlabs.facter - fact "lsbdistrelease" 
has resolved to "testing/unstable".
| 2019-04-01 10:50:20.907401 DEBUG puppetlabs.facter - fact "operatingsystem" 
has resolved to "Debian".
| 2019-04-01 10:50:20.907471 DEBUG puppetlabs.facter - fact "selinux" has 
resolved to false.
| 2019-04-01 10:50:20.907546 DEBUG puppetlabs.facter - fact "os" has resolved 
to {
|   architecture => "amd64",
|   distro => {
|     codename => "n/a",
|     description => "Debian GNU/Linux buster/sid",
|     id => "Debian",
|     release => {
|       full => "testing/unstable",
|       major => "testing/unstable"
|     }
|   },
|   family => "Debian",
|   hardware => "x86_64",
|   name => "Debian",
|   release => {
|     full => "buster/sid",
|     major => "buster/sid"
|   },
|   selinux => {
|     enabled => false
|   }
| }.
| 2019-04-01 10:50:20.907640 DEBUG puppetlabs.facter - fact "operatingsystem" 
resolved to null and the existing value of "Debian" will be removed.
| 2019-04-01 10:50:20.909461 ERROR puppetlabs.facter - error while resolving 
custom facts in /var/lib/puppet/lib/facter/service_provider.rb: Could not 
autoload puppet/provider/service/freebsd: Could not autoload 
puppet/provider/service/init: undefined method `downcase' for nil:NilClass

It is first correctly defined, but then this ruby fact is overriding the
built-in operatingsystem fact. As the ruby fact is confined to a
different kernel, this should not happens.

It happens that this has been fixed reported and fixed upstream
recently: https://tickets.puppetlabs.com/browse/FACT-1873

Thanks to Apollon Oikonomopoulos for the help debugging this and on the
link to the upstream ticket.

--- End Message ---
--- Begin Message ---
Source: facter
Source-Version: 3.11.0-2

We believe that the bug you reported is fixed in the latest version of
facter, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Apollon Oikonomopoulos <[email protected]> (supplier of updated facter package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 02 Apr 2019 14:24:17 +0300
Source: facter
Binary: facter libfacter3.11.0 facter-dev
Architecture: source amd64
Version: 3.11.0-2
Distribution: unstable
Urgency: medium
Maintainer: Puppet Package Maintainers 
<[email protected]>
Changed-By: Apollon Oikonomopoulos <[email protected]>
Description:
 facter     - collect and display facts about the system
 facter-dev - collect and display facts about the system -- development files
 libfacter3.11.0 - collect and display facts about the system -- shared library
Closes: 897556 926197
Changes:
 facter (3.11.0-2) unstable; urgency=medium
 .
   * Acknowledge 3.11.0-1.1 NMU. Thanks to gregor herrmann!
   * B-D on ruby (Closes: #897556)
   * Do not allow unsuitable custom facts to override built-in facts
     (Closes: #926197)
   * Bump Standards-Version to 4.3.0; no changes needed
Checksums-Sha1:
 965fd1df251ff0e8f6b9503346d01dbc3d00a7ff 2787 facter_3.11.0-2.dsc
 ff27f6aa0f6d5456dca4cd5b90020fc6c734b612 14220 facter_3.11.0-2.debian.tar.xz
 e351a181f4dc34786c80fbcf2de6631c8a009003 665400 
facter-dbgsym_3.11.0-2_amd64.deb
 3a09f2cb35fe03e7276dec87b564687018d90c48 21204 facter-dev_3.11.0-2_amd64.deb
 275525c5174b970d1ecb2ec43632c8f0e8e35398 9495 facter_3.11.0-2_amd64.buildinfo
 b109e3008d9bc76c5b05dfcd11947172bfd0ea5b 75396 facter_3.11.0-2_amd64.deb
 1909dc0480c8b6d86a6bb451bf23f8a7e49525ae 18108760 
libfacter3.11.0-dbgsym_3.11.0-2_amd64.deb
 59e8c7747947dc02e0422a46625e52121e91946a 503752 
libfacter3.11.0_3.11.0-2_amd64.deb
Checksums-Sha256:
 efcbb5e1391945ca071e720fccee7cb8bfd468b29713506f299e0e8da30eb995 2787 
facter_3.11.0-2.dsc
 a677d34405f38b384fd87c36934597d8dff66a60954b5dfc0e6a4d7e5ca433b2 14220 
facter_3.11.0-2.debian.tar.xz
 ce08332ff7b827e54e93e9d917681198e9272ac6460389bbdbcddd7bee753f35 665400 
facter-dbgsym_3.11.0-2_amd64.deb
 4f6efce886c79eb230c4e948e5c30c82422bbeef4c69e7db487111ab685afc77 21204 
facter-dev_3.11.0-2_amd64.deb
 d62ca2f5d73153afd23829cd91ecabd547c3451b07a6c0f7a338da87e258a7dd 9495 
facter_3.11.0-2_amd64.buildinfo
 02cc553d0f80bcfa226e4bd56538ad46b1bdf2c158ed1f27540a1d2ac7f57e95 75396 
facter_3.11.0-2_amd64.deb
 eead31fe065f43e341f9162c1dd10c4f582e4a6f17cd7bb3abdd19787063d3de 18108760 
libfacter3.11.0-dbgsym_3.11.0-2_amd64.deb
 3d5c3a5dbdc16c9fa21b07e500f3c3b0e4fa81398b43709f02f0159bd330e011 503752 
libfacter3.11.0_3.11.0-2_amd64.deb
Files:
 dc926a1182d2b069cc4a54254a7d63c5 2787 admin optional facter_3.11.0-2.dsc
 d5696b23b9c88542fd2c6ce8239c6d94 14220 admin optional 
facter_3.11.0-2.debian.tar.xz
 33d00283b7f7cc62ac8cf98c42257c5f 665400 debug optional 
facter-dbgsym_3.11.0-2_amd64.deb
 88f10e6afc28fae7f8e445f74971fb16 21204 admin optional 
facter-dev_3.11.0-2_amd64.deb
 e64a6fb045eee9b448c1a41811599bb2 9495 admin optional 
facter_3.11.0-2_amd64.buildinfo
 00774265c18dea2b9bc59637734fa06c 75396 admin optional facter_3.11.0-2_amd64.deb
 11b1678fa4ef7b2930eee1e611d06a15 18108760 debug optional 
libfacter3.11.0-dbgsym_3.11.0-2_amd64.deb
 4852684f85025df7bd108545a17d5f75 503752 libs optional 
libfacter3.11.0_3.11.0-2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEPgL9ZlYpWVIRC6uZ9RsYxyAkgiQFAlyjSGYACgkQ9RsYxyAk
giT7lA//VMtRbgsRSNui32VUOqMIC2wFcNWGc0zllwT8O2amkkVWgR+auJ45PgSU
ukZbuHjvueqVqegBTEqza0e9yHJh3LAjzDtbGDuDuLNQRduTVdGwzVcM4cI/+f3G
EgqImdCLXDix56AGa7Usz7bdhHRIMSMI2SUqQsurGBmSA05IuBo3VHwFKerp6Yof
m/B1+M3YuSHYOrc2dRLc2kam67ZV/CdHMECITgv16zeRmxnB/9mBH0buBw2ueHRl
UOXP6Fuz+jR0EM3rlZHLL08mXIuZKkPjUVRru8jpUEbJZ2/WO1nExz6V2vLd4x4y
Al4/QlNw9dAOvPtUfT9gGPATmK9NdGpGFlqTIpzMRchzpoFSxvBB5wdOpF4cn36j
J7H0LMqolfCnzLSnz70aWmh769LDQ8KhyNmJ6rpoSdAhkRW+xkVaw5lNqpc+VDmy
qDKjOYscerKcdI38vyn2BmEfCm0hnVSThkPZhQ688QT0ZoCMONPog1mkJxen4pT6
9IcC8Uq+rON7/CWpit7jw2V3KRhVU3CHr9Ahms/JfN9HVz0ODsu68rLq8wjfDUIN
WSlhDDurqLU40FYbGMOpiNwUFya8bWPH4IX7h4l1QPSA4tTMDYSgYnsguAATxaOS
t3V/FUKEm9OoImFS/ArceO6nBbDJ2XNbdqQJsipkoZk2J1oFzFM=
=Jpp+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to