update-binfmts is slow on boot
Bug #320822 reported by
Tormod Volden
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
binfmt-support (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: binfmt-support
This is more a wishlist or question than bug, however I am looking at boot time performance and I can see that update-binfmts is run at boot (using perl).
The man page says:
When each package providing a registered interpreter is installed,
changed, or removed, update-binfmts is called to update information about
that interpreter. update-binfmts is usually called from the postinst or
prerm scripts in Debian packages.
So why do we run it at every boot?
Related branches
lp:~tormodvolden/binfmt-support/bootcache
- Colin Watson: Pending requested
- Diff: None lines
Changed in binfmt-support (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
'update-binfmts --enable' is used to tell the kernel about registered binary formats. Without this, the registered binary formats won't actually work.
The right fix is probably a rewrite in C ...