[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2016-07-05 Thread Seth Arnold
David, please file a new bug report and be sure to include any AppArmor DENIED messages from your logs. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2016-07-05 Thread David Bonner
This bug seems to still be be present in Ubuntu 16.04. How do i fix it so & can use ldap? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.31-1+nmu2ubuntu12.2 --- openldap (2.4.31-1+nmu2ubuntu12.2) vivid; urgency=medium * debian/apparmor-profile: Change 'r' to 'rw' for ldapi and nslcd sockets, required for apparmor kernel ABI v7 (utopic and later). (LP: #1392018)

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-29 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.31-1+nmu2ubuntu12.2 --- openldap (2.4.31-1+nmu2ubuntu12.2) vivid; urgency=medium * debian/apparmor-profile: Change 'r' to 'rw' for ldapi and nslcd sockets, required for apparmor kernel ABI v7 (utopic and later). (LP: #1392018)

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-28 Thread Ryan Tandy
With slapd from vivid-updates: # dpkg-query -W slapd slapd 2.4.31-1+nmu2ubuntu12.1 # ldapwhoami -H ldapi:// -QY EXTERNAL ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) With slapd from vivid-proposed: # dpkg-query -W slapd slapd 2.4.31-1+nmu2ubuntu12.2 # ldapwhoami -H ldapi://

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-28 Thread Ryan Tandy
With slapd from vivid-updates: # dpkg-query -W slapd slapd 2.4.31-1+nmu2ubuntu12.1 # ldapwhoami -H ldapi:// -QY EXTERNAL ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1) With slapd from vivid-proposed: # dpkg-query -W slapd slapd 2.4.31-1+nmu2ubuntu12.2 # ldapwhoami -H ldapi://

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-22 Thread Chris J Arges
Hello Arjan.S, or anyone else affected, Accepted openldap into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openldap/2.4.31-1+nmu2ubuntu12.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-22 Thread Chris J Arges
Hello Arjan.S, or anyone else affected, Accepted openldap into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/openldap/2.4.31-1+nmu2ubuntu12.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/openldap -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/openldap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-21 Thread Marc Deslauriers
ACK on the debdiffs, they look good. Thanks! Uploaded for processing by the SRU team. ** Changed in: openldap (Ubuntu Utopic) Status: New = In Progress ** Changed in: openldap (Ubuntu Vivid) Status: New = In Progress -- You received this bug notification because you are a member

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-07-21 Thread Marc Deslauriers
ACK on the debdiffs, they look good. Thanks! Uploaded for processing by the SRU team. ** Changed in: openldap (Ubuntu Utopic) Status: New = In Progress ** Changed in: openldap (Ubuntu Vivid) Status: New = In Progress -- You received this bug notification because you are a member

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-25 Thread Ryan Tandy
Apologies for the inconvenience. Attaching fixed (and tested) patches. ** Patch added: utopic patch v2 https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+attachment/4420526/+files/openldap_2.4.31-1%2Bnmu2ubuntu11.2.debdiff -- You received this bug notification because you are

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-25 Thread Ryan Tandy
** Patch added: vivid patch v2 https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+attachment/4420527/+files/openldap_2.4.31-1%2Bnmu2ubuntu12.2.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-25 Thread Ryan Tandy
** Patch added: vivid patch v2 https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+attachment/4420527/+files/openldap_2.4.31-1%2Bnmu2ubuntu12.2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-25 Thread Ryan Tandy
Apologies for the inconvenience. Attaching fixed (and tested) patches. ** Patch added: utopic patch v2 https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+attachment/4420526/+files/openldap_2.4.31-1%2Bnmu2ubuntu11.2.debdiff -- You received this bug notification because you are

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-23 Thread Marc Deslauriers
The actual fix that went into wily is: # pid files and sockets /{,var/}run/slapd/* w, /{,var/}run/slapd/ldapi rw, /{,var/}run/nslcd/socket rw, Ryan, could you please update your proposed debdiffs to reflect the actual changes that went into the development release? Thanks! -- You received

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-23 Thread Marc Deslauriers
The actual fix that went into wily is: # pid files and sockets /{,var/}run/slapd/* w, /{,var/}run/slapd/ldapi rw, /{,var/}run/nslcd/socket rw, Ryan, could you please update your proposed debdiffs to reflect the actual changes that went into the development release? Thanks! -- You received

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/openldap -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-21 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/openldap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage notifications about

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-17 Thread Moritz
I try to apply the vivid patch, but don't seem to have openldap installed, only slapd – is that the same? apt-get install openldap - Unable to locate package If slapd is correct, what is the proper patch location? slapd is located as follows: /etc/init.d/slapd /etc/ufw/applications.d/slapd

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-17 Thread Moritz
I try to apply the vivid patch, but don't seem to have openldap installed, only slapd – is that the same? apt-get install openldap - Unable to locate package If slapd is correct, what is the proper patch location? slapd is located as follows: /etc/init.d/slapd /etc/ufw/applications.d/slapd

Re: [Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-17 Thread Ryan Tandy
On Wed, Jun 17, 2015 at 07:28:44AM -, Moritz wrote: I try to apply the vivid patch, but don't seem to have openldap installed, only slapd – is that the same? openldap is the source package. slapd is one of the binary packages built from it. http://packages.ubuntu.com/source/vivid/openldap

Re: [Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-17 Thread Ryan Tandy
On Wed, Jun 17, 2015 at 07:28:44AM -, Moritz wrote: I try to apply the vivid patch, but don't seem to have openldap installed, only slapd – is that the same? openldap is the source package. slapd is one of the binary packages built from it. http://packages.ubuntu.com/source/vivid/openldap

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-17 Thread Robie Basak
** Also affects: openldap (Ubuntu Utopic) Importance: Undecided Status: New ** Also affects: openldap (Ubuntu Vivid) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-17 Thread Robie Basak
** Also affects: openldap (Ubuntu Utopic) Importance: Undecided Status: New ** Also affects: openldap (Ubuntu Vivid) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in

Re: [Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-01 Thread Ryan Tandy
On Tue, Jun 02, 2015 at 01:36:04AM -, Massé wrote: Hello! I have a problem with the vivid patch sudo patch -p1 ../openldap_2.4.31-1+nmu2ubuntu12.debdiff bash: ../openldap_2.4.31-1+nmu2ubuntu12.debdiff: Aucun fichier ou dossier de ce type That's not a problem with the patch. That's bash

Re: [Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-01 Thread Ryan Tandy
On Tue, Jun 02, 2015 at 01:36:04AM -, Massé wrote: Hello! I have a problem with the vivid patch sudo patch -p1 ../openldap_2.4.31-1+nmu2ubuntu12.debdiff bash: ../openldap_2.4.31-1+nmu2ubuntu12.debdiff: Aucun fichier ou dossier de ce type That's not a problem with the patch. That's bash

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-01 Thread Massé
Hello! I have a problem with the vivid patch sudo patch -p1 ../openldap_2.4.31-1+nmu2ubuntu12.debdiff bash: ../openldap_2.4.31-1+nmu2ubuntu12.debdiff: Aucun fichier ou dossier de ce type -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-06-01 Thread Massé
Hello! I have a problem with the vivid patch sudo patch -p1 ../openldap_2.4.31-1+nmu2ubuntu12.debdiff bash: ../openldap_2.4.31-1+nmu2ubuntu12.debdiff: Aucun fichier ou dossier de ce type -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-29 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.40+dfsg-1ubuntu1 --- openldap (2.4.40+dfsg-1ubuntu1) wily; urgency=low * Merge from Debian testing (LP: #1395098, LP: #1316124). Remaining changes: - Enable AppArmor support: - d/apparmor-profile: add AppArmor profile

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-29 Thread Launchpad Bug Tracker
This bug was fixed in the package openldap - 2.4.40+dfsg-1ubuntu1 --- openldap (2.4.40+dfsg-1ubuntu1) wily; urgency=low * Merge from Debian testing (LP: #1395098, LP: #1316124). Remaining changes: - Enable AppArmor support: - d/apparmor-profile: add AppArmor profile

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-29 Thread Ryan Tandy
** Description changed: - There is a bug in slapd that triggers the profile of apparmor of slapd. + [Impact] - When installing a clean ubuntu 14.10 server and installing slapd with : - apt-get install slapd ldap-utils - configure it with : - dpkg-reconfigure slapd - with ldap address of

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-29 Thread Ryan Tandy
** Patch added: vivid patch https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+attachment/4406776/+files/openldap_2.4.31-1%2Bnmu2ubuntu12.2.debdiff -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-29 Thread Ryan Tandy
** Description changed: - There is a bug in slapd that triggers the profile of apparmor of slapd. + [Impact] - When installing a clean ubuntu 14.10 server and installing slapd with : - apt-get install slapd ldap-utils - configure it with : - dpkg-reconfigure slapd - with ldap address of

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-29 Thread Ryan Tandy
** Patch added: vivid patch https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+attachment/4406776/+files/openldap_2.4.31-1%2Bnmu2ubuntu12.2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/openldap -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/wily-proposed/openldap -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-25 Thread Ryan Tandy
** Tags added: apparmor -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage notifications

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-25 Thread Ryan Tandy
** Tags added: apparmor -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage notifications about this bug go

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-25 Thread Ryan Tandy
** Changed in: openldap (Ubuntu) Assignee: (unassigned) = Ryan Tandy (rtandy) ** Changed in: openldap (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-25 Thread Ryan Tandy
** Changed in: openldap (Ubuntu) Assignee: (unassigned) = Ryan Tandy (rtandy) ** Changed in: openldap (Ubuntu) Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-25 Thread Ryan Tandy
Based on reading apparmor code and changes, it sounds like changing 'w' to 'rw' actually is the correct fix (f.ex. [1]). My proposed merge (bug 1395098) includes that change. This should probably be SRUed to U and V after getting fixed in the development release. Considering that ldapi is our

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-05-25 Thread Ryan Tandy
Based on reading apparmor code and changes, it sounds like changing 'w' to 'rw' actually is the correct fix (f.ex. [1]). My proposed merge (bug 1395098) includes that change. This should probably be SRUed to U and V after getting fixed in the development release. Considering that ldapi is our

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-04-27 Thread Mats Luspa
This bug can also be found in Ubuntu 15.04 vivid. The workaround of modifying apparmor works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2015-04-27 Thread Mats Luspa
This bug can also be found in Ubuntu 15.04 vivid. The workaround of modifying apparmor works. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2014-11-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openldap (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openldap in Ubuntu.

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2014-11-16 Thread Jayesh Bhoot
I confirm that the bug is present on Kubuntu 14.10 as well. When installing a clean ubuntu 14.10 server and installing slapd with : apt-get install slapd ldap-utils configure it with : dpkg-reconfigure slapd with ldap address of ldapi://xxx.xxx.xxx the following command : ldapsearch -Q -LLL -Y

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2014-11-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openldap (Ubuntu) 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/1392018 Title:

[Bug 1392018] Re: apparmor stops /var/run/ldapi from being read causing ldap to fail

2014-11-16 Thread Jayesh Bhoot
I confirm that the bug is present on Kubuntu 14.10 as well. When installing a clean ubuntu 14.10 server and installing slapd with : apt-get install slapd ldap-utils configure it with : dpkg-reconfigure slapd with ldap address of ldapi://xxx.xxx.xxx the following command : ldapsearch -Q -LLL -Y