[oe] [meta-networking] [PATCH] tinyproxy: 'nobody' should belong to 'nogroup'
S. Lockwood-Childs
sjl at vctlabs.com
Fri Dec 15 07:13:51 UTC 2017
The classic 'nobody' user is supposed to belong to 'nogroup' group.
Without this change, it will get a 'nobody' group created as its
default group instead.
Ensuring the existing 'nogroup' is used as default group solves
following sort of complaint by useradd-staticids.bbclass (when static ids
are enabled):
tinyproxy: Changing groupname nobody's gid from (65534) to (1000),
verify configuration files!
Signed-off-by: S. Lockwood-Childs <sjl at vctlabs.com>
---
meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb
index e8025c4..efc0acf 100644
--- a/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb
+++ b/meta-networking/recipes-support/tinyproxy/tinyproxy_1.8.4.bb
@@ -23,7 +23,7 @@ inherit autotools systemd useradd
#User specific
USERADD_PACKAGES = "${PN}"
-USERADD_PARAM_${PN} = "nobody"
+USERADD_PARAM_${PN} = "nobody -g nogroup"
GROUPADD_PARAM_${PN} = "--system tinyproxy"
SYSTEMD_PACKAGES += "${BPN}"
--
1.9.4
More information about the Openembedded-devel
mailing list