3 messages in com.perforce.revml(Fwd) Re: [revml] why do the VCP "cvs...
FromSent OnAttachments
Barrie Slaymaker25 Jul 2001 03:33 
Urs Rau25 Jul 2001 03:59 
Barrie Slaymaker25 Jul 2001 05:15 
Subject:(Fwd) Re: [revml] why do the VCP "cvs tests" fail with commit
From:Barrie Slaymaker (barr@slaysys.com)
Date:07/25/2001 03:33:02 AM
List:com.perforce.revml

On Wed, Jul 25, 2001 at 07:19:13AM +0100, Urs Rau wrote:

My msg bounced back from you with dns errors.After seeing your post on the list I hoep you got it sorted and am resending it - just in case.

Thanks. I don't see it in the list archives either, and I see that the list was CCed. I also have had trouble getting through to the list, but you're the first person (other than me) that I've seen have that problem. Perforce is looking in to this, I beleive.

------- Forwarded message follows ------- From: "Urs Rau" <urs.@uk.om.org> To: barries <barr@slaysys.com>, rev@perforce.com Date sent: Mon, 23 Jul 2001 08:44:51 +0100 Subject: Re: [revml] why do the VCP "cvs tests" fail with commit
by root not allowed Send reply to: urs.@uk.om.org Priority: normal

<snip>

OK here comes the error msg taken form the logfile:

Directory /tmp/cvsroot/foo/a/deeply/buried added to the repository vcp: unexpected stderr from 'cvs': cvs: cvs [commit aborted]: cannot commit files as 'root' vcp: /usr/bin/cvs -Q -z9 -d/tmp/cvsroot commit -m comment 1 a/deeply/buried/file returned 1 not 0

Googling for that error message turns up a few mailing list messages that diagnose it as a problem when running cvs from a consol logged in as root, and recommends logging in as a normal user and su-ing to root. Apparently, cvs wants a "real" username and it can find it if you "su" (but not if you "su -").

This will make it awkward for anyone who installs vcp from root login, so I'll put a check in to my test suite to see if I can run things as nobody or a few other usernames.

Interestingly, http://teoma.com/ doesn't give nearly as usable a result set, but does lead me to a few CVS manuals.

FWIW, your mailer's wrapping lines on you.

- Barrie