Public bug reported: The apparmor parser handles directory includes in an odd way, where each file in the directory is opened and the pushed as a flex buffer state before any files in the directory are actually processed. The flex buffers and associated fds are then processed one by one and the <eof> handling pops the buffer (and closes the fd) to get to the next file to process.
This means that if a directory contains a lot of files the include could fail as the parser will run out of available fds. ** Affects: apparmor Importance: Undecided Status: Confirmed ** Affects: apparmor (Ubuntu) Importance: Undecided Assignee: Steve Beattie (sbeattie) Status: Confirmed ** Changed in: apparmor (Ubuntu) Status: New => Confirmed ** Changed in: apparmor (Ubuntu) Assignee: (unassigned) => Steve Beattie (sbeattie) ** Also affects: apparmor Importance: Undecided Status: New ** Changed in: apparmor Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1255424 Title: include of dir fails when the number of files in the dir approaches or exceeds the processes fd limit To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1255424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs