Project

General

Profile

Actions

Bug #1884

closed

Operating System field Is empty on debian wheezy

Added by aurelien vaillant over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Facts
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

  1. 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

  1. 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

Actions #1

Updated by Greg Sutcliffe over 11 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 :)

Actions #2

Updated by Nicolas Dandrimont over 11 years ago

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

Actions #3

Updated by Dominic Cleal about 11 years ago

  • Status changed from New to Ready For Testing
Actions #4

Updated by Ohad Levy about 11 years ago

  • Target version set to 1.1
Actions #5

Updated by Nicolas Dandrimont about 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF