Description of problem: Version-Release number of selected component (if applicable): glibc-2.6.90-9 How reproducible: upgrade glibc to glibc-2.6.90-9 Steps to Reproduce: 1.only upgrading glibc to glibc-2.6.90-9 Actual results: can't run programs using libraries in /etc/ld.so.conf.d/*.conf. ex. Qt/KDE, octave, etc... console said that [jigorou ~]$ konqueror konqueror: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory [jigorou ~]$ octave octave: error while loading shared libraries: liblapack.so.3: cannot open shared object file: No such file or directory Expected results: use /etc/ld.so.conf.d/*.conf and load libraries correctly.
Can't reproduce. Can you: cat /etc/ld.so.conf strace -o /tmp/ldc.log /sbin/ldconfig -v | tee /tmp/ldc2.log cat /tmp/ldc.log cat /tmp/ldc2.log and check if you don't get any SELinux audit messages?
Ok. with glibc-2.6.90-9, [jigorou ~]$ cat /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/lib/wine [jigorou ~]$ strace -o /tmp/ldc.log /sbin/ldconfig -v | tee /tmp/ldc2.log ...
Created attachment 161275 [details] ldc.log
Created attachment 161276 [details] ldc2.log
> and check if you don't get any SELinux audit messages? No. Because I disabled both SELinux and auditd.
Both /usr/lib/octave-2.9.13/ and /usr/lib/qt-3.3/lib/ directories were clearly scanned though and libraries in it read. Can you /sbin/ldconfig -p | tee /tmp/ldc3.log ?
Created attachment 161291 [details] ldc3 Ok. and 'grep qt' output here [root@localhost tmp]# cat ldc3.log |grep qt libqui.so.1 (libc6) => /usr/lib/qt-3.3/lib/libqui.so.1 libqui.so (libc6) => /usr/lib/qt-3.3/lib/libqui.so libqtmcop.so.1 (libc6) => /usr/lib/libqtmcop.so.1 libqtmcop.so (libc6) => /usr/lib/libqtmcop.so libqt-mt.so.3 (libc6) => /usr/lib/qt-3.3/lib/libqt-mt.so.3 libqt-mt.so.3 (libc6) => /usr/lib/libqt-mt.so.3 libqt-mt.so (libc6) => /usr/lib/qt-3.3/lib/libqt-mt.so libkdevqtimporter.so (libc6) => /usr/lib/libkdevqtimporter.so libdbus-qt-1.so.1 (libc6) => /usr/lib/libdbus-qt-1.so.1 hmm.... > libqt-mt.so.3 (libc6) => /usr/lib/libqt-mt.so.3 cause this problem?(...only for me?)
The problem is actually not in ldconfig at all, but in a recent ld.so change: http://sourceware.org/cgi-bin/cvsweb.cgi/libc/elf/dl-misc.c.diff?cvsroot=glibc&r1=1.35&r2=1.36 Apparently O_NOATIME is allowed only for the file owner or fsuid user.
Oh! And now, I discovered that this problem doesn't happen if I'm root. (Qt,octave run without problem.) Thanks!