[Bug 1230004] New: Selinux denies changing the hostname via gnome-control-center
https://bugzilla.suse.com/show_bug.cgi?id=1230004 Bug ID: 1230004 Summary: Selinux denies changing the hostname via gnome-control-center Classification: openSUSE Product: openSUSE Aeon Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Base Assignee: rbrown@suse.com Reporter: hotel-brot.0z@icloud.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0 Build Identifier: a few excerpts from the audit.log which mention gnome-control-center: type=BPF msg=audit(1723914563.851:246): prog-id=107 op=UNLOAD type=BPF msg=audit(1723914563.851:247): prog-id=106 op=UNLOAD type=BPF msg=audit(1723914563.851:248): prog-id=109 op=LOAD type=BPF msg=audit(1723914563.851:249): prog-id=110 op=LOAD type=BPF msg=audit(1723914563.851:250): prog-id=111 op=LOAD type=SERVICE_START msg=audit(1723914563.948:251): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723914593.984:252): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=BPF msg=audit(1723914594.064:253): prog-id=109 op=UNLOAD type=ANOM_ABEND msg=audit(1723914807.713:254): auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=25502 comm="gnome-control-c" exe="/usr/bin/gnome-control-center" sig=11 res=1 type=BPF msg=audit(1723914807.720:255): prog-id=112 op=LOAD type=BPF msg=audit(1723914807.720:256): prog-id=113 op=LOAD type=BPF msg=audit(1723914807.720:257): prog-id=114 op=LOAD type=BPF msg=audit(1723917533.005:138): prog-id=86 op=UNLOAD type=SERVICE_STOP msg=audit(1723917538.692:139): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723917538.698:140): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=BPF msg=audit(1723917538.772:141): prog-id=82 op=UNLOAD type=BPF msg=audit(1723917538.772:142): prog-id=81 op=UNLOAD type=BPF msg=audit(1723917538.772:143): prog-id=80 op=UNLOAD type=BPF msg=audit(1723917538.822:144): prog-id=75 op=UNLOAD type=SERVICE_START msg=audit(1723917631.236:145): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-timeline comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723917631.309:146): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723917631.313:147): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-timeline comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723917691.372:148): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723917991.236:149): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-cleanup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723917991.299:150): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723918037.602:151): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-cleanup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723918097.616:152): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723918301.340:153): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723918301.340:154): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-tmpfiles-clean comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723921233.286:155): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-timeline comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723921233.386:156): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723921233.386:157): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-timeline comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723921293.445:158): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=ANOM_ABEND msg=audit(1723921430.325:159): auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=9308 comm="gnome-control-c" exe="/usr/bin/gnome-control-center" sig=11 res=1 type=BPF msg=audit(1723921430.331:160): prog-id=87 op=LOAD type=BPF msg=audit(1723921430.331:161): prog-id=88 op=LOAD type=BPF msg=audit(1723921430.331:162): prog-id=89 op=LOAD type=SERVICE_START msg=audit(1723921430.335:163): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-9522-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723921431.091:164): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@0-9522-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=BPF msg=audit(1723921431.178:165): prog-id=89 op=UNLOAD type=BPF msg=audit(1723921431.178:166): prog-id=88 op=UNLOAD type=BPF msg=audit(1723921431.178:167): prog-id=87 op=UNLOAD type=SERVICE_START msg=audit(1723921601.230:168): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-cleanup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_START msg=audit(1723921601.320:169): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723921613.054:170): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapper-cleanup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=SERVICE_STOP msg=audit(1723921673.090:171): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=snapperd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' type=BPF msg=audit(1723921928.532:172): prog-id=90 op=LOAD Reproducible: Always Steps to Reproduce: 1. open gnome control center 2. system -> info 3. the hostname field for changing the hostname is not accessible Actual Results: changing the hostname is not possible Expected Results: Successful change of the hostname -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230004 https://bugzilla.suse.com/show_bug.cgi?id=1230004#c1 --- Comment #1 from hui <sturm-fr@web.de> --- This is even mentioned in the Aeon wiki that you can't use Gnome Control center to change hostname. Proper way is also described there... https://en.opensuse.org/Portal:Aeon/Troubleshooting#Set_hostname -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230004 https://bugzilla.suse.com/show_bug.cgi?id=1230004#c2 --- Comment #2 from Müller <hotel-brot.0z@icloud.com> --- A workaround doesn't fix the bug -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1230004 https://bugzilla.suse.com/show_bug.cgi?id=1230004#c3 --- Comment #3 from Müller <hotel-brot.0z@icloud.com> --- https://matrix.to/#/!rJKcfgIndKVMvmgntJ:opensuse.org/$D0U5n9-i3dj14uShX1ULOrUuHPVBsjvNxB_hJw9VLac?via=matrix.org&via=opensuse.org&via=tchncs.de also, richard has agreed to fix the bug :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com