https://bugzilla.novell.com/show_bug.cgi?id=346406 Summary: Cannot obtain lock on /media/.hal-mtab, HAL devices can not be opened Product: openSUSE 10.3 Version: Final Platform: 32bit OS/Version: openSUSE 10.3 Status: NEW Severity: Major Priority: P5 - None Component: Hotplug AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: birger.kollstrand@googlemail.com QAContact: qa@suse.de Found By: Customer Opening a DVD gives the error message DVD can not open. Attaching an USB hard drive gives the same message. The /media directory has 777 set as access rights. It is not possible to do any operations in the directory even as root. brutter:/media # touch test touch: cannot touch `test': Permission denied brutter:/media # strace touch test execve("/usr/bin/touch", ["touch", "test"], [/* 58 vars */]) = 0 brk(0) = 0x8052000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=90730, ...}) = 0 mmap2(NULL, 90730, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef8000 close(3) = 0 open("/lib/librt.so.1", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\31\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=32128, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef7000 mmap2(NULL, 33356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7eee000 fadvise64(3, 0, 33356, POSIX_FADV_WILLNEED) = 0 mmap2(0xb7ef5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7ef5000 close(3) = 0 open("/lib/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1281488, ...}) = 0 mmap2(NULL, 1254896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7dbb000 fadvise64(3, 0, 1254896, POSIX_FADV_WILLNEED) = 0 mmap2(0xb7ee8000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c) = 0xb7ee8000 mmap2(0xb7eeb000, 9712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7eeb000 close(3) = 0 open("/lib/libpthread.so.0", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0PH\0\0004\0\0\0"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=117749, ...}) = 0 mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7da4000 fadvise64(3, 0, 90592, POSIX_FADV_WILLNEED) = 0 mmap2(0xb7db7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7db7000 mmap2(0xb7db9000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7db9000 close(3) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7da3000 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7da36c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 mprotect(0xb7ee8000, 4096, PROT_READ) = 0 munmap(0xb7ef8000, 90730) = 0 set_tid_address(0xb7da3708) = 17953 set_robust_list(0xb7da3710, 0xc) = 0 rt_sigaction(SIGRTMIN, {0xb7da8330, [], SA_SIGINFO}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0xb7da83b0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 uname({sys="Linux", node="brutter", ...}) = 0 brk(0) = 0x8052000 brk(0x8073000) = 0x8073000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f0e000 read(3, "# Locale name alias data base.\n#"..., 4096) = 2528 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb7f0e000, 4096) = 0 open("/usr/lib/locale/nb_NO.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/nb_NO.utf8/LC_CTYPE", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=254020, ...}) = 0 mmap2(NULL, 254020, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d64000 close(3) = 0 open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=25486, ...}) = 0 mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f08000 close(3) = 0 futex(0xb7eeaa6c, FUTEX_WAKE, 2147483647) = 0 close(0) = 0 open("test", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_LARGEFILE, 0666) = -1 EACCES (Permission denied) futimesat(AT_FDCWD, "test", NULL) = -1 ENOENT (No such file or directory) write(2, "touch: ", 7touch: ) = 7 write(2, "cannot touch `test\'", 19cannot touch `test') = 19 write(2, ": Permission denied", 19: Permission denied) = 19 write(2, "\n", 1 ) = 1 close(1) = 0 close(2) = 0 exit_group(1) = ? ----------------------- The system is set up with autofs and the mount points are retrieved from a LDAP server. there are three mount points under /media that is from the LDAP entries. brutter:/media # ls -al total 4 drwxrwxrwx 5 root root 0 Dec 6 01:54 . drwxr-xr-x 20 root root 4096 Dec 6 2007 .. dr-xr-xr-x 2 root root 0 Dec 6 01:54 bilde dr-xr-xr-x 2 root root 0 Dec 6 01:54 film dr-xr-xr-x 2 root root 0 Dec 6 01:54 musikk brutter:/media # touch test touch: cannot touch `test': Permission denied brutter:/media # mount /dev/sda5 on / type ext3 (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) debugfs on /sys/kernel/debug type debugfs (rw) udev on /dev type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) securityfs on /sys/kernel/security type securityfs (rw) linserve:/filserver/home/birger on /home/birger type nfs (rw,soft,addr=10.0.0.3) linserve:/filserver/media/movie on /media/film type nfs (rw,soft,addr=10.0.0.3) linserve:/filserver/media/pict on /media/bilde type nfs (rw,soft,addr=10.0.0.3) linserve:/filserver/media/musikk on /media/musikk type nfs (rw,soft,addr=10.0.0.3) ----------------------------------- It might be that this is an incompatible setup, but then the error message could really be improved. regards Birger -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.