yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #17265
[Bug 1341508] [NEW] systemd detection on Enterprise Linux needs to look for clones
Public bug reported:
The Platform identification for Enterprise Linux changes based upon the
clone used.
For example CentOS is:
>>> platform.linux_distribution()
('CentOS Linux', '7.0.1406', 'Core')
And no doubt Scientific Linux, etc. will be different again.
If it's not 'Fedora', then just checking whether /etc/redhat-release
exists should be enough to identify Enterprise Linux. Then check the
relevant major numbers.
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1341508
Title:
systemd detection on Enterprise Linux needs to look for clones
Status in Init scripts for use on cloud images:
New
Bug description:
The Platform identification for Enterprise Linux changes based upon
the clone used.
For example CentOS is:
>>> platform.linux_distribution()
('CentOS Linux', '7.0.1406', 'Core')
And no doubt Scientific Linux, etc. will be different again.
If it's not 'Fedora', then just checking whether /etc/redhat-release
exists should be enough to identify Enterprise Linux. Then check the
relevant major numbers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1341508/+subscriptions
Follow ups
References