lsb_release run at every boot [performance issue]
Bug #664492 reported by
Chow Loong Jin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
mountall (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
affects ubuntu/base-files
affects ubuntu/mountall
assignee kirkland
Following a change in mountall, /etc/init/
/var/run/motd from scripts found in /etc/update-motd.d at every boot. One of the
scripts, 00-header, found in the "base-files" package runs lsb_release, which is
slow. This speed can be improved by either fixing 00-header to source
/etc/lsb-release rather than running lsb_release -s -d, or just copying
/etc/motd to /var/run/motd during the boot sequence.
--
Kind regards,
Chow Loong Jin
Related branches
Changed in mountall (Ubuntu): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
Changed in mountall (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was fixed in the package base-files - 5.0.0ubuntu25
---------------
base-files (5.0.0ubuntu25) natty; urgency=low
* debian/ update- motd.d/ 00-header, debian/ update- motd.d/ 10-help- text, update- motd.d/ 99-footer: upgrade, LP: #614486
debian/
- add copyright/license header
- simplify/shorten text, LP: #578264
- speed up boot by having 00-header source /etc/lsb-release, if possible,
and only using lsb_release as a fall back, LP: #617410, #664492
* debian/postinst.in: ensure that /var/run/motd is populated on package
install/
-- Dustin Kirkland <email address hidden> Thu, 21 Oct 2010 08:43:01 -0500