*** This bug is a duplicate of bug 50789 ***
https://bugs.launchpad.net/bugs/50789
I incline to keeping it a duplicate.
The root of the problem is that cfengine quite reasonably uses
/etc/debian_version as an indication that a system is "debian" and a
particular version. There are probably good reasons unrelated to
cfengine for ubuntu systems to retain /etc/debian_version, but perhaps
it should include some indication of the ubuntu version in there instead
of the debian version. In the meantime the debian_* classes are next to
useless for cfengine setups with both debian and ubuntu systems. As far
as I can tell there is no general way that ubuntu installations identify
which release they are - unless you install lsb-release, or use crude
hacks that try to parse sources.list.
However, installing lsb-release includes all the information needed to
distinguish debian/ubuntu systems, and the patch mentioned in bug 50789
would use this to define new cfengine classes. The debian_* classes
would still be useless though.
The patch in bug 50789 is not in fiesty, or even in debian unstable yet
(which has v2.1.22); but it is upstream in v2.2.0.
Until 2.2 arrives, perhaps the ubuntu package could include a cfengine
module file that looks for lsb-release and uses it to define the same
classes as v2.2 will. This is presumably essentially what most sysadmins
in this situation are already doing, and at least it would standardise
things a bit and reduce problems when people upgrade to new releases.
--
Ubuntu cfengine classes impersonate Debian Etch
https://bugs.launchpad.net/bugs/111385
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs