Bug ID 1166743
Summary /etc/subuid and /etc/subgid entries are not created for yast created users, unlike useradd
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS SUSE Other
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter katharine.chui@gmail.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

Installation image used:
openSUSE-Tumbleweed-DVD-x86_64-Snapshot20200312-Media.iso

/etc/subuid and /etc/subgid entries are required for non privileged podman to
work as described in https://bugzilla.opensuse.org/show_bug.cgi?id=1137059

However users added with yast2 during install and after install lacks the
required entries

Meanwhile, command line utility `useradd` creates those entries, introducing
inconsistency

Steps to reproduce:
1. Install openSuse Tumbleweed, creating the first user `with_installer`
2. `with_installer:100000:65536` should be added to /etc/subuid and /etc/subgid
 after installation, however that is currently not the observed behavior
3. Create a new user `with_yast` with YaST2, `with_yast:100000:65536` should be
added to /etc/subuid and /etc/subgid, however that is currently not the
observed behavior
4. Create a new user with `useradd -m new_user`, /etc/subuid and /etc/subgid is
created with entry `new_user:100000:65536`

Workaround for non privileged podman with YaST2 created users:
add line `USERNAME:100000:65536` to /etc/subuid and /etc/subgid


You are receiving this mail because: