Bug 2338713 - SELinux is preventing gnome-remote-de from 'open' accesses on the file /etc/resolv.conf.
Summary: SELinux is preventing gnome-remote-de from 'open' accesses on the file /etc/r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 41
Hardware: x86_64
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:382ec2ed6cef4be497ab5b29730...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-18 01:36 UTC by Thomas Köller
Modified: 2025-02-03 01:18 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-41.31-1.fc41
Clone Of:
Environment:
Last Closed: 2025-02-03 01:18:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (1.96 KB, text/plain)
2025-01-18 01:36 UTC, Thomas Köller
no flags Details
File: os_info (681 bytes, text/plain)
2025-01-18 01:36 UTC, Thomas Köller
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 2530 0 None open Allow gnome-remote-desktop read resolv.conf 2025-01-21 15:53:29 UTC

Description Thomas Köller 2025-01-18 01:36:51 UTC
Description of problem:
Installed updated packages usin 'dnf upgrade'.
SELinux is preventing gnome-remote-de from 'open' accesses on the file /etc/resolv.conf.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that gnome-remote-de should be allowed open access on the resolv.conf file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'gnome-remote-de' --raw | audit2allow -M my-gnomeremotede
# semodule -X 300 -i my-gnomeremotede.pp

Additional Information:
Source Context                system_u:system_r:gnome_remote_desktop_t:s0
Target Context                unconfined_u:object_r:net_conf_t:s0
Target Objects                /etc/resolv.conf [ file ]
Source                        gnome-remote-de
Source Path                   gnome-remote-de
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-41.28-1.fc41.noarch
Local Policy RPM              selinux-policy-targeted-41.28-1.fc41.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 6.12.9-200.fc41.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Thu Jan 9 16:05:40 UTC 2025 x86_64
Alert Count                   30
First Seen                    2024-11-16 01:37:19 CET
Last Seen                     2025-01-18 02:33:38 CET
Local ID                      0886810f-cd88-42ff-87d4-edcbd6f1d1af

Raw Audit Messages
type=AVC msg=audit(1737164018.876:514): avc:  denied  { open } for  pid=4749 comm="gnome-remote-de" path="/etc/resolv.conf" dev="sdb2" ino=22950647 scontext=system_u:system_r:gnome_remote_desktop_t:s0 tcontext=unconfined_u:object_r:net_conf_t:s0 tclass=file permissive=1


Hash: gnome-remote-de,gnome_remote_desktop_t,net_conf_t,file,open

Version-Release number of selected component:
selinux-policy-targeted-41.28-1.fc41.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing gnome-remote-de from 'open' accesses on the file /etc/resolv.conf.
package:        selinux-policy-targeted-41.28-1.fc41.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.12.9-200.fc41.x86_64
comment:        Installed updated packages usin 'dnf upgrade'.
component:      selinux-policy

Comment 1 Thomas Köller 2025-01-18 01:36:53 UTC
Created attachment 2066528 [details]
File: description

Comment 2 Thomas Köller 2025-01-18 01:36:54 UTC
Created attachment 2066529 [details]
File: os_info

Comment 3 Fedora Update System 2025-01-28 15:37:48 UTC
FEDORA-2025-9da160c869 (selinux-policy-41.30-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9da160c869

Comment 4 Fedora Update System 2025-01-29 05:50:50 UTC
FEDORA-2025-9da160c869 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9da160c869`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9da160c869

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-02-02 02:01:40 UTC
FEDORA-2025-62c612355c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-62c612355c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-62c612355c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-02-03 01:18:57 UTC
FEDORA-2025-62c612355c (selinux-policy-41.31-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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