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

2014-11-12 Thread Arjan.S
Public bug reported:

There is a bug in slapd that triggers the profile of apparmor of slapd.

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 EXTERNAL -H ldapi:/// -b cn=config
gives the following error:
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
Checking syslog :
apparmor=DENIED operation=file_perm profile=/usr/sbin/slapd 
name=/run/slapd/ldapi pid=1137 comm=slapd requested_mask=r 
denied_mask=r fsuid=105 ouid=0
we find in apparmor profile :
/etc/apparmor.d/usr.sbin.slapd reads:
  # pid files and sockets
  /{,var/}run/slapd/* w,

/run/slapd/ldapi   has   srwxrwxrwx  attributes and is owned by
root:root

In 14.04 all of this is the same but does not lead to an error.

Changing it into :
  # pid files and sockets
  /{,var/}run/slapd/* rw,

Solves the issue but does not show me where things actually go wrong.
Slapd tries to read the file but fails.

** Affects: openldap (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: openldap sasl slapd

-- 
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 about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2014-11-12 Thread Arjan.S
Public bug reported:

There is a bug in slapd that triggers the profile of apparmor of slapd.

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 EXTERNAL -H ldapi:/// -b cn=config
gives the following error:
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
Checking syslog :
apparmor=DENIED operation=file_perm profile=/usr/sbin/slapd 
name=/run/slapd/ldapi pid=1137 comm=slapd requested_mask=r 
denied_mask=r fsuid=105 ouid=0
we find in apparmor profile :
/etc/apparmor.d/usr.sbin.slapd reads:
  # pid files and sockets
  /{,var/}run/slapd/* w,

/run/slapd/ldapi   has   srwxrwxrwx  attributes and is owned by
root:root

In 14.04 all of this is the same but does not lead to an error.

Changing it into :
  # pid files and sockets
  /{,var/}run/slapd/* rw,

Solves the issue but does not show me where things actually go wrong.
Slapd tries to read the file but fails.

** Affects: openldap (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: openldap sasl slapd

-- 
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 to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1257186] Re: memory leakage messages (no talloc stackframe)

2014-10-28 Thread Arjan.S
I updated to 14.10 and the bug is no longer present.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1257186

Title:
  memory leakage messages (no talloc stackframe)

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1257186/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1257186] Re: memory leakage messages (no talloc stackframe)

2014-10-28 Thread Arjan.S
I updated to 14.10 and the bug is no longer present.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1257186

Title:
  memory leakage messages (no talloc stackframe)

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1257186/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1191105] Re: 13.04 Hangs When nfs Mounts Present In /etc/fstab

2013-07-03 Thread Arjan.S
My solution was to remove the requirement for idmapd in : 
/etc/default/nfs-common

change : NEED_IDMAPD=yes  into NEED_IDMAPD=no

This will still cause the error but it won't halt on it.

Arjan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1191105

Title:
  13.04 Hangs When nfs Mounts Present In /etc/fstab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1191105/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1114151] [NEW] package activity-log-manager-common 0.9.4-0ubuntu4.2 failed to install/upgrade: package activity-log-manager-common is already installed and configured

2013-02-03 Thread Arjan.S
Public bug reported:

Ubuntu under Hyper-V (Windows 8) constantly gives a message that part of
the system has crashed.

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: activity-log-manager-common 0.9.4-0ubuntu4.2
ProcVersionSignature: Ubuntu 3.5.0-23.35-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Sat Feb  2 21:46:23 2013
Dependencies:
 
DuplicateSignature:
 Processing triggers for install-info ...
 dpkg: error processing appmenu-gtk:amd64 (--configure):
  package appmenu-gtk:amd64 is already installed and configured
ErrorMessage: package activity-log-manager-common is already installed and 
configured
InstallationDate: Installed on 2012-12-14 (50 days ago)
InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Release amd64 (20121017.5)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: dpkg
Title: package activity-log-manager-common 0.9.4-0ubuntu4.2 failed to 
install/upgrade: package activity-log-manager-common is already installed and 
configured
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: dpkg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package need-duplicate-check quantal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1114151

Title:
  package activity-log-manager-common 0.9.4-0ubuntu4.2 failed to
  install/upgrade: package activity-log-manager-common is already
  installed and configured

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs