Consumes too many resources detecting OS vendor and version
Bug #317652 reported by
Scott James Remnant (Canonical)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jockey (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Jockey calls lsb_release on startup to identify the OS vendor and version that it is running on. This is prohibitively expensive.
This is a jockey bug because the package itself could have that information hard-coded, it does not need to be dynamic. There's no resume to presume that the machine will change from Ubuntu to Slackware overnight, and any version update would assumedly also be accompanied by a jockey update.
I appreciate you might be unhappy hardcoding it, but you do need to find a cheaper way than spawning lsb_release!
Changed in jockey: | |
importance: | Undecided → High |
To post a comment you must log in.
This seems to be an issue with everything calling lsb_release. Perhaps lsb_release should be re-written in something like C so that it doesn't need a full Python interpreter to run