]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD.cc: parse lsb release data via lsb_release
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Tue, 24 Jun 2014 22:31:48 +0000 (00:31 +0200)
committerLoic Dachary <ldachary@redhat.com>
Mon, 22 Dec 2014 21:54:20 +0000 (22:54 +0100)
commit5be6f2f60e3225bf3d214432044721fe474d55d7
tree69578a9d14853701e36f9e9a51eca2574e8e864f
parentb62187c52324a4489c2fc1385b1d6574a058f7e8
osd/OSD.cc: parse lsb release data via lsb_release

Use lsb_release tool to be portable since parsing /etc/lsb-release
is not the same between different distributions. The old code failed
e.g. for SUSE products to parse LSB information.

Fixes: #8654
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 0b3a3987d382ff33fdf892f189b30df22be80e59)
src/osd/OSD.cc
src/osd/OSD.h