| Summary: | scim-bridge "The lockfile is destroied" in syslog when gnome-terminal exits | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | masaya.hasegawa.hp <masaya.hasegawa> | ||||||
| Component: | scim-bridge | Assignee: | Peng Wu <pwu> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | QE Internationalization Bugs <qe-i18n-bugs> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.8 | CC: | eng-i18n-bugs, lijli | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-05-14 09:13: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: | |||||||
| Attachments: |
|
||||||||
Created attachment 576668 [details]
Proposed patch
Created attachment 576686 [details]
Proposed patch v2
Fixes a typo.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0578.html |
Description of problem: When gnome-terminal exit, the below scim-bridge error message is always logged. scim-bridge: The lockfile is destroied On destroy_lockfile (), unlink lockfile.(See the below) If unlinking is success, this message is logged. After the message is logged, the below message is logged with Info level. scim-bridge: Cleanup, done. Exitting... So I think this message be not Error level but Info or Debug level, and it be logged with useing scim_bridge_pdebugln() or scim_bridge_println(). // retval_t ScimBridgeAgentImpl::destroy_lockfile () { scim_bridge_pdebugln (7, "Destroying the lockfile..."); const char *lockfile_path = scim_bridge_path_get_lockfile (); if (unlink (lockfile_path)) { scim_bridge_perrorln ("Cannot destroy the lockfile"); return RETVAL_FAILED; } else { scim_bridge_perrorln ("The lockfile is destroied"); <=== return RETVAL_SUCCEEDED; } } // Version-Release number of selected component (if applicable): scim-bridge-0.4.5-10.el5 How reproducible: Steps to Reproduce: 1. open gnome-terminal with scim enabled 2. exit gonme-terminal 3. Actual results: The below error message is logged in /var/log/messages. scim-bridge: The lockfile is destroied Expected results: Not error message but debug or info message is logged. Additional info: Though there is no problem on the use, a monitoring tool is checking error level message of syslog. If it find the message, it will notify as error.