Bug 444152

Summary: file monitoring in im-info-daemon
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: imsettingsAssignee: Akira TAGOH <tagoh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-26 22:24:59 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Matthias Clasen 2008-04-25 09:55:57 EDT
The file monitoring in im-info-daemon is really pretty wrong. It
directly uses fam to set up some monitors, and then adds an idle to the
mainloop that checks for fam events and then sleeps for a second.

Can I recommend to use the file monitoring api that is provided by glib
since 2.16: GFileMonitor/GDirectoryMonitor. These use the best available
file notification mechanism (inotify, fam, fen, ...), integrate
automatically in the mainloop, and are very easy to set up.
Comment 1 Bug Zapper 2008-05-14 06:09:20 EDT
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Comment 2 Akira TAGOH 2008-06-26 22:23:29 EDT
Move to rawhide since this is the kind of feature.
Comment 3 Akira TAGOH 2008-06-26 22:24:59 EDT
Fixed in 0.101.0-1 or later.