From: "S. Lockwood-Childs" <sjl@vctlabs.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-networking] [PATCH] tinyproxy: 'nobody' should belong to 'nogroup'
Date: Thu, 14 Dec 2017 23:13:51 -0800 [thread overview]
Message-ID: <20171215071351.GL27580@vctlabs.com> (raw)
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@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
reply other threads:[~2017-12-15 7:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171215071351.GL27580@vctlabs.com \
--to=sjl@vctlabs.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox