[scponly] rsync with scponly on CentOS

Kaleb Pederson kaleb.pederson at gmail.com
Wed Oct 22 17:43:46 EDT 2008


On Wednesday 22 October 2008 02:08:59 pm GADOT Frank wrote:
> Hey Kaleb,
>
> I added
>
> printf("this drives me nuts\n");
>
> Just bellow the main() of the version I got, and it is actually 4.8
> ..... because I can see it. I added some personnal messages under the
> debug part with syslog(LOG_DEBUG) and I can see it too.. so this is 4.8

Ok.

That line is present in the code, but you shouldn't have gotten there, so we 
need to figure out why you did.

This is what I get when I send that exact command across my machine:

scponly[13692]: processing request: "rsync --server -e.s . /home/eduardo"
scponly[13692]: Using getopt processing for cmd /usr/bin/rsync
 (username: tmptransfer(1014), IP/port: 127.0.0.1 51778 22)
scponly[13692]: getopt processing returned 's' (username: tmptransfer(1014), 
IP/port: 127.0.0.1 51778 22)
scponly[13692]: rsync_flags are now set to: 1
scponly[13692]: getopt processing returned 'e' (username: tmptransfer(1014), 
IP/port: 127.0.0.1 51778 22)
scponly[13692]: rsync_flags are now set to: 3
scponly[13692]: running: /usr/bin/rsync --server -e.s . /home/eduardo 
(username: tmptransfer(1014), IP/port: 127.0.0.1 51778 22)
scponly[13692]: about to exec "/usr/bin/rsync" (username: tmptransfer(1014), 
IP/port: 127.0.0.1 51778 22)

Note that I am running the SVN version of scponly, but there are very few 
changes that I think should effect anything.

I've attached a small patch which adds some debugging code in that area.  
Please try it out and let me know.

Thanks.

--Kaleb




> Any idea where else I could look ?
> Anyone else has the same issue ?
>
> Thank you
>
> -----Original Message-----
> From: Kaleb Pederson [mailto:kaleb.pederson at gmail.com]
> Sent: Wednesday, October 22, 2008 1:12 PM
> To: GADOT Frank
> Cc: scponly at lists.ccs.neu.edu
> Subject: Re: [scponly] rsync with scponly on CentOS
>
> On Wednesday 22 October 2008 12:28:47 pm GADOT Frank wrote:
> > Oct 22 12:24:27 galaxy scponly[6208]: option 'e' or a related long
> > option is not permitted for use with /usr/bin/rsync (arg was .s)
>
> This doesn't look right.  The code in scponly-4.8 should say something
> like
> the following:
>
> option 'e' is not allowed unless '--server' is also set with cmd %s (%s)
>
> Where %s is a string substitution that happens at runtime.
>
> Please make sure that the binary that's being executed is the binary
> from 4.8.
>
> ... and don't worry, I'm sure the last time will be the charm ;)
>
> Thanks.
>
> --Kaleb

-------------- next part --------------
A non-text attachment was scrubbed...
Name: helper.c.debugging.patch
Type: text/x-patch
Size: 1106 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20081022/88944a19/attachment.bin 


More information about the scponly mailing list