Wind River Support Network

HomeDefectsLIN6-2552
Fixed

LIN6-2552 : wrlinux 5.0.1 - have packages user the long useradd system parameter and user-group

Created: Oct 7, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 19, 2013
Previous ID: LIN5-7066
Found In Version: 6.0
Fix Version: 6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
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