bodnuti

Deterministic checks of Yocto Project & OpenEmbedded patches.


[OE-core][PATCH] shadow: split the subordinate id tools into shadow-uidmap and libsubid

List
openembedded-core
Thread
lore
Author
Alex Kiernan
Last message
2026-11-27 08:16
Result
1 finding ยท 5 style findings
Checked against
openembedded-core master
Base
39019629a4ad

[OE-core][PATCH] shadow: split the subordinate id tools into shadow-uidmap and libsubid

warning oelint oelint.vars.mispell.unknown meta/recipes-extended/shadow/shadow_4.20.3.bb:202
'DEBIAN_NOAUTONAME' is unknown. Consider adding it via --constantmods
199200FILES:libsubid = "${libdir}/libsubid.so.*"201# A stable name, so ROOTFS_RO_UNNEEDED can list it across soname bumps.202DEBIAN_NOAUTONAME:libsubid = "1"203204inherit update-alternatives205

Model, unverified: DEBIAN_NOAUTONAME is a real OE package variable read by debian.bbclass (line 108 of the class shown in the request); oelint simply does not have it in its built-in list of known variables. Fix: No fix needed in the recipe; if oelint is used in CI, add DEBIAN_NOAUTONAME to the oelint constants config (e.g. `--constantmods` or the layer's oelint config file) so the linter recognises it as a known package variable.

Show 5 style findings
warning oelint oelint.vars.outofcontext meta/classes-recipe/image.bbclass:41
IMAGE_FEATURES should be only set in file(s) that define image(s) but is used in /tmp/bodnuti-Gtb6VR/tree/meta/classes-recipe/populate_sdk_base.bbclass,/tmp/bodnuti-Gtb6VR/tree/meta/classes-recipe/image.bbclass,/tmp/bodnuti-Gtb6VR/tree/meta/classes-recipe/nopackages.bbclass,/tmp/bodnuti-Gtb6VR/tree/meta/classes-recipe/image-postinst-intercepts.bbclass,/tmp/bodnuti-Gtb6VR/tree/meta/classes-recipe/image-artifact-names.bbclass
38INHIBIT_DEFAULT_DEPS = "1"3940# IMAGE_FEATURES may contain any available package group41IMAGE_FEATURES ?= ""42IMAGE_FEATURES[type] = "list"43IMAGE_FEATURES[validitems] += "read-only-rootfs read-only-rootfs-delayed-postinsts stateless-rootfs empty-root-password allow-empty-password allow-root-login serial-autologin-root post-install-logging44
warning oelint oelint.var.filesoverride meta/recipes-extended/shadow/shadow_4.20.3.bb:191
'FILES' should not be overridden
188189# The subordinate id tools, on their own for images that need user namespaces190# without the rest of shadow's setuid tools - Debian's uidmap and libsubid.191FILES:${PN}-uidmap = "\192    ${bindir}/newuidmap \193    ${bindir}/newgidmap \194    ${bindir}/getsubids \
warning oelint oelint.var.order.FILES meta/recipes-extended/shadow/shadow_4.20.3.bb:191
'FILES' should be placed before 'RDEPENDS'
188189# The subordinate id tools, on their own for images that need user namespaces190# without the rest of shadow's setuid tools - Debian's uidmap and libsubid.191FILES:${PN}-uidmap = "\192    ${bindir}/newuidmap \193    ${bindir}/newgidmap \194    ${bindir}/getsubids \
warning oelint oelint.var.filesoverride meta/recipes-extended/shadow/shadow_4.20.3.bb:200
'FILES' should not be overridden
197"198RDEPENDS:${PN} += "${PN}-uidmap"199200FILES:libsubid = "${libdir}/libsubid.so.*"201# A stable name, so ROOTFS_RO_UNNEEDED can list it across soname bumps.202DEBIAN_NOAUTONAME:libsubid = "1"203
warning oelint oelint.var.order.FILES meta/recipes-extended/shadow/shadow_4.20.3.bb:200
'FILES' should be placed before 'RDEPENDS'
197"198RDEPENDS:${PN} += "${PN}-uidmap"199200FILES:libsubid = "${libdir}/libsubid.so.*"201# A stable name, so ROOTFS_RO_UNNEEDED can list it across soname bumps.202DEBIAN_NOAUTONAME:libsubid = "1"203
Model review (bodnuti-qwen3.8-27b-48k-text): 0 findings

Found by a model, not checked by a person; not counted in the result.

34279 tokens read, 136 written; confidence high; layer 4: not escalated (touches meta/classes-recipe/image.bbclass): no escalation_model; prompt v5

No findings.

patchtest: 10 pass, 0 fail, 5 skip

Text report