apparmor should have a 'usr' tunable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Wishlist
|
Jamie Strandboge | ||
cupsys (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: cupsys
Following upgrade feisty-gutsy cupsd doesn't launch anymore.
root@valeryb:/etc# cupsd
cupsd: error while loading shared libraries: libgnutls.so.13: cannot open shared object file: No such file or directory
ldconfig find it.
A small strace:
root@valeryb:/etc# strace cupsd
execve(
brk(0) = 0x80a5000
access(
mmap2(NULL, 8192, PROT_READ|
access(
open("/
fstat64(3, {st_mode=
mmap2(NULL, 75148, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f58000
close(3) = 0
access(
open("/
open("/
A small C prog opens lib OK:
int main(int argc, char *argv[])
{
int i;
i=open(
printf(
}
-> OK result, and not EACCESS
Perhaps something special for me, /usr/lib is a symbolic link to another fs.
Any idea?
Related branches
summary: |
- cupsd doesn't launch because libgnutls13.so EACCESS + apparmor should have a 'usr' tunable |
In fact the problem should not be specific to cupsys.
ldd reports librairies not found in cupsd but found in cupsenable or others binaries!
root@valeryb: /home/valery# ldd /usr/sbin/cupsd
linux- gate.so. 1 => (0xffffe000)
libgnutls. so.13 => not found
libldap_ r.so.2 => not found
libpaper. so.1 => not found
libdbus- 1.so.3 => not found
libdns_ sd.so.1 => not found
libcups. so.2 => not found
libpthread. so.0 => /lib/tls/ i686/cmov/ libpthread. so.0 (0xb7edd000)
libgssapi_ krb5.so. 2 => not found
libkrb5. so.3 => not found i686/cmov/ libc.so. 6 (0xb7d93000) i686/cmov/ libdl.so. 2 (0xb7d8e000)
/lib/ld- linux.so. 2 (0xb7f17000) /home/valery# ldd /usr/sbin/ cupsenable
linux- gate.so. 1 => (0xffffe000)
libcups. so.2 => /home/usr/ lib/libcups. so.2 (0xb7f32000)
libpthread. so.0 => /lib/tls/ i686/cmov/ libpthread. so.0 (0xb7f1a000) i686/cmov/ libc.so. 6 (0xb7dcf000)
libgssapi_ krb5.so. 2 => /home/usr/ lib/libgssapi_ krb5.so. 2 (0xb7da6000)
libkrb5. so.3 => /home/usr/ lib/libkrb5. so.3 (0xb7d1e000)
libk5crypto. so.3 => /home/usr/ lib/libk5crypto .so.3 (0xb7cf9000)
libcom_ err.so. 2 => /lib/libcom_ err.so. 2 (0xb7cf6000)
libgnutls. so.13 => /home/usr/ lib/libgnutls. so.13 (0xb7c86000) i686/cmov/ libm.so. 6 (0xb7c60000)
libcrypt. so.1 => /lib/tls/ i686/cmov/ libcrypt. so.1 (0xb7c32000) lib/libz. so.1 (0xb7c1d000)
/lib/ld- linux.so. 2 (0xb7f7d000)
libkrb5support .so.0 => /home/usr/ lib/libkrb5supp ort.so. 0 (0xb7c15000) i686/cmov/ libdl.so. 2 (0xb7c11000)
libkeyutils. so.1 => /lib/libkeyutil s.so.1 (0xb7c0e000)
libresolv. so.2 => /lib/tls/ i686/cmov/ libresolv. so.2 (0xb7bfb000)
libtasn1. so.3 => /home/usr/ lib/libtasn1. so.3 (0xb7beb000)
libgpg- error.so. 0 => /home/usr/ lib/libgpg- error.so. 0 (0xb7be7000)
libgcrypt. so.11 => /home/usr/ lib/libgcrypt. so.11 (0xb7b96000)
libslp.so.1 => not found
libpam.so.0 => /lib/libpam.so.0 (0xb7ef6000)
libc.so.6 => /lib/tls/
libdl.so.2 => /lib/tls/
root@valeryb:
libc.so.6 => /lib/tls/
libm.so.6 => /lib/tls/
libz.so.1 => /home/usr/
libdl.so.2 => /lib/tls/