Bug 1309164
Summary: | polkit uselessly noisy on a shutdown | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jarrod Petz <jlpetz> | ||||
Component: | systemd | Assignee: | systemd-maint | ||||
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | qe-baseos-daemons | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | CC: | btotty, cleaver-redhat, davdunc, dmaziuk, extras-qa, jlpetz, jsynacek, michal, mitr, oded, pratikjt, roel.vandepaar, rsawhill, sardella, systemd-maint-list, udovdh, vincent | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 1205008 | Environment: | |||||
Last Closed: | 2016-06-06 10:36:06 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Jarrod Petz
2016-02-17 03:21:08 UTC
(See also #1249627; not sure what is the better place to track this.) The messages in question are from polkitagentlistener.c, perhaps through /usr/bin/pkttyagent. So there are two basic directions of inquiry: * Which process are they from? systemctl seems a plausible case, it does create an /usr/bin/pkttyagent fork, and the behavior differences with different ways to invoke systemctl described in comment#0 would suggest that this is somehow governed from systemctl. OTOH none of the attached straces show systemctl forking an agent; and the socket communication patterns seem very similar in all three cases. Jarrod, a bit more precise information could help here: * What are the exact starting environments, in particular {real,effective} [UG]ID - And if (sudo) vs. (su - ) vs. (ssh) matters, is perhaps sudoers configured differently ? What does (sudo id -a) say? * What are the exact commands? * straces should exactly match the commands showing the difference, or the difference in behavior should be in the straced processes. (I.e. if the straces are using nohup, does the same behavior difference show up when running (nohup $command) without strace?) * Also, much larger string sizes of strace might be useful to actually show the DBus operations being performed. * Why is polkitd terminating before whatever process is running the agent listener (i.e. probably before some users’ session)? Addressed for the reporter in RH customer case 01588086. Closing for the to lack of input and information. |