Commit Graph

7 Commits

Author SHA1 Message Date
Dan Voiculeasa
96b653de77 Revert "debian: Silence udev warnings"
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
2022-05-12 15:43:14 +00:00
Charles Short
33c720cd03 debian: Silence udev warnings
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
2022-04-13 09:44:57 -04:00
Dan Voiculeasa
2ca99db88a debian: Remove barbican user and group
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
2022-03-31 20:32:57 +03:00
Yue Tao
4a709349a9 meta_data.yaml: add sha256sum checksum
Test Plan:
Pass: Verify sha256sum checksum via "download -s"

Story: 2008846
Task: 44578

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: I78d9dff2af0afb18c6db4e8d2d39ef79b5cf5864
2022-03-03 14:30:40 +08:00
Charles Short
d04b7a4c54 debian: Remove postgres user from group/passwd files
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
2022-03-02 15:40:13 +00:00
Charles Short
b8efc47d74 debian: Remove keystone group and user
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
2021-12-10 10:46:39 -05:00
Yue Tao
9b545c5e19 Add debian package for base-passwd
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
2021-11-27 21:53:17 +08:00