RE: FC4 cvs pserver login issue

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

 



Matthew,

The following is the audit result when I tried execute "cvs login"
command. Any idea?

Thanks,
EDDIE

type=PATH msg=audit(1128459389.888:14582524): item=0
name="/mycvsroot/CVSROOT/co
nfig" inode=3267244 dev=fd:00 mode=0100444 ouid=0 ogid=0 rdev=00:00
type=SYSCALL msg=audit(1128459389.888:14582524): arch=40000003 syscall=5
success
=no exit=-13 a0=98c45b8 a1=0 a2=1b6 a3=98c45e0 items=1 pid=24052
auid=4294967295
 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="cvs"
exe="/usr/bi
n/cvs"
type=AVC msg=audit(1128459389.888:14582524): avc:  denied  { read } for
pid=240
52 comm="cvs" name=config dev=dm-0 ino=3267244
scontext=root:system_r:cvs_t tcon
text=root:object_r:etc_runtime_t tclass=file





-----Original Message-----
From: fedora-list-bounces@xxxxxxxxxx
[mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Matthew Saltzman
Sent: Wednesday, September 21, 2005 12:52 AM
To: For users of Fedora Core releases
Subject: RE: FC4 cvs pserver login issue

On Tue, 20 Sep 2005, Chan, Eddie wrote:

> Any one has any idea how to resolve this problem?
>
> Thanks,
> EDDIE
>
> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx
> [mailto:fedora-list-bounces@xxxxxxxxxx] On Behalf Of Chan, Eddie
> Sent: Tuesday, September 20, 2005 11:58 AM
> To: fedora-list@xxxxxxxxxx
> Subject: FC4 cvs pserver login issue
>
> All,
>
> I have set up the cvs pserver on FC4 following the proper procedure.
> However when I try to run the cvs login, I got the following problem.
>
> ----------------
> $ cvs -d :pserver:echan@xxxxxxxxxxxxxxxxxxxxxxx:/mycvsroot login
> Logging in to :pserver:echan@xxxxxxxxxxxxxxxxxxxxxxx:2401/mycvsroot
> CVS password:
> cvs [login aborted]: unrecognized auth response from
> torpedo.corp.cmates.com: cv
> s pserver: cannot open /mycvsroot/CVSROOT/config: Permission denied
> -----------------

SELinux issue?  Anything suspicious in /var/log/audit/audit.log?  What 
happens when you run "setenforce 0" on the server and try again?

>
> I searched the web and it seems that some people have the similar
issue.
> But I couldn't find a solution to resolve my problem. Can someone
help?
>
> I don't think the cvs pserver set up issue. I can telnet to the 2401
> port and got the response.
>
> ------------------
> $ telnet torpedo.corp.cmates.com 2401
> Trying 172.20.44.83...
> Connected to torpedo.corp.cmates.com.
> Escape character is '^]'.
> foo
> cvs [pserver aborted]: bad auth protocol start: foo
> Connection closed by foreign host.
> ------------------
>
> The files under /mycvsroot/CVSROOT/ can be accessible by anyone. I
don't
> know why it complained about the permission issue.
>
> ------------------
> I even did a strace and got the similar result...
> 3957  mmap2(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0)
> = 0xb7fb6000
> 3957  read(0, "BEGIN VERIFICATION REQUEST\n/mycv"..., 1024) = 79
> 3957  open("/mycvsroot/CVSROOT/config", O_RDONLY) = -1 EACCES
> (Permission denied
> )
> -----------------
>
> Any help is appreciated...
>
> Thanks,
> EDDIE
>
>
>
>
>
>
>
>

-- 
 		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux