← Back to team overview

kernel-packages team mailing list archive

[Bug 1240857] Missing required logs.

 

This bug is missing log files that will aid in diagnosing the problem.
>From a terminal window please run:

apport-collect 1240857

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

** Tags added: saucy

-- 
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:
  Incomplete

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


References