kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #22039
[Bug 1240857] [NEW] Inotify is broken in saucy
Public bug reported:
Compile this code:
#include<sys/inotify.h>
#include<stdio.h>
#include<string.h>
#include<errno.h>
int main(int argc, char **argv) {
int inotifyid = inotify_init();
if(inotifyid == -1) {
fprintf(stderr, "Could not init inotify.\n");
return 1;
}
int wd = inotify_add_watch(inotifyid, argv[1],
IN_CREATE | IN_DELETE_SELF | IN_DELETE | IN_CLOSE_WRITE |
IN_MOVED_FROM | IN_MOVED_TO | IN_ONLYDIR);
if(wd == -1) {
fprintf(stderr, "Could not create inotify watch object: %s\n",
strerror(errno));
return 1;
}
return 0;
}
Run it like this: "./inotifyapp some/dir".
On Saucy it prints this:
Could not create inotify wath object: No space left on device
The same happens on both btrfs and ext4 drives. The disk does have space
and the same partition works when inotify is used from raring.
This issue breaks e.g. Dropbox.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1240857
Title:
Inotify is broken in saucy
Status in “linux” package in Ubuntu:
New
Bug description:
Compile this code:
#include<sys/inotify.h>
#include<stdio.h>
#include<string.h>
#include<errno.h>
int main(int argc, char **argv) {
int inotifyid = inotify_init();
if(inotifyid == -1) {
fprintf(stderr, "Could not init inotify.\n");
return 1;
}
int wd = inotify_add_watch(inotifyid, argv[1],
IN_CREATE | IN_DELETE_SELF | IN_DELETE | IN_CLOSE_WRITE |
IN_MOVED_FROM | IN_MOVED_TO | IN_ONLYDIR);
if(wd == -1) {
fprintf(stderr, "Could not create inotify watch object: %s\n",
strerror(errno));
return 1;
}
return 0;
}
Run it like this: "./inotifyapp some/dir".
On Saucy it prints this:
Could not create inotify wath object: No space left on device
The same happens on both btrfs and ext4 drives. The disk does have
space and the same partition works when inotify is used from raring.
This issue breaks e.g. Dropbox.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1240857/+subscriptions
Follow ups
-
[Bug 1240857] Re: Inotify is broken in saucy
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] Re: Inotify is broken in saucy
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] UdevLog.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] UdevDb.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] PulseList.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] ProcModules.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] ProcInterrupts.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] ProcEnviron.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] ProcCpuinfo.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] Lsusb.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] Lspci.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] CurrentDmesg.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] CRDA.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] BootDmesg.txt
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] Re: Inotify is broken in saucy
From: Jussi Pakkanen, 2013-10-17
-
[Bug 1240857] Missing required logs.
From: Brad Figg, 2013-10-17
-
[Bug 1240857] [NEW] Inotify is broken in saucy
From: Jussi Pakkanen, 2013-10-17
References