-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
rhel-10.1
-
No
-
Moderate
-
subs-client-tools
-
0
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
See traceback when running insights-client --register:
Sep 2 09:18:06 wala97rhellvmazure09020435-vm1 systemd[1]: Starting Check for insights from Red Hat Cloud Services...
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: Traceback (most recent call last):
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: File "/usr/bin/insights-client", line 11, in <module>
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: _main()
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: File "/usr/lib/python3.9/site-packages/insights_client/_init_.py", line 508, in _main
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: run_phase(p, client, validated_eggs)
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: File "/usr/lib/python3.9/site-packages/insights_client/_init_.py", line 332, in run_phase
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: selinux.setexeccon(new_core_context)
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: File "/usr/lib64/python3.9/site-packages/selinux/_init_.py", line 567, in setexeccon
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: return _selinux.setexeccon(con)
Sep 2 09:18:08 wala97rhellvmazure09020435-vm1 insights-client[37747]: OSError: [Errno 22] Invalid argument
Please provide the package NVR for which bug is seen:
RHEL-9:
insights-core-selinux-3.7.0-2.el9.noarch
insights-client-3.9.0-5.el9.noarch
RHEL-10:
insights-core-selinux-3.7.0-1.el10.noarch
insights-client-3.10.1-2.el10.noarch
How reproducible:
100%
Steps to reproduce
- Register the system(subscription-manager register)
- insights-client --register
- check /var/log/messages
Expected results
No traceback
Actual results
See traceback about insights-client
- is cloned by
-
RHEL-112361 [RHEL-9]insights-client traceback on _selinux.setexeccon(con)
-
- Closed
-