Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Seems one part of the communication is allowed:
# sesearch -A -s lldpad_t -t kdumpctl_t -c unix_dgram_socket -p sendto
# sesearch -A -s kdumpctl_t -t lldpad_t -c unix_dgram_socket -p sendto
allow unconfined_domain_type domain:unix_dgram_socket { accept append bind connect create getattr getopt ioctl listen lock map name_bind read recv_msg recvfrom relabelfrom relabelto send_msg sendto setattr setopt shutdown write };
Comment 3guazhang@redhat.com
2021-07-19 10:31:49 UTC
Hi,
from the job the case hit the error, but sometimes just reboot also hit it too, so no clear reproducer.
if you want to know the case steps, please refer below steps.
# get fcoe luns mpatha
# vgcreate testvg /dev/mapper/mpatha
# lvcreate -L500M -n test_lv testvg -y
# mkfs.xfs -f /dev/mapper/testvg-test_lv
# echo '/dev/mapper/testvg-test_lv /mnt/mytest xfs _netdev 0 2' >> /etc/fstab
# mount /mnt/mytest
# reboot
# check the lv if mounted
# dt flags=direct oncerr=abort iodir=forward align=0 min=b max=256k pattern=incr dispose=keep disable=eof,pstats slices=0 runtime=120 of=/mnt/mytest/dt.img
# reboot
# check the lv if mounted
# umount /mnt/mytest
# wipefs --all /dev/mapper/testvg-test_lv
# remove lvm
https://beaker.engineering.redhat.com/recipes/10326409#tasks
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2021:4420
SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Memory protection checking: actual (secure) Max kernel policy version: 33 selinux-policy-3.14.3-72.el8.noarch ---- time->Sun Jul 4 22:27:29 2021 type=PROCTITLE msg=audit(1625452049.961:55): proctitle=2F7573722F7362696E2F6C6C64706164002D74 type=SYSCALL msg=audit(1625452049.961:55): arch=c000003e syscall=44 success=no exit=-13 a0=3 a1=562bdbb615e0 a2=1a a3=0 items=0 ppid=1 pid=1170 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="lldpad" exe="/usr/sbin/lldpad" subj=system_u:system_r:lldpad_t:s0 key=(null) type=AVC msg=audit(1625452049.961:55): avc: denied { sendto } for pid=1170 comm="lldpad" path=002F636F6D2F696E74656C2F6C6C647061642F34383233 scontext=system_u:system_r:lldpad_t:s0 tcontext=system_u:system_r:kdumpctl_t:s0 tclass=unix_dgram_socket permissive=0 ---- time->Sun Jul 4 22:27:31 2021 type=PROCTITLE msg=audit(1625452051.970:56): proctitle=2F7573722F7362696E2F6C6C64706164002D74 type=SYSCALL msg=audit(1625452051.970:56): arch=c000003e syscall=44 success=no exit=-13 a0=3 a1=562bdbb615e0 a2=12 a3=0 items=0 ppid=1 pid=1170 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="lldpad" exe="/usr/sbin/lldpad" subj=system_u:system_r:lldpad_t:s0 key=(null) type=AVC msg=audit(1625452051.970:56): avc: denied { sendto } for pid=1170 comm="lldpad" path=002F636F6D2F696E74656C2F6C6C647061642F34383237 scontext=system_u:system_r:lldpad_t:s0 tcontext=system_u:system_r:kdumpctl_t:s0 tclass=unix_dgram_socket permissive=0 [root@storageqe-64 ~]# sealert -l 26b75a38-91f6-4972-823e-16471041e851 SELinux is preventing /usr/sbin/lldpad from sendto access on the unix_dgram_socket @/com/intel/lldpad/4880. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that lldpad should be allowed sendto access on the 4880 unix_dgram_socket 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 'lldpad' --raw | audit2allow -M my-lldpad # semodule -X 300 -i my-lldpad.pp Additional Information: Source Context system_u:system_r:lldpad_t:s0 Target Context system_u:system_r:kdumpctl_t:s0 Target Objects @/com/intel/lldpad/4880 [ unix_dgram_socket ] Source lldpad Source Path /usr/sbin/lldpad Port <Unknown> Host storageqe-64.rhts.eng.pek2.redhat.com Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-3.14.3-72.el8.noarch Local Policy RPM selinux-policy-targeted-3.14.3-72.el8.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name storageqe-64.rhts.eng.pek2.redhat.com Platform Linux storageqe-64.rhts.eng.pek2.redhat.com 4.18.0-320.el8.x86_64 #1 SMP Thu Jul 1 15:28:02 EDT 2021 x86_64 x86_64 Alert Count 4 First Seen 2021-07-04 22:27:29 EDT Last Seen 2021-07-04 22:45:57 EDT Local ID 26b75a38-91f6-4972-823e-16471041e851 Raw Audit Messages type=AVC msg=audit(1625453157.487:54): avc: denied { sendto } for pid=1185 comm="lldpad" path=002F636F6D2F696E74656C2F6C6C647061642F34383830 scontext=system_u:system_r:lldpad_t:s0 tcontext=system_u:system_r:kdumpctl_t:s0 tclass=unix_dgram_socket permissive=0 Hash: lldpad,lldpad_t,kdumpctl_t,unix_dgram_socket,sendto [root@storageqe-64 ~]# ausearch -c 'lldpad' --raw | audit2allow -M my-lldpad Nothing to do [root@storageqe-64 ~]# semodule -X 300 -i my-lldpad.pp libsemanage.map_file: Unable to open my-lldpad.pp (No such file or directory). libsemanage.semanage_direct_install_file: Unable to read file my-lldpad.pp (No such file or directory). semodule: Failed on my-lldpad.pp! [root@storageqe-64 ~]# https://beaker.engineering.redhat.com/recipes/10240966#task128389646,task128389647