[Pkg-uml-pkgs] Bug#508770: /etc/init.d/uml-utilities: Do not call lsb_release in init script
Michael Biebl
biebl at debian.org
Mon Dec 15 06:17:47 UTC 2008
Package: uml-utilities
Version: 20070815-1.1
Severity: normal
File: /etc/init.d/uml-utilities
Hi,
the uml-utilities init script calls lsb_release -is, yet the DISTRO
variable seems to be used nowhere.
The lsb_release call is rather costly, according to bootchart, it takes
up to 1,5 secs on my laptop (as it queries the apt db and does all sorts
of weird stuff).
So best remove line 16 of the init script altogether.
Cheers,
Michael
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.27.9
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages uml-utilities depends on:
ii adduser 3.110 add and remove users and groups
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libfuse2 2.7.4-1.1 Filesystem in USErspace library
ii libncurses5 5.7+20081206-1 shared libraries for terminal hand
ii libreadline5 5.2-3 GNU readline and history libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
uml-utilities recommends no packages.
Versions of packages uml-utilities suggests:
pn user-mode-linux <none> (no description available)
-- no debconf information
More information about the Pkg-uml-pkgs
mailing list