info-cvs
[Top][All Lists]
Advanced

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

Strange problem /dev/null/.cvsignore


From: Matthew Herrmann
Subject: Strange problem /dev/null/.cvsignore
Date: Tue, 2 Aug 2005 13:40:16 +1000

Hi,

We have two separate user accounts. When checking out on one user account,
we get the following error:

cvs update: cannot open /dev/null/.cvsignore: Not a directory

When using the other account, no error appears. My hunch is that CVS is
prematurely trying to access the home drive via get_homedir(), before the
switch to the specific user occurs. This just came up out of nowhere after
(we suspect) changing permissions on some of the CVS folders. Both users
belong to identical groups, identical environment variables and no CVS files
are owned by either user, they are owned by a third account and a cvs group.


Here is the cvs trace:

>cvs -t up
  -> Tracelevel set to 1.  PID is 516
  -> Session ID is 20442eee9f06b4d
  -> main loop with
CVSROOT=:pserver:address@hidden:/public/Departments/Software/CVS
cvs update: cannot open /dev/null/.cvsignore: Not a directory
S-> unlink_file(CVS/Entries.Static)
  -> unlink(CVS/Entries.Static)
S-> unlink_file(./CVS/Entries.Static)
  -> unlink(CVS/Entries.Static)
S-> Reader_Lock(/public/Departments/Software/CVS/cppsyntax)
S-> Lock_Cleanup()
S-> rename(CVS/Entries.Backup,CVS/Entries)
S-> unlink_file(CVS/Entries.Log)

The xinetd.d/cvspserver contents are:

service cvspserver
{
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        server          = /usr/bin/cvs
        instances       = 10
        server_args     = -f --allow-root=/public/Departments/Software/CVS
pserver
        only_from       = 127.0.0 192.168.38.0/24 10.10.10.0/24 61.29.35.162
        passenv         = PATH
}

- Using Pserver through an SSH tunnel (unfortunately)

- Using CVS NT 2.0.58d client (also tried 2.5.01, gives the same error)

- Using CVS 1.11.17 server on Linux

- Both accounts have identical (or equivalent -- ie. $HOME=/home/USERNAME)
environment variables on the server, and both Windows clients have the HOME
environment variables set, including HOMEDRIVE, HOMEPATH, etc.



Thanks in advance for any assistance, this one has got me stumped.

Matthew Herrmann
________________________________

Director
Far Edge Pty Ltd
http://www.faredge.com.au/

Level 6, 35 Chandos Street
St Leonards 2065
Ph: +612 8425 1400 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]