← Back to team overview

kernel-packages team mailing list archive

[Bug 1240857] ProcEnviron.txt

 

apport information

** Attachment added: "ProcEnviron.txt"
   https://bugs.launchpad.net/bugs/1240857/+attachment/3880013/+files/ProcEnviron.txt

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

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.
  --- 
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  jpakkane   2131 F.... pulseaudio
   /dev/snd/controlC0:  jpakkane   2131 F.... pulseaudio
   /dev/snd/pcmC0D0p:   jpakkane   2131 F...m pulseaudio
  DistroRelease: Ubuntu 13.10
  InstallationDate: Installed on 2013-05-20 (150 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-3.11.0-12-generic root=UUID=7dd49803-456a-4327-aeb5-7ea47105ef3e ro rootflags=subvol=@ quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-12-generic N/A
   linux-backports-modules-3.11.0-12-generic  N/A
   linux-firmware                             1.116
  RfKill:
   
  Tags:  saucy
  Uname: Linux 3.11.0-12-generic x86_64
  UpgradeStatus: Upgraded to saucy on 2013-08-08 (69 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  WifiSyslog:
   
  dmi.bios.date: 05/16/2013
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: EBH7710H.86A.0101.2013.0516.1649
  dmi.board.name: DH77EB
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG39073-304
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnIntelCorp.:bvrEBH7710H.86A.0101.2013.0516.1649:bd05/16/2013:svn:pn:pvr:rvnIntelCorporation:rnDH77EB:rvrAAG39073-304:cvn:ct3:cvr:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1240857/+subscriptions


References