DragonFly BSD
DragonFly kernel List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Linux emulation


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Aug 2003 01:07:39 -0700 (PDT)

:I just rebuild man and reinstalled it, after having removed my test
:user, and 'lo and behold:
:
:[8:32] [asmodai@purgatory] (25) {1} $ man ls
:Formatting page, please wait...
:Hmm!  Can't seem to rename /usr/share/man/cat1/ls.1.gz.tmpyocpiN to
:/usr/share/man/cat1/ls.1.gz, check permissions on man dir!
:rename: Permission denied
:
:It's back.
:
:Readding the test user, running a man of a command and it also gets the
:permissions warning this time.  And indeed, man -d shows:
:
:will try to write /usr/share/man/cat1/ls.1.gz if needed
:status from is_newer() = -2
:using default preprocessor sequence
:found tbl(1) directive
:mode of /usr/share/man/cat1/ls.1.gz.tmpGSD9F1 is now 644
:Formatting page, please wait...
:trying command: (cd /usr/share/man ; /usr/bin/zcat
:/usr/share/man/man1/ls.1.gz | /usr/bin/tbl | /usr/bin/groff -S -Wall
:-mtty-char -man -Tascii | /usr/bin/col | /usr/bin/gzip -c)
:No output, debug mode.
:using default preprocessor sequence
:found tbl(1) directive
:Couldn't open /usr/share/man/cat1/ls.1.gz.tmpWlbRcX for writing.
:using default preprocessor sequence
:found tbl(1) directive
:
:Only one writing warning.
:
:I have no idea what is causing this.  I'd be inclined to say there's
:something wrong in the kernel, but that wouldn't explain the behaviour
:when I put the binary on the FreeBSD box.
:
:-- 
:Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai
:PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B

    It's got to be a kernel bug.  Probably either a setting or a return
    value in the setuid/setreuid/ etc etc syscall code is getting messed up.

						-Matt



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