[Bug 1224454] New: Upgrading from Microos to Aeon gives incorrect user group
https://bugzilla.suse.com/show_bug.cgi?id=1224454 Bug ID: 1224454 Summary: Upgrading from Microos to Aeon gives incorrect user group Classification: openSUSE Product: openSUSE Aeon Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Base Assignee: rbrown@suse.com Reporter: ryip10@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- After upgrading from Microos to Aeon listing the home directory shows this: ray@localhost:~> ls -ltr total 340 drwxr-xr-x. 1 ray 1000 0 Mar 21 21:28 Templates drwxr-xr-x. 1 ray 1000 0 Mar 21 21:28 Public drwxr-xr-x. 1 ray 1000 0 Mar 21 21:28 Desktop drwxr-xr-x. 1 ray 1000 0 Mar 21 21:28 Videos drwxr-xr-x. 1 ray 1000 0 Mar 21 21:28 Music drwxr-xr-x. 1 ray 1000 46 Mar 22 14:59 Downloads drwxr-xr-x. 1 ray 1000 84 Mar 22 22:08 Pictures drwxr-xr-x. 1 ray 1000 144 Mar 23 22:32 Documents notice the group here is 1000, which means /etc/group was not ported over Distrobox was not working either: ray@localhost:~> distrobox create -n test rockylinux:9 Trying to pull registry.opensuse.org/opensuse/distrobox:latest... Getting image source signatures Copying blob 5d8902336850 [==========>---------------------------] 62.0MiB / 214.0MiB | 10.9 MiB/s Copying blob 4c696967ad5d done | Copying blob 5d8902336850 done | Copying blob 4c696967ad5d done | Error: copying system image from manifest list: writing blob: adding layer with blob "sha256:4c696967ad5dc2bf3ff451c9598c6b9eaf506917a0db88054215da044ecbd1e5": ApplyLayer stdout: stderr: potentially insufficient UIDs or GIDs available in user namespace (requested 0:15 for /etc/shadow): Check /etc/subuid and /etc/subgid if configured locally and run "podman system migrate": lchown /etc/shadow: invalid argument exit status 1 <applied the first fix here> <got another error about groups> ray@localhost:~> distrobox enter test Error: unable to start container "7ed9fa594050c33f11e631ac48cbd4382994171b4198964a33e5868ad8deff35": creating temporary passwd file for container 7ed9fa594050c33f11e631ac48cbd4382994171b4198964a33e5868ad8deff35: failed to get current group: group: unknown groupid 1000 ------------- The Fix.... For distrobox: sudo usermod --add-subuids 10000-75535 ray sudo usermod --add-subgids 10000-75535 ray podman system migrate For the group: looking at /etc/group, it was missing an entry. Adding the user back to group allows distrobox to function again: <edit /etc/group> ray:x:1000: -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1224454 https://bugzilla.suse.com/show_bug.cgi?id=1224454#c1 Richard Brown <rbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Richard Brown <rbrown@suse.com> --- Fixed in tik v0.9.4 and later https://github.com/sysrich/tik/commit/5921d324acbf18f55e8216911641fc92bfe470... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com