@zpytela Thanks for your clarification. Auto-generation of serial-getty_@_ttyS0.service works as expected in F41 with selinux-policy-41.9-1.fc41 (BZ#2290482, Comment 68).
IMO it's technically not a regression as using ssh by virtqemud was not allowed in the previous build. Anyway fix is on the way, a new build will be available today.
BZ#2298080 SELinux policy prevents systemd-getty-generator from enabling serial-getty@ttyS0.service
0
0
BZ#2298663 SELinux is preventing systemd-coredum from 'read' accesses on the file labeled nsfs_t.
0
0
BZ#2298844 SELinux is preventing systemd-cryptse from read, write, open access on the file /run/systemd/generator/dev-mapper-luks\x2d8f513d23\x2d9730\x2d4bfd\x2db813\x2dda5455b029fa.device.d/.#40-device-timeout.conff6799cfd5a438c63.
0
0
BZ#2299014 I think this happened during a dnf upgrade: SELinux is preventing systemd-fstab-g from read, write access on the Datei /run/systemd/generator/dev-mapper-luks\x2d476affaa\x2de7db\x2d4f60\x2dab09\x2d42ba968a1757.device.d/.#50-device-timeout.confe7be011a1c2
This update has been submitted for testing by zpytela.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'waiting'.
Works for me..
This update's test gating status has been changed to 'passed'.
Before I post negative karma, BZ#2298080 doesn't seem to be fixed.
After running:
$ sudo semodule -DB
And rebooting in an F40 VM with console=ttyS0 on the kernel command-line:
$ journalctl --no-hostname -b | fgrep -i avc | fgrep ttyS0 Jul 23 20:05:46 kernel: audit: type=1400 audit(1721790346.277:8): avc: denied { read write } for pid=446 comm="systemd-getty-g" name="ttyS0" dev="devtmpfs" ino=92 scontext=system_u:system_r:systemd_getty_generator_t:s0 tcontext=system_u:object_r:tty_device_t:s0 tclass=chr_file permissive=0
This update has been pushed to testing.
Works.
This update can be pushed to stable now if the maintainer wishes
@stephent98 I accidentally ommited one commit when backporting, so it's fixed in rawhide only, F40 will follow soon. Please use negative karma wisely.
@zpytela Thanks for your clarification. Auto-generation of serial-getty_@_ttyS0.service works as expected in F41 with selinux-policy-41.9-1.fc41 (BZ#2290482, Comment 68).
cockpit-machine's nightly run against updates-testing https://github.com/cockpit-project/cockpit-machines/issues/1739 picked up this update and causes a regression with migration. Apparently libvirt cannot run ssh any more:
audit: SELINUX_ERR op=security_compute_sid invalid_context="system_u:system_r:ssh_t:s0" scontext=system_u:system_r:virtqemud_t:s0 tcontext=system_u:object_r:ssh_exec_t:s0 tclass=process virtqemud[1036]: Cannot recv data: libvirt: error : cannot execute binary ssh: Permission denied: Connection reset by peer
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
IMO it's technically not a regression as using ssh by virtqemud was not allowed in the previous build. Anyway fix is on the way, a new build will be available today.
This update has been obsoleted by selinux-policy-40.26-1.fc40.
no regressions noted but I'm voting 0 due other users comments