Bug 2443788

Summary: avc: denied { create } for pid=1 comm="systemd" name="io.systemd.Hostname" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=lnk_file permissive=0
Product: [Fedora] Fedora Reporter: Bruno Goncalves <bgoncalv>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---Flags: zpytela: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-03-13 13:28:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bruno Goncalves 2026-03-02 11:45:37 UTC
booting recent Rawhide shows:
avc:  denied  { create } for  pid=1 comm="systemd" name="io.systemd.Login" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=lnk_file permissive=0


type=SERVICE_START msg=audit(1772451766.346:50): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-update-utmp comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'^]UID="root" AUID="unset"
type=SERVICE_START msg=audit(1772451766.348:51): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=audit-rules comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'^]UID="root" AUID="unset"
type=SERVICE_STOP msg=audit(1772451766.348:52): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=audit-rules comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'^]UID="root" AUID="unset"
type=AVC msg=audit(1772451766.415:53): avc:  denied  { create } for  pid=1 comm="systemd" name="io.systemd.Hostname" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=lnk_file permissive=0
type=AVC msg=audit(1772451766.418:54): avc:  denied  { create } for  pid=1 comm="systemd" name="io.systemd.Login" scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=lnk_file permissive=0



selinux-policy-42.24-1.fc45.noarch
systemd-260~rc1-5.fc45.x86_64


Reproducible: Always

Comment 1 Zdenek Pytela 2026-03-02 11:48:40 UTC
I cannot find the file path, but:

f45# find /run -name io.systemd.* -type l
/run/varlink/registry/io.systemd.Journal
/run/varlink/registry/io.systemd.Manager
/run/varlink/registry/io.systemd.Unit
/run/user/0/varlink/registry/io.systemd.Manager
/run/user/0/varlink/registry/io.systemd.Unit
/run/user/0/varlink/registry/io.systemd.JournalAccess
/run/user/0/varlink/registry/io.systemd.AskPassword
/run/systemd/userdb/io.systemd.DropIn
/run/systemd/userdb/io.systemd.NameServiceSwitch
f45# rpm -q systemd
systemd-260~rc1-5.fc45.x86_64