Hello,

After installing glibc-2.1-90-11.i686 (and devel,profile,nscd i386)
together with db1 and db2 as needed some applications are behaving
strange: 

For example man and slocate are setgid programs. When running them as
root they segfaults! Changing with chmod g-s, solves the segfault
problem, but now locate does no work as expected, denying access to
the database:
locate: decode_db(): /var/lib/slocate/slocate.db: Permission denied

Both with and without setgid man does not disply any man pages: 
(as root see below)

Case 1:
# ls -l /usr/bin/man
-rwxr-xr-x    1 root     man         37612 May 24 23:22 /usr/bin/man
# strace man man
....
close(4)                                = 0
munmap(0x40017000, 4096)                = 0
stat("/usr/man/man1/man.1", {st_mode=S_IFREG|0644, st_size=7758, ...}) = 0
stat("/var/catman/cat1/man.1.gz", {st_mode=S_IFREG|0444, st_size=20, ...}) = 0
access("/var/catman/cat1/man.1.gz", R_OK) = 0
access("/var/catman/cat1/man.1.gz", R_OK) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGINT, {0x804e8f4, [], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
fork()                                  = 15392

Case 2:
# ls -l /usr/bin/man
-rwxr-sr-x    1 root     man         37612 May 24 23:22 /usr/bin/man
# strace man man
execve("/usr/bin/man", ["man", "man"], [/* 36 vars */]) = 0
brk(0)                                  = 0x8058c68
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Which differences are there in access methods between glibc 2.1 and
2.2? Previous installed version was glibc-2.1.3-16.

Hoping to get the man pages displayed again...

Svante Signell

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to