{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8875","repository_url":"https://api.github.com/repos/cockpit-project/cockpit","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8875/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8875/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8875/events","html_url":"https://github.com/cockpit-project/cockpit/issues/8875","id":307761706,"number":8875,"title":"RHEL, Centos: SELinux is preventing /usr/lib/systemd/systemd-machined from 'search' accesses","user":{"login":"suomiy","id":3648838,"avatar_url":"https://avatars0.githubusercontent.com/u/3648838?v=4","gravatar_id":"","url":"https://api.github.com/users/suomiy","html_url":"https://github.com/suomiy","followers_url":"https://api.github.com/users/suomiy/followers","following_url":"https://api.github.com/users/suomiy/following{/other_user}","gists_url":"https://api.github.com/users/suomiy/gists{/gist_id}","starred_url":"https://api.github.com/users/suomiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suomiy/subscriptions","organizations_url":"https://api.github.com/users/suomiy/orgs","repos_url":"https://api.github.com/users/suomiy/repos","events_url":"https://api.github.com/users/suomiy/events{/privacy}","received_events_url":"https://api.github.com/users/suomiy/received_events","type":"User","site_admin":false},"labels":[{"id":279643827,"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/knownissue","name":"knownissue","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2018-03-22T18:22:55Z","updated_at":"2018-04-06T16:26:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"caused by restarting libvirt (from PR #8493)\r\n\r\nSELinux \r\n```\r\nError: type=1400 audit(1521740509.455:5): avc:  denied  { search } for  pid=1514 comm=\"systemd-machine\" name=\"1513\" dev=\"proc\" ino=27512 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_tcg_t:s0:c222,c949 tclass=dir\r\n```\r\nDownstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=1444754"},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/379305555","html_url":"https://github.com/cockpit-project/cockpit/issues/8875#issuecomment-379305555","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8875","id":379305555,"user":{"login":"cockpituous","id":14330603,"avatar_url":"https://avatars1.githubusercontent.com/u/14330603?v=4","gravatar_id":"","url":"https://api.github.com/users/cockpituous","html_url":"https://github.com/cockpituous","followers_url":"https://api.github.com/users/cockpituous/followers","following_url":"https://api.github.com/users/cockpituous/following{/other_user}","gists_url":"https://api.github.com/users/cockpituous/gists{/gist_id}","starred_url":"https://api.github.com/users/cockpituous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockpituous/subscriptions","organizations_url":"https://api.github.com/users/cockpituous/orgs","repos_url":"https://api.github.com/users/cockpituous/repos","events_url":"https://api.github.com/users/cockpituous/events{/privacy}","received_events_url":"https://api.github.com/users/cockpituous/received_events","type":"User","site_admin":false},"created_at":"2018-04-06T16:26:16Z","updated_at":"2018-04-06T16:26:16Z","author_association":"CONTRIBUTOR","body":"verify/rhel-7-5\nOoops, it happened again<hr>\n```\n# ----------------------------------------------------------------------\n# testLibvirt (check_machines.TestMachines)\n#\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\nls: cannot access /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_NESTED: No such file or directory\nftruncate() failed: Permission denied\n\nDevTools listening on ws://127.0.0.1:9802/devtools/browser/13b68e40-c3cc-4a6b-94d0-8efa938fd8ee\n[0406/162531.445864:ERROR:zygote_host_impl_linux.cc(268)] Failed to adjust OOM score of renderer with pid 53882: Permission denied (13)\n[0406/162532.691404:ERROR:zygote_host_impl_linux.cc(268)] Failed to adjust OOM score of renderer with pid 53924: Permission denied (13)\nRemoved symlink /etc/systemd/system/multi-user.target.wants/libvirtd.service.\nRemoved symlink /etc/systemd/system/sockets.target.wants/virtlogd.socket.\nRemoved symlink /etc/systemd/system/sockets.target.wants/virtlockd.socket.\n> warning: error: no valid connection\nerror: internal error: the caller doesn't support keepalive protocol; perhaps it's missing event loop implementation\n\n> warning: spawn 'virsh' process returned error: \"{\"problem\":null,\"exit_status\":1,\"exit_signal\":null,\"message\":\"error: no valid connection\\nerror: internal error: the caller doesn't support keepalive protocol; perhaps it's missing event loop implementation\"}\", data: \"\"\"\"\n> warning: dominfo() exception: 'error: no valid connection\nerror: internal error: the caller doesn't support keepalive protocol; perhaps it's missing event loop implementation', data: '', output: '\n'\nCreated symlink from /etc/systemd/system/multi-user.target.wants/libvirtd.service to /usr/lib/systemd/system/libvirtd.service.\nCreated symlink from /etc/systemd/system/sockets.target.wants/virtlockd.socket to /usr/lib/systemd/system/virtlockd.socket.\nCreated symlink from /etc/systemd/system/sockets.target.wants/virtlogd.socket to /usr/lib/systemd/system/virtlogd.socket.\nUnexpected journal message 'type=1400 audit(1523031954.848:5): avc:  denied  { search } for  pid=1515 comm=\"systemd-machine\" name=\"1514\" dev=\"proc\" ino=27500 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_tcg_t:s0:c249,c353 tclass=dir'\nUnexpected journal message 'type=1400 audit(1523031963.221:6): avc:  denied  { search } for  pid=1515 comm=\"systemd-machine\" name=\"1514\" dev=\"proc\" ino=27500 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_tcg_t:s0:c249,c353 tclass=dir'\nWrote JS log to TestMachines-testLibvirt-rhel-7-5-127.0.0.2-2301-FAIL.js.log\nJournal extracted to TestMachines-testLibvirt-rhel-7-5-127.0.0.2-2301-FAIL.log\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\nTraceback (most recent call last):\n  File \"/build/cockpit/test/common/testlib.py\", line 669, in tearDown\n    self.check_journal_messages()\n  File \"/build/cockpit/test/common/testlib.py\", line 821, in check_journal_messages\n    raise Error(first)\nError: type=1400 audit(1523031954.848:5): avc:  denied  { search } for  pid=1515 comm=\"systemd-machine\" name=\"1514\" dev=\"proc\" ino=27500 scontext=system_u:system_r:systemd_machined_t:s0 tcontext=system_u:system_r:svirt_tcg_t:s0:c249,c353 tclass=dir\n\nnot ok 12 testLibvirt (check_machines.TestMachines) # duration: 68s\nWrote screenshot to TestMachines-testLibvirt-rhel-7-5-127.0.0.2-2301-FAIL.png\nWrote HTML dump to TestMachines-testLibvirt-rhel-7-5-127.0.0.2-2301-FAIL.html\nWrote JS log to TestMachines-testLibvirt-rhel-7-5-127.0.0.2-2301-FAIL.js.log\nJournal extracted to TestMachines-testLibvirt-rhel-7-5-127.0.0.2-2301-FAIL.log\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\n```\nFirst occurrence: 2018-04-06T16:26:14.673957 | revision ada04b5ef1fdf33d7aa39c7969d55b881728ab56, [logs](http://fedorapeople.org/groups/cockpit/logs/pull-8947-20180406-153535-ada04b5e-verify-rhel-7-5/log.html)\nTimes recorded: 1\nLatest occurrences:\n\n- 2018-04-06T16:26:14.673957 | revision ada04b5ef1fdf33d7aa39c7969d55b881728ab56, [logs](http://fedorapeople.org/groups/cockpit/logs/pull-8947-20180406-153535-ada04b5e-verify-rhel-7-5/log.html)\n"}}
{"actor":{"display_login":"cockpituous"}}