Hello:
I tried posting this to the subversion mailing list, but that does not seem to be taking the post so I am hoping this list can help.
I am using svnsync installed using yum on my CentOS 5 server.
I am trying to tell the sync command to save the certificates and credentials in a directory, but it does not seem to be doing so.
I created a directory /usr/local/svn/MyProject.config
To run the sync, I used this command:
/usr/bin/svnsync sync https://svn2.jammconsulting.com/svn/MyProject --config-dir /usr/local/svn/MyProject.config --username svnsync
When I issue the command, it asks me to accept the certificate. I told it to accept permanently and gave the svnsync password when prompted.
But, nothing was saved in the config directory and when I issue the command again, it still asks me to accept the certificate and the password for the svnsync user account.
Any ideas why this is not working?
Thanks, Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
I asked it to save the certificate permanently, but that apparently did not work since it asks me to save it the next time I run the command.
Any ideas?
Thanks, Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Karanbir Singh Sent: Monday, May 11, 2009 4:36 AM To: CentOS mailing list Subject: Re: [CentOS] svnsync not using config dir
Neil Aggarwal wrote:
I am trying to tell the sync command to save the certificates and credentials in a directory, but it does not seem to be doing so.
Did it offer to save the cert Permanently ? Did you save it so, or only for the session ? _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hello:
I tried running the command as apache since it is the group and owner of the repository and the config directory and the files are all mode 700 for security:
su -s /bin/sh apache -c "/usr/bin/svnsync sync https://svn2.jammconsulting.com/svn/MyProject --config-dir /usr/local/svn/MyProject.config --username svnsync"
When I run the command, it asks me to accept the certificate which I do permanently.
I also supply the password for the svnsync user when prompted.
Everything works fine, but the certificate and credentials are not saved. If I run the command again, it prompts me for the cert and password.
I want to run the sync in a cron job, so I need to it run non-interactively.
Is CentOS 5's svn set to not cache certificates and credentials by default?
Any other ideas?
Thanks, Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
Did it offer to save the cert Permanently ? Did you save it so, or only for the session ?
Hey all:
I uninstalled subversion 1.4 from the base repo and installed 1.5 from rpmforge. Everything works pefectly now.
Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Neil Aggarwal Sent: Monday, May 11, 2009 8:32 PM To: 'CentOS mailing list' Subject: Re: [CentOS] svnsync not using config dir
Hello:
I tried running the command as apache since it is the group and owner of the repository and the config directory and the files are all mode 700 for security:
su -s /bin/sh apache -c "/usr/bin/svnsync sync https://svn2.jammconsulting.com/svn/MyProject --config-dir /usr/local/svn/MyProject.config --username svnsync"
When I run the command, it asks me to accept the certificate which I do permanently.
I also supply the password for the svnsync user when prompted.
Everything works fine, but the certificate and credentials are not saved. If I run the command again, it prompts me for the cert and password.
I want to run the sync in a cron job, so I need to it run non-interactively.
Is CentOS 5's svn set to not cache certificates and credentials by default?
Any other ideas?
Thanks, Neil
-- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details.
Did it offer to save the cert Permanently ? Did you save it so, or only for the session ?
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos