{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8466","repository_url":"https://api.github.com/repos/cockpit-project/cockpit","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8466/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8466/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8466/events","html_url":"https://github.com/cockpit-project/cockpit/issues/8466","id":290388419,"number":8466,"title":" RHEL Atomic 7.4.3 breaks kdump due to SELinux denial for reading kernel image","user":{"login":"martinpitt","id":200109,"avatar_url":"https://avatars3.githubusercontent.com/u/200109?v=4","gravatar_id":"","url":"https://api.github.com/users/martinpitt","html_url":"https://github.com/martinpitt","followers_url":"https://api.github.com/users/martinpitt/followers","following_url":"https://api.github.com/users/martinpitt/following{/other_user}","gists_url":"https://api.github.com/users/martinpitt/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpitt/subscriptions","organizations_url":"https://api.github.com/users/martinpitt/orgs","repos_url":"https://api.github.com/users/martinpitt/repos","events_url":"https://api.github.com/users/martinpitt/events{/privacy}","received_events_url":"https://api.github.com/users/martinpitt/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":28,"created_at":"2018-01-22T08:46:48Z","updated_at":"2018-02-13T09:41:53Z","closed_at":null,"author_association":"OWNER","body":"check-kdump got broken in the RHEL Atomic update from 7.4.2 to 7.4.3 (in PR #8459):\r\n\r\n```\r\n  File \"/build/cockpit/bots/../test/verify/check-kdump\", line 80, in testBasic\r\n    self.browser.wait_in_text(\"#app\", \"Service is running\")\r\n```\r\nIt instead says \"service has an error\" (see screenshot), and the journal reveals why:\r\n\r\n```\r\nJan 19 14:51:14 m1 kdumpctl[1157]: Cannot open `/boot/ostree/rhel-atomic-host-00cf92f003e95f6267ab6e294f89a4802c610df4b5cb9c1aa1051233a9832c61/vmlinuz-3.10.0-693.11.6.el7.x86_64': Permission denied\r\nJan 19 14:51:14 m1 kdumpctl[1157]: kexec: failed to load kdump kernel\r\nJan 19 14:51:14 m1 kdumpctl[1157]: Starting kdump: [FAILED]\r\nJan 19 14:51:14 m1 systemd[1]: kdump.service: main process exited, code=exited, status=1/FAILURE\r\nJan 19 14:51:14 m1 systemd[1]: Failed to start Crash recovery kernel arming.\r\nJan 19 14:51:14 m1 systemd[1]: Startup finished in 1.389s (kernel) + 1.768s (initrd) + 1min 12.898s (userspace) = 1min 16.055s.\r\nJan 19 14:51:14 m1 systemd[1]: Unit kdump.service entered failed state.\r\n```\r\n\r\ndmesg shows an SELinux violation:\r\n```\r\n[   41.799447] type=1400 audit(1516609050.138:5): avc:  denied  { read } for  pid=13056 comm=\"kexec\" name=\"vmlinuz-3.10.0-693.11.6.el7.x86_64\" dev=\"vda1\" ino=786497 scontext=system_u:system_r:kdump_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=file\r\n[   41.803531] type=1400 audit(1516609050.143:6): avc:  denied  { read } for  pid=13056 comm=\"kexec\" name=\"vmlinuz-3.10.0-693.11.6.el7.x86_64\" dev=\"vda1\" ino=786497 scontext=system_u:system_r:kdump_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=file\r\n[   41.807244] type=1400 audit(1516609050.147:7): avc:  denied  { read } for  pid=13056 comm=\"kexec\" name=\"vmlinuz-3.10.0-693.11.6.el7.x86_64\" dev=\"vda1\" ino=786497 scontext=system_u:system_r:kdump_t:s0 tcontext=system_u:object_r:modules_object_t:s0 tclass=file\r\n```\r\n\r\nDownstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1536991"},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/365208276","html_url":"https://github.com/cockpit-project/cockpit/issues/8466#issuecomment-365208276","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/8466","id":365208276,"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-02-13T09:41:53Z","updated_at":"2018-02-13T09:41:53Z","author_association":"CONTRIBUTOR","body":"verify/rhel-atomic\nOoops, it happened again<hr>\n```\n# ----------------------------------------------------------------------\n# testBasic (check_kdump.TestKdump)\n#\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\n\nDevTools listening on ws://127.0.0.1:9444/devtools/browser/c81a1179-c387-41bc-91e4-17fd1d3018b5\n[0213/093832.386322:ERROR:zygote_host_impl_linux.cc(268)] Failed to adjust OOM score of renderer with pid 97621: Permission denied (13)\n[0213/093833.336925:ERROR:zygote_host_impl_linux.cc(268)] Failed to adjust OOM score of renderer with pid 97692: Permission denied (13)\n> warning: transport closed: disconnected\nCDP: {\"source\":\"network\",\"level\":\"error\",\"text\":\"Failed to load resource: net::ERR_CONNECTION_RESET\",\"timestamp\":1518514718522.45,\"url\":\"http://127.0.0.2:9691/cockpit/static/fonts/OpenSans-Light-webfont.woff\",\"networkRequestId\":\"97692.28\"}\nAuthentication failed.\r\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"3\"}\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"4\"}\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\nssh_exchange_identification: read: Connection reset by peer\r\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"5\"}\nssh_exchange_identification: read: Connection reset by peer\r\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"6\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"7\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"8\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"9\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"10\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"11\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"12\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"13\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"14\"}\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"15\"}\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\n> log: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"16\"}\nTraceback (most recent call last):\n  File \"/build/cockpit/bots/../test/verify/check-kdump\", line 80, in testBasic\n    self.browser.wait_in_text(\"#app\", \"Service is running\")\n  File \"/build/cockpit/test/common/testlib.py\", line 291, in wait_in_text\n    return self.wait_js_func('ph_in_text', selector, text)\n  File \"/build/cockpit/test/common/testlib.py\", line 258, in wait_js_func\n    self.wait_js_cond(\"%s(%s)\" % (func, ','.join(map(jsquote, args))))\n  File \"/build/cockpit/test/common/testlib.py\", line 255, in wait_js_cond\n    self.raise_cdp_exception(\"timeout\\nwait_js_cond\", cond, result[\"exceptionDetails\"], trailer)\n  File \"/build/cockpit/test/common/testlib.py\", line 166, in raise_cdp_exception\n    raise Error(\"%s(%s): %s\" % (func, arg, msg))\nError: timeout\nwait_js_cond(ph_in_text(\"#app\",\"Service is running\")): condition did not become true\ncdp: {u'level': u'error', u'url': u'http://127.0.0.2:9691/cockpit/login', u'text': u'Failed to load resource: the server responded with a status of 401 (Authentication failed)', u'source': u'network', u'networkRequestId': u'97692.8', u'timestamp': 1518514714025.84}\nwarning: transport closed: disconnected\ncdp: {u'level': u'error', u'url': u'http://127.0.0.2:9691/cockpit/static/fonts/OpenSans-Light-webfont.woff', u'text': u'Failed to load resource: net::ERR_CONNECTION_RESET', u'source': u'network', u'networkRequestId': u'97692.28', u'timestamp': 1518514718522.45}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"3\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"4\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"5\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"6\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"7\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"8\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"9\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"10\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"11\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"12\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"13\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"14\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"15\"}\nlog: transport closed, dropped message:  1:1!4\n{\"call\":[\"/org/freedesktop/timedate1\",\"org.freedesktop.DBus.Properties\",\"Get\",[\"org.freedesktop.timedate1\",\"NTPSynchronized\"]],\"id\":\"16\"}\ncdp: {u'level': u'error', u'url': u'http://127.0.0.2:9691/cockpit/login', u'text': u'Failed to load resource: the server responded with a status of 401 (Authentication failed)', u'source': u'network', u'networkRequestId': u'97692.112', u'timestamp': 1518514789145.96}\n\nnot ok 169 testBasic (check_kdump.TestKdump) # duration: 251s\nWrote screenshot to TestKdump-testBasic-rhel-atomic-127.0.0.2-2801-FAIL.png\nWrote HTML dump to TestKdump-testBasic-rhel-atomic-127.0.0.2-2801-FAIL.html\nWrote JS log to TestKdump-testBasic-rhel-atomic-127.0.0.2-2801-FAIL.js.log\nJournal extracted to TestKdump-testBasic-rhel-atomic-127.0.0.2-2801-FAIL.log\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\n```\nFirst occurrence: 2018-02-13T09:41:52.837596 | revision 7d4f7b926a35ea285712f6bb47e488ed99b9cd38, [logs](http://fedorapeople.org/groups/cockpit/logs/master-20180213-092626-7d4f7b92-verify-rhel-atomic/log.html)\nTimes recorded: 1\nLatest occurrences:\n\n- 2018-02-13T09:41:52.837596 | revision 7d4f7b926a35ea285712f6bb47e488ed99b9cd38, [logs](http://fedorapeople.org/groups/cockpit/logs/master-20180213-092626-7d4f7b92-verify-rhel-atomic/log.html)\n"}}
{"actor":{"display_login":"cockpituous"}}