Wind River Support Network

HomeDefectsLIN5-7062
Fixed

LIN5-7062 : wrlinux 5.0.1 - have packages user the long useradd system parameter and user-group

Created: Oct 7, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 17, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

in wrlinux 5.0.1 it would be good to add the --user-group parameter to the packages that create user groups for better visibility.

in nfs-utils's case, it should be

USERADD_PARAM_${PN}-client = "--system -d /var/lib/nfs s /bin/false
--user-group rpcuser"

similar to openssh_6.0p1.bb that can be viewed as a reference:
 32 inherit useradd update-rc.d update-alternatives
 33
 34 USERADD_PACKAGES = "${PN}-sshd"
 35 USERADD_PARAM_${PN}-sshd = "--system --no-create-home --home-dir
/var/run/sshd --shell /bin/false --user-group sshd"

Steps to Reproduce

check bbappend files for various packages

Other Downloads


Live chat
Online