| Summary: | systemd template units with instance names containing either '.' or a '\x' escape will not work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Trent Piepho <trent.piepho> | ||||
| Component: | core | Assignee: | Trent Piepho <trent.piepho> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | ccasciato, meta.mr.watcher, meta.watcher, paul, randy.macleod, ross.burton, yoann.congal | ||||
| Version: | 5.0.19 | ||||||
| Target Milestone: | 5.0.17 | ||||||
| Hardware: | All | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
Trent Piepho
2026-01-13 03:29:36 UTC
Created attachment 5170 [details]
Proposed fix
Hi Trent, Can you send the patch to the oe-core list? FYI: https://docs.yoctoproject.org/contributor-guide/index.html Note that this won't be required for master/whinlatter/walnascar, as they have removed the replacement script from systemd-systemctl-native (oe-core 7a580800db ("systemd: Build the systemctl executable"))
Also, a related patch would be "systemd.bbclass: support template files with dots".
Hi Trent, Please re-submit the patch against the appropriate branch (scarthgap and/or kirkstone). As Ross says, this isn't required on walnascar or later and as Antonin says, the patch doesn't apply to the master branch [1]. [1]: https://lore.kernel.org/openembedded-core/DFT9J4U0CL9Z.1B3K1AOQP1914@bootlin.com/ Patch sent to ML but not tagged for scarthgap: https://lore.kernel.org/openembedded-core/20260120011745.2474832-1-trent.piepho@igorinstitute.com/ Patch currently in review Fixed on scarthgap: systemd-systemctl: Fix instance name parsing with escapes or periods - openembedded-core - OpenEmbedded Core layer https://git.openembedded.org/openembedded-core/commit/?h=scarthgap&id=0514c317523330f75937123c45bb0528e4830f61 |