[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Strange problem /dev/null/.cvsignore
From: |
Matthew Herrmann |
Subject: |
RE: Strange problem /dev/null/.cvsignore |
Date: |
Fri, 5 Aug 2005 09:23:23 +1000 |
Hi All,
We found the issue. The CVSROOT/passwd file had an incorrect entry in it:
matthew:lZ706SRTv3929:apache
Obvious... if you know to look in that file. We don't normally use this
file, since we configure want a 1-to-1 mapping between CVS and system users,
but I suspect it may have been created by CVSTrac automatically, which has a
default option to create users in CVSROOT/passwd, which was turned off (but
probably too late). Might be time to hack the cvstrac source, methinks.
http://developer.apple.com/darwin/tools/cvs/cederquist/cvs_29.html
Hope this helps others in future.
Matthew Herrmann
________________________________
Director
Far Edge Pty Ltd
http://www.faredge.com.au/
Level 6, 35 Chandos Street
St Leonards 2065
Ph: +612 8425 1400
-----Original Message-----
From: Matthew Herrmann [mailto:address@hidden
Sent: Wednesday, 3 August 2005 11:13 AM
To: 'Derek Price'
Cc: 'address@hidden'
Subject: RE: Strange problem /dev/null/.cvsignore
Thanks Derek, here's some more info on this:
We have isolated it down to the following:
* Successful user account ("faredge") -- only part of the /etc/passwd file
is scanned when we attach a tracing process to the xinetd cvs process.
Following that, /home/faredge/.cvsignore is read.
* Unsuccessful user account ("matthew") -- all of the /etc/passwd file is
scanned. The $HOME value for user "apache" is being used, which is
/dev/null.
As I mentioned earlier, the only tangible difference between these two
accounts is the name. My question is: why would cvs use the home drive for a
completely different account for one login, but work correctly for other
accounts?
Thanks,
Matt
-----Original Message-----
From: Derek Price [mailto:address@hidden
Sent: Wednesday, 3 August 2005 4:32 AM
To: Matthew Herrmann
Cc: address@hidden
Subject: Re: Strange problem /dev/null/.cvsignore
Matthew Herrmann wrote:
>cvs update: cannot open /dev/null/.cvsignore: Not a directory
>
>
Whatever account you have logged in as has "/dev/null" set as its home
directory?
Derek
Get CVS Support at <http://ximbiot.com>!