Fedora Account System
Red Hat Associate
Red Hat Customer
Test Day Fedora 45 Gnome 51 Desktop I am unable to change/set the user icon. This appears to be a SELinux permission issue. Relevant journal entry shown below. ``` Aug 16 11:35:16 fedora audit[829]: AVC avc: denied { write } for pid=829 comm="accounts-daemon" path=2F6D656D66643A6163636F756E7473736572766963655F69636F6E5F66696C65202864656C6574656429 dev="tmpfs" ino=13449 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=0 Aug 16 11:35:16 fedora gnome-control-center[5297]: SetIconFile call failed: GDBus.Error:org.freedesktop.Accounts.Error.Failed: copying icon file failed: Permission denied ``` Reproducible: Always Steps to Reproduce: 1. Navigate to Settings -> System -> Users 2. Edit user icon for current user 3. No change occurs, silent failure 4. journalctl show `SetIconFile call failed: GDBus.Error:org.freedesktop.Accounts.Error.Failed: copying icon file failed: Permission denied` Actual Results: Nothing, silent failure to change user icon. Expected Results: User icon should update to new chosen icon. Additional Information: ``` Aug 16 11:35:16 fedora audit[829]: AVC avc: denied { write } for pid=829 comm="accounts-daemon" path=2F6D656D66643A6163636F756E7473736572766963655F69636F6E5F66696C65202864656C6574656429 dev="tmpfs" ino=13449 scontext=system_u:system_r:accountsd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=0 Aug 16 11:35:16 fedora gnome-control-center[5297]: SetIconFile call failed: GDBus.Error:org.freedesktop.Accounts.Error.Failed: copying icon file failed: Permission denied ```
You can try a copr build from https://github.com/fedora-selinux/selinux-policy/pull/3348 to check it the fix is complete. Reqular build will be later this week.
I can confirm, it saves the icon/avatar with the updated selinux packages, and the avatar is shown in the gdm too.
I proposed an upstream fix at https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/3469
I can confirm that on Fedora_45_Branched_20260823.n.0 and Fedora_45_Branched_20260826.n.0, the icon/avatar can be set successfully. However, the change is visible in Users Settings only after going one step back and entering Users Settings again, or after exiting Settings and opening Users Settings again. The expected behavior is for the changed icon/avatar to be displayed immediately after the user changes it.
It requires that upstream fix Felipe mentioned above. It'll be in the 51.rc release of the gnome-control-center.