Bug 179366

Summary: missing inotify support.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwmw2, fweimer, k.georgiou, pfrields, reuben-redhatbugzilla, zing
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.90-32 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-06 16:16:05 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:
Bug Depends On:    
Bug Blocks: 179431    

Description Dave Jones 2006-01-30 16:56:41 UTC
#include <sys/inotify.h>
void main()
{
        int i;
        i = inotify_init();
}

(11:55:22:davej@nemesis:~)$ gcc test.c
test.c: In function âmainâ:
test.c:4: warning: return type of âmainâ is not âintâ
/home/davej/tmp/ccaFrBE5.o: In function `main':test.c:(.text+0x9): warning:
warning: inotify_init is not implemented and will always fail

aparently the inotify-using apps we currently ship (gnome-vfs, gamin etc) are
carrying their own private copies of the headers to work around this, but users
hit problems when they try to use inotify in their own apps.

Comment 1 David Woodhouse 2006-02-06 15:04:48 UTC
The inotify syscalls were added to glibc-kernheaders in glibc-kernheaders-3_0-4
on  2006-01-23 -- for Alpha, i386, ppc, ppc64, s390, s390x and x86_64. Now that
glibc has been rebuilt, the support ought to be present.

Comment 2 Jakub Jelinek 2006-02-06 16:16:05 UTC
Should be fixed in glibc-2.3.90-32 and above.