Bug #1884
closedOperating System field Is empty on debian wheezy
Description
When listing host on Foreman
Operating system field Is empty for wheezy (debian testing)
Maybe also empty for Unstable
On lenny:
Operating System -> Debian 5.0
On squeeze:
Operating System -> Debian 6.0
- On squeeze
facter |grep "lsb\|operating"
lsbdistcodename => squeeze
lsbdistdescription => Debian GNU/Linux 6.0.5 (squeeze)
lsbdistid => Debian
lsbdistrelease => 6.0.5
lsbmajdistrelease => 6
operatingsystem => Debian
operatingsystemrelease => 6.0.5
- On wheezy
cat /etc/debian_version
wheezy/sid
dpkg -l |grep lsb
ii lsb-base
ii lsb-release
facter |grep "lsb\|operating"
lsbdistcodename => wheezy
lsbdistdescription => Debian GNU/Linux testing (wheezy)
lsbdistid => Debian
lsbdistrelease => testing
lsbmajdistrelease => testing
operatingsystem => Debian
operatingsystemrelease => wheezy/sid
Files
Updated by Greg Sutcliffe over 12 years ago
- Assignee set to Greg Sutcliffe
I can take a look at this. I tried to fix it a while back, but never finished it :)
Updated by Nicolas Dandrimont about 12 years ago
- File 0001-Hardcode-a-version-number-for-Debian-s-testing-and-u.patch 0001-Hardcode-a-version-number-for-Debian-s-testing-and-u.patch added
Here is a tested patch special-casing Debian's testing and unstable versions, assigning them a version number.
I future-proofed it somewhat by taking into account the codename for the future future stable version, jessie.
Have a nice day,
Nicolas
Updated by Dominic Cleal about 12 years ago
- Status changed from New to Ready For Testing
Updated by Nicolas Dandrimont about 12 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset c604dec773bba3729f4f3cdcd0668807dc94b71b.