Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.1.0
-
None
-
RHEL6
-
3
-
5031
Description
I was going to point out that the dpkg test should be improved to through away stderr.
However, it now occurs to me that this test should be changed further. Assuming that an rpm system will not have the dpkg binary, or that a deb system will not have the rpm binary is not the best assumption.
Our RHEL6 clusters do in fact have dpkg, and I know I have the rpm command installed on my Ubuntu box.
A better test would probably check the OS distributor ID or somesuch. For instance:
$ lsb_release -i -s
Ubuntu
On a Debian system, the response is "Debian".
I'll submit a patch.