Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


Closed Thread
  Search this Thread
Old 09-17-2005, 09:24 AM   #1
Registered: Feb 2003
Location: Bangalore, India
Distribution: RedHat 9 (2.4.20-8, RHL 3.2.2-5), Trying out Fedora Core 1 for x86_64 on Presario Laptop r3140us
Posts: 30

Rep: Reputation: 15
Question Running CVS Server on Fedora Core 4 with pserver as "cvs" user


I have been trying hard to setup a cvs server on Fedora Core 4 box. After lots of efforts (including installing missing xinetd), here is the state where I'm stuck:

$ cvs -d :pserver:rupak@ status
setgid failed: Operation not permitted
I can login but any other operation just fails with this error.

Here is how the cvspserver service configuration looks like:

# default: off
# description: The CVS service can record the history of your source \
#              files. CVS stores all the versions of a file in a single \
#              file in a clever way that only stores the differences \
#              between versions.
service cvspserver
	disable			= no
	socket_type		= stream
	protocol		= tcp
	wait			= no
	user			= cvs
	log_type		= FILE /var/log/cvspserver
	passenv			= PATH
	server			= /usr/bin/cvs
#	env			= HOME=/home/cvs
	server_args		= -f --allow-root=/home/cvs/cvsroot pserver
	bind			=
#	log_on_failure		+= USERID
and this is the cvs permissions:
-rwxr-sr-x  1 root root 603128 Apr 20 14:31 /usr/bin/cvs
following is the cvsroot directory:
drwxrwxr-x  3 cvs cvsadmin 4096 Sep 16 18:45 /home/cvs/cvsroot
with these contents:
total 12
drwxrwxr-x  3 cvs cvsadmin 4096 Sep 16 18:45 .
drwxr-xr-x  3 cvs cvsadmin 4096 Sep 16 23:54 ..
drwxrwxr-x  3 cvs cvsadmin 4096 Sep 16 23:42 CVSROOT
The remote login succeeds:
$ cvs -d :pserver:rupak@ login
Logging in to :pserver:rupak@
CVS password:
I have tried removing the setgid from cvs and putting it back, modifying the service configuration (putting group there and removing it) but somehow nothing seems to work. Also, even google fails me here and does not yield any documentation on this. :scratch:

Oh and BTW, the firewall is disabled and SELinux is also disabled.

Help me, Gurus! I don't want to run the cvs server as root.


Last edited by rupak; 09-17-2005 at 09:30 AM.
Old 09-17-2005, 11:22 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
Old 09-17-2005, 03:06 PM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
Closed as per Acid_Kewpie's comment

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running CVS Server with pserver as "cvs" user on Fedora Core 4 rupak Linux - Software 2 09-17-2005 01:10 PM
wincvs to cvs via pserver "encountered a problem" during login julianop Linux - Software 0 02-17-2005 10:09 PM
CVS: Can I restrict the "cvs remove" to specific users? CaptainRandom Linux - Software 4 01-13-2005 04:53 PM
cvs wine. Unable to download. Error "cvs: command not found" gonus Debian 5 08-03-2004 08:13 PM
CVS PSERVER setup woe - Fedora Core 2 paulecoyote Linux - Software 0 06-03-2004 02:28 PM

All times are GMT -5. The time now is 12:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration