lsb_release run at every boot [performance issue]

Bug #664492 reported by Chow Loong Jin
6
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/mounted-varrun.conf now re-generates
/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

Revision history for this message
Launchpad Janitor (janitor) wrote :

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,
    debian/update-motd.d/99-footer:
    - 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/upgrade, LP: #614486
 -- Dustin Kirkland <email address hidden> Thu, 21 Oct 2010 08:43:01 -0500

Changed in base-files (Ubuntu):
status: New → Fix Released
Changed in mountall (Ubuntu):
assignee: Dustin Kirkland (kirkland) → nobody
Bryce Harrington (bryce)
Changed in mountall (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.