[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mandb not working?



hi all,

did someone else notice, that mandb is not working or is that a
special on my machine? apropos & whatis get no entry, so i digged
around and found that mandb gets an error EBADF. is set up strace &
found the following (out of the middle...):
	open("/var/catman/1530", O_RDWR|O_CREAT, 0644) = 3
	flock(3, LOCK_EX|LOCK_NB)               = 0
	open("/var/catman/1530", O_RDWR|O_CREAT|O_TRUNC|O_EXCL, 0644) = -1 EEXIST (File exists)
	open("/var/catman/1530", O_RDWR|O_TRUNC) = 4
	fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
	fstat(4, {st_mode=01, st_size=1532566640, ...}) = 0
	read(4, "", 512)                        = 0
	close(4)                                = 0
	brk(0x120178000)                        = 0x120178000
	getxpid()                               = 1530
	fcntl(-1, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = -1 EBADF (Bad file descriptor)
so the last fcntl is called with a wrong filedescriptor. i stop
digging here and ask if someone else noticed that. if so and nobody
else has the time i will look for the bug.

best regards,
	michael


-- 
see header


--  
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: