Bug 229006
| Summary: | ConsoleKit spews all over serial console | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jarod Wilson <jarod> | ||||||
| Component: | ConsoleKit | Assignee: | jmccann | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rawhide | CC: | cschalle, davidz, dtimms, jmccann, michal, prarit | ||||||
| Target Milestone: | --- | Keywords: | Reopened | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 0.2.0-2 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2008-04-25 12:07:44 UTC | Type: | --- | ||||||
| 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
Jarod Wilson
2007-02-16 14:21:03 UTC
Okay, ConsoleKit component exists now... Jon, do you have any idea about this? Otherwise I'll try to look into it next week. Thanks. Jarod, as far as I understand the problem is only CK spewing errors; it doesn't sabotage any of your consoles right? Thanks. Correct, I can still login on vt1, serial console and via gdm without a problem. I should probably add that a graphical login also results in this getting dumped
on the serial console:
audit(1171654461.698:5): user pid=1963 uid=81 auid=4294967295
subj=system_u:system_r:system_dbusd_t:s0 msg='avc: denied { send_msg } for
msgtype=method_call interface=org.freedesktop.ConsoleKit.Manager
member=OpenSessionWithParameters dest=org.freedesktop.ConsoleKit spid=2544
tpid=2222 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023
tcontext=system_u:system_r:initrc_t:s0 tclass=dbus
: exe="/bin/dbus-daemon" (sauid=81, hostname=?, addr=?, terminal=?)'
CK is using the getfd.c (copied from the kbd package) to get a fd that can be used with console ioctls. Apparently, getfd() is not finding one. I'll try to reduce the spew when this is the case. Should be fixed in git. http://gitweb.freedesktop.org/?p=ConsoleKit.git;a=commit;h=5376650940e9018a0d3e97367d2979f90af749bc I munged said patch to apply to the ConsoleKit we've got in rawhide right now, and the results certainly look much better. All I see on the serial console now is: Starting console-kit daemon: ** (console-kit-daemon:2165): WARNING **: Unable to open console: Invalid argument [ OK ] Probably ConsoleKit needs to close stdin, stdout and stderr when daemonizing... *** Bug 231010 has been marked as a duplicate of this bug. *** *** Bug 230937 has been marked as a duplicate of this bug. *** Created attachment 150424 [details]
daemonize properly
Jon, how about this patch? This is what I just put in Rawhide for the 0.2.0
release.
Anyway, this patch is in our 0.2.0 packages and should fix any spews from the ConsoleKit daemon. Please reopen if this doesn't work. Thanks. Yeah it is fine. But this bug shows why I didn't close stderr. It helped us find a bug :) Created attachment 303491 [details]
grep console- of 2008-04-24 week's notes
I don't know if ConsoleKit has been quiet since 2007-03, but at the moment on
rawhide,it is giving var/log/messages re environ, glib assertions, passed as
NULL warnings.
v ConsoleKit-0.2.10-3.fc9.i386
Getting very similar messages to bug 230937, one year after this fix. Reopening. That looks like an entirely different issue to me. Can you please open a new bug. Thanks. |