This reverts commit 33c720cd03.
Reason for revert: failing bootstrap, because sysinv group was removed.
Story: 2009101
Task: 43417
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Iaa3154518bfc0361b21a383f1fc85d83f0e22212
When the debian image boots, udev complains about
missing groups. Specifically 'video', 'audio', and 'lp'.
These groups were remvoved in Centos. Re-add the groups
to silence the warnings in the daemon.log when the
machine boots.
Test Plan
PASS Build base-passwd package
PASS Boot Debian ISO
PASS Check for udev warnings in the daemon.log
Story: 2009101
Task: 43417
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: Id5b5901615246ede736369b79a72d5cc9d0599cc
Let barbican package create the user and group.
Test:
PASS: build-pkgs
PASS: build-image
PASS: install-iso
PASS: check user and group created by packaging
PASS: bootstrap
Depends-On: https://review.opendev.org/c/starlingx/upstream/+/836048
Story: 2009101
Task: 43417
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ie99844f5dd8db6b017db78e9a8e7880778380feb
Removed user from group/passwd files to prevent a
conflict when the postgresql-common package is installed.
Story: 2009221
Task: 43417
Test Plan
PASS Apply patch build package
PASS Build base-passwd package
PASS Run build-image
PASS Check to see if postgresql is running when
the image is running.
PASS Debootstrap
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I885ed3467548013ad9c2be3d7d64fafad3703adc
Remove the keystone group and user since its created
when the keystone package is installed and the image is built.
Tested by checking that the keystone user/group was still
on the image after they were removed from base-passwd.
Story: 2009221
Task: 43417
Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I404d8d17cfc901c4cb2fed3b79a05c440c063641
Porting patch 0001-Change-group-passwd-and-uidgid.patch from setup of
CentOS. Skip porting uidgid file, a doc file which changed format.
Postgres,neutron,barbican,ceilometer all creates the user when the
package installs so this is not needed as well.
A new patch 0002-update-passwd.c-set-...-before-removin.patch is
used to fix a bug in update-passwd of removing items from group,
passwd. More details please see the patch header.
Test Plan: building, installing, booting, checking /etc/group,
/etc/passwd
Pass: building test
Pass: installing test
Pass: booting test
Pass: the /etc/group, /etc/passwd are same with /usr/shar/base-passwd
/group.master and passwd.master
Story: 2009221
Task: 43417
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I53f1f323e2e293c641af7142a0d3388cc3dde8eb