Summary: | sys-apps/openrc: fix binfmt.d processing | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | William Hubbs <williamh> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 544150, 520144 | ||
Attachments: |
0001-Fix-binfmt-processing.patch
0001-Fix-binfmt-processing.patch 0001-Fix-binfmt-processing.patch |
Description
William Hubbs
![]() Actually above is the wrong reference for the spec; it is here [1]. In a nutshell, all vendor-provided binfmt files go in /usr/lib/binfmt.d/*.conf, and if a sys admin wants to disable them zero-length versions of them go in /etc/binfmt.d/*.conf. [1] http://0pointer.de/public/systemd-man/binfmt.d.html I am working on this bug as we speak. Thanks for working on this. I believe the canonical reference would be the current manpage from systemd, available here: http://www.freedesktop.org/software/systemd/man/binfmt.d.html As of this writing, it is identical to the version on Lennart's website (0pointer.de). Created attachment 400300 [details, diff]
0001-Fix-binfmt-processing.patch
This patch should take care of making sure binfmt files are loaded
correctly.
correctly. I do not use this facility, so I need testers.
Thanks,
William
Created attachment 400304 [details, diff]
0001-Fix-binfmt-processing.patch
This is an updated version of the patch with a couple of small fixes.
- only increment error once and make sure that dryrun actually works.
Created attachment 400306 [details, diff]
0001-Fix-binfmt-processing.patch
One more typo fix.
The latest code for this is in a pull request on github so we don't spam the bug with changes [1]. https://github.com/OpenRC/openrc/pull/48 This will be included in openrc-0.14. |