Workaround for files/folders owned by a dynamic UID/GID #90

Closed
opened 2025-10-25 18:19:37 +00:00 by Siosm · 15 comments
Siosm commented 2025-10-25 18:19:37 +00:00 (Migrated from gitlab.com)

As long as we are still using nss-altfiles, we will have issues with dynamically allocated UIDs/GIDs from RPMs that install files in /var & /etc with those UIDs/GIDs.

Workaround that by selectively resetting the UID/GID for some folders in /var/ & /etc.

Long term fix is: https://github.com/coreos/fedora-coreos-tracker/issues/1599

See:

As long as we are still using `nss-altfiles`, we will have issues with dynamically allocated UIDs/GIDs from RPMs that install files in `/var` & `/etc` with those UIDs/GIDs. Workaround that by selectively resetting the UID/GID for some folders in `/var/` & `/etc`. Long term fix is: https://github.com/coreos/fedora-coreos-tracker/issues/1599 See: - https://gitlab.com/fedora/ostree/sig/-/issues/81 - https://github.com/coreos/fedora-coreos-tracker/issues/1599 - https://pagure.io/workstation-ostree-config/pull-request/597 - https://github.com/fedora-silverblue/issue-tracker/issues/679
Siosm commented 2025-10-25 18:19:37 +00:00 (Migrated from gitlab.com)

set status to To do

set status to **To do**
Siosm commented 2025-10-25 18:26:53 +00:00 (Migrated from gitlab.com)
https://pagure.io/workstation-ostree-config/pull-request/706
Siosm commented 2025-10-25 18:27:07 +00:00 (Migrated from gitlab.com)

mentioned in issue #81

mentioned in issue #81
Siosm commented 2025-10-25 20:28:21 +00:00 (Migrated from gitlab.com)

mentioned in commit ci-test@622dbff756d6c5284b8dd579f0ec1066d0583af1

mentioned in commit ci-test@622dbff756d6c5284b8dd579f0ec1066d0583af1
Siosm commented 2025-10-29 19:23:50 +00:00 (Migrated from gitlab.com)

mentioned in commit ci-test@b56b54f6369776f436bcd422155cef0c4e47e58e

mentioned in commit ci-test@b56b54f6369776f436bcd422155cef0c4e47e58e
Siosm commented 2025-10-31 14:07:41 +00:00 (Migrated from gitlab.com)

mentioned in commit ci-test@795036707038ac042452f1253f6fbec52654be34

mentioned in commit ci-test@795036707038ac042452f1253f6fbec52654be34
crobinso commented 2025-11-10 22:41:41 +00:00 (Migrated from gitlab.com)

Sorry to jump in here but I'm not sure exactly where to report. There's an rpm-ostree fedora user who reports similar UID change issues with the freshclam package, but the issue has been lingering for a while against libvirt package: https://bugzilla.redhat.com/show_bug.cgi?id=1988740

Where should I ask them to follow up to get their issue resolved? Thanks in advance

Sorry to jump in here but I'm not sure exactly where to report. There's an rpm-ostree fedora user who reports similar UID change issues with the freshclam package, but the issue has been lingering for a while against libvirt package: https://bugzilla.redhat.com/show_bug.cgi?id=1988740 Where should I ask them to follow up to get their issue resolved? Thanks in advance
Siosm commented 2025-11-13 14:10:55 +00:00 (Migrated from gitlab.com)

Right now it should be directed to the freshclam package to use either systemd features to set ownership on directories or tmpfiles config to do the same like: https://pagure.io/workstation-ostree-config/pull-request/706

Right now it should be directed to the freshclam package to use either systemd features to set ownership on directories or tmpfiles config to do the same like: https://pagure.io/workstation-ostree-config/pull-request/706
Siosm commented 2025-11-18 19:50:14 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
Siosm commented 2025-11-27 22:30:15 +00:00 (Migrated from gitlab.com)

mentioned in commit ci-test@052faae202c017c6d1c8ed0daef15dac54eede6b

mentioned in commit ci-test@052faae202c017c6d1c8ed0daef15dac54eede6b
Siosm commented 2025-12-16 16:21:13 +00:00 (Migrated from gitlab.com)
Workarounds in: - https://pagure.io/workstation-ostree-config/pull-request/706 - https://pagure.io/workstation-ostree-config/pull-request/712
Siosm commented 2026-01-05 17:00:08 +00:00 (Migrated from gitlab.com)

mentioned in commit ci-test@ca271955b1d1d4a58b7249f527fb7c6e00f70790

mentioned in commit ci-test@ca271955b1d1d4a58b7249f527fb7c6e00f70790
Siosm commented 2026-01-05 17:00:08 +00:00 (Migrated from gitlab.com)

mentioned in commit ci-test@e3c32ef75686b611202da919d3c7265d3b28b492

mentioned in commit ci-test@e3c32ef75686b611202da919d3c7265d3b28b492
Siosm commented 2026-01-16 18:06:42 +00:00 (Migrated from gitlab.com)

set status to In progress

set status to **In progress**
Owner

Proper fix for this issue is tracked in #108

Proper fix for this issue is tracked in https://forge.fedoraproject.org/atomic-desktops/tracker/issues/108
siosm closed this issue 2026-03-23 17:38:29 +00:00
Sign in to join this conversation.
No description provided.