| Summary: | close_range() returns ENOSYS, breaking fork+exec under current systemd | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Pseudo | Reporter: | Vincent Haupert <mail> |
| Component: | pseudo | Assignee: | Vincent Haupert <mail> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium+ | CC: | bbnpreetsingh, david.c.nystrom, randy.macleod, tim.orling, yp.pseudo.watcher, yp.watcher |
| Version: | master | ||
| Target Milestone: | 6.1 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Vincent Haupert
2026-06-30 22:08:19 UTC
Hi Vincent, We need a little more info so we can understand your issue. Which Yocto Project version are you using? I'm a little confused as we have systemd v259.5 in master currently, so no current version of the project has systemd v260 or later. What task is running `systemd-repart` under pseudo? Is this something added by one of your own layers or by a vendor BSP? Thanks, Paul Hi Paul, Thanks for coming back to me so quickly! I'm actually not using pseudo for Yocto, but under NixOS. Specifically, I want to use pseudo instead of fakeroot to build an image with systemd-repart, because pseudo supports nftw (which fakeroot lacks). You can find more information here: https://github.com/NixOS/nixpkgs/issues/455331 Thanks, Vincent close_range can be implemented in pseudo but we haven't done that yet. It would be a nice addition. Do you want to submit a patch ? I don’t mean to interfere at all but I sent a patch for this. Please defer that patch if Vincent is already in progress/is working on it. He didn’t reply, hence I saw an opportunity to work on it. I’m happy to defer if needed. (In reply to Babanpreet Singh from comment #4) > I don’t mean to interfere at all but I sent a patch for this. Please defer > that patch if Vincent is already in progress/is working on it. He didn’t > reply, hence I saw an opportunity to work on it. I’m happy to defer if > needed. I didn't start anything yet, so your patch is more than welcome! Fixed by f85e2ae9ad9112efbbda2dd3daeb05a1144b0842 — "ports/linux/guts: Implement close_range() instead of returning ENOSYS" by Babanpreet Singh |