Bug 2517426 - Unable to set user icon in Fedora 45 Gnome 51
Summary: Unable to set user icon in Fedora 45 Gnome 51
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 45
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: GNOME SIG Unassigned
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-17 13:44 UTC by Todd Sarnstrom
Modified: 2026-08-26 14:24 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-21 07:26:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3348 0 None open Allow accountsd create and use its private tmpfs files 2026-08-17 14:48:11 UTC

Description Todd Sarnstrom 2026-08-17 13:44:18 UTC
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
```

Comment 1 Zdenek Pytela 2026-08-17 14:48:11 UTC
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.

Comment 2 Milan Crha 2026-08-18 07:21:18 UTC
I can confirm, it saves the icon/avatar with the updated selinux packages, and the avatar is shown in the gdm too.

Comment 3 Felipe Borges 2026-08-18 11:28:00 UTC
I proposed an upstream fix at https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/3469

Comment 4 Efraim Kaov 2026-08-26 14:05:26 UTC
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.

Comment 5 Milan Crha 2026-08-26 14:24:26 UTC
It requires that upstream fix Felipe mentioned above. It'll be in the 51.rc release of the gnome-control-center.


Note You need to log in before you can comment on or make changes to this bug.