postfix: calls lsb_release, which slows down the boot process
Bug #83113 reported by
Michael Biebl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postfix (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postfix
The init script of postfix contains the following line:
DISTRO=
As the attached bootchart shows, this slows down the boot process by 3-4 seconds. (lsb_release seems to call apt-cache and dpkg-query, which is ...)
I don't know, if the DISTRO env variable is actually needed, and if so, it would be best to simply set it to Ubuntu resp. Debian, or cache the result somehow.
To post a comment you must log in.
It appears to be commented out in Gutsy's postfix_2.4.0-3 init script.
Just noting..