Bug 140297
Summary: | Remote logins from terminals trash utmp entries | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sean Bruno <sbruno> | ||||
Component: | gdm | Assignee: | Ray Strode [halfline] <rstrode> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3 | CC: | beltrami, mattdm | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
URL: | http://www.pastebin.com/122175 | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-31 05:04:31 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
Sean Bruno
2004-11-22 05:05:16 UTC
Update from today, you should be able to do this with any two machines running an X server. Just have them connect to the login manager(gdm in my tests) on the third, server macine. We resolved this issue by ensuring that the hostname of the terminals was less than 16 characters in length. There appears to be something "wonky" occuring when the hostname is a full name like "tek4066.metro1.com" instead of "tek4066" If you want to close this issue, go ahead. Hi, This bug is being closed because it has been in the NEEDINFO state for a long time now. Feel free to reopen the bug report if the problem still happens for you and you can provide any information that was requested. Created attachment 114311 [details]
Patches session scripts of gdm
(In reply to comment #3) > Hi, > > This bug is being closed because it has been in the NEEDINFO state for a long > time now. Feel free to reopen the bug report if the problem still happens for > you and you can provide any information that was requested. Hi Ray, Sean was right in the fact that the problem is caused by a DISPLAY name of more than 16 chars. I traced this problem down to the sessreg program call in the /etc/X11/gdm/PreSession/Default and /etc/X11/gdm/PostSession/Default scripts. Perhaps the more elegant solution were to patch the sessreg program, but I builded an rpm (attached in srpm format) that patches those scripts. Simply put, it sustitutes the "... -l \"$DISPLAY\" ..." command line parameter in the invocation of sessreg, by "... -l \"`echo $DISPLAY | cut -d. -f1`\" ..." Wishing that this were useful to bring a solution to this problem, thank you for reopen this bug. Best regards, José Luis Fedora Core 3 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release, reopen and change the version to match. Thank you! I no longer have anyway to test this. I'm not sure why this is in a NEEDINFO state as I was pretty clear where the specific error is and I don't see any requests for Information in any of the comments. In addition, I see a 'me too' comment so I'm not sure that anyone has actually fixed this. And finally, since it's under FC3 and that is long since gone, my last comment would be to say that it probably impacts your RHEL4 customers and should be looked into. Well, Comment #6 put it in NEEDINFO attempting to ask whether or not the issue still shows up in a fully supported release of Fedora Core (FC5 or FC6). There are hundreds of open bugs originally filed against FC3, which is no longer supported except for security updates, that have no comment indicating whether they are still present in FC5 or FC6. Many have been fixed, whether upstream or not, without the bugs getting closed. It takes a rather long time to go through every bug individually and verify it, so some people, like Matt, go through and make mass updates to the FC3 bugs (and other old bugs) asking people to verify if the issue still exists. I'm sorry that "If it is not a security issue and hasn't been resolved in the current FC5 updates or in the FC6 test release" was not an obvious enough request for information. In the case of this bug, it appears fixed on FC6/ At least, there does not appear to be a sessreg call in /etc/gdm/PostSession/Default and /etc/gdm/PreSession/Default (though the comments still refer to it), nor is there a reference to $DISPLAY in there. I'm not sure *when* it was fixed, though. |