cvsd with RootJail and cvsspam
[Date Prev][Date Next] [Thread Prev][Thread Next]cvsd with RootJail and cvsspam
- From: Pablo Ramirez <pablo.ramirez [at] excelsys.net>
- To: cvsd-users [at] lists.arthurdejong.org
- Subject: cvsd with RootJail and cvsspam
- Date: Thu, 14 Jul 2011 18:05:28 -0400
Hi,
I've been working on trying to get cvsspam work with cvsd rootjailing pserver but i'm a little frustrated because I 've not even added the `cat` bin command.
I think the first step to get achieve this is to add in CVSROOT/commitinfo file the regex "^CVSROOT /bin/cat>/dev/null" as written in cvsspam-doc.
No problem with /dev/null, but for `cat` i've tried:
- cp -p /bin/cat <RootJailDir>/bin/cat and cvsd-buildroot <RootJailDir>. This command return WARNING: extra (unknown) file found: /opt/cvsd/bin/cat but finishes ok.
- edit the cvsd-buildroot script and add BINARIES="/usr/bin/cvs /bin/cat", a little tricky but no WARNING and the cat binary is copied to <RootJailDir>/bin.
Anyway, when I try to commit, cvs exit with error "cvs commit: cannot exec /bin/cat>/dev/null: No such file or directory"
Thinking about the command "/bin/cat>/dev/null" I thought, what if I change that "ugly" command for a simplier one, so I've created a dummy shell script that returns nothing, and add the /bin/sh and /bin/dummy.sh to <RootJailDir> and cvsd-buildroot it again.
Same occurs, cvs commit: cannot exec /bin/dummy: No such file or directory.
Is cvsd jailed unable to find added commands or binaries?? It is known??
I'm using 1.0.18 on ubuntu server 10.04-2 LTS.
Thanks in advance.
Pablo RamÃrez
-- To unsubscribe send an email to cvsd-users-unsubscribe@lists.arthurdejong.org or see http://lists.arthurdejong.org/cvsd-users
- cvsd with RootJail and cvsspam, Pablo Ramirez
- Re: cvsd with RootJail and cvsspam,
Arthur de Jong
- Re: cvsd with RootJail and cvsspam,
Pablo Ramirez
- Re: cvsd with RootJail and cvsspam, Pablo Ramirez
- Re: cvsd with RootJail and cvsspam,
Pablo Ramirez
- Prev by Date: RE: CVSd Doubt
- Next by Date: Re: cvsd with RootJail and cvsspam
- Previous by thread: RE: CVSd Doubt
- Next by thread: Re: cvsd with RootJail and cvsspam