The choices we have are to run the service under a system generated account (Local System or Network Service) or a corp domain account. Running it under system generated account is easy to implement and use. Domain accountis kinda more secure as it leverages the security restrictions setup by the corp account.For our solution I suggest that we default to Local System (for ease of use), and then provide a migration path to run under a domain account (for corp acconts).
Just some thoughts.. I'll let the cc experts comment. Siddharth On Mon, Mar 2, 2009 at 12:56 AM, Ruben Willems <[email protected]>wrote: > Hi > > i'm not a svn expert, but I think there is a security issue involved here. > if you run the service with the same accounf as you use when logging into > windows > > I think that will solve it > > maybe some else with svn experience can help you with more details why this > happens > > > with kind regards > Ruben Willems > > On Sun, Mar 1, 2009 at 4:28 PM, Craig <[email protected]> wrote: > >> >> When doing a build through the web dashboard I get the following >> exception. >> >> ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control >> operation failed: svn: Target path does not exist >> . Process command: C:\Program Files\VisualSVN Server\bin\svn.exe >> update --username craig --password password. --non-interactive --no- >> auth-cache >> at >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute >> (ProcessInfo processInfo) >> at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn.GetSource >> (IIntegrationResult result) >> at >> >> ThoughtWorks.CruiseControl.Core.Sourcecontrol.FilteredSourceControl.GetSource >> (IIntegrationResult result) >> at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build >> (IIntegrationResult result) >> >> No errors are reported if I run ccnet from the command line. >> >> Here is my ccnet.config >> >> <cruisecontrol> >> <project name="Fisharoo"> >> <labeller type="defaultlabeller" /> >> <webURL>http://localhost/ccnet/ViewFarmReport.aspx</webURL> >> <sourcecontrol type="filtered"> >> <sourceControlProvider type="svn" autoGetSource="true"> >> <executable>C:\Program Files\VisualSVN Server\bin\svn.exe</ >> executable> >> <trunkUrl>http://chief:8443/svn/CAW/Fisharoo/trunk</trunkUrl> >> <workingDirectory>C:\Repositories\CAW\</workingDirectory> >> <tagOnSuccess>false</tagOnSuccess> >> <tagBaseUrl>C:\Projects\Fisharoo\tags\</tagBaseUrl> >> <username>craig</username> >> <password>password.</password> >> </sourceControlProvider> >> <inclusionFilters> >> <pathFilter> >> <pattern>**/*.*</pattern> >> </pathFilter> >> </inclusionFilters> >> </sourcecontrol> >> <tasks> >> <nant> >> <executable>C:\Projects\Fisharoo\trunk\Binaries\NAnt\nant.exe</ >> executable> >> <baseDirectory>C:\Projects\Fisharoo\trunk\Source\</ >> baseDirectory> >> <buildArgs>-D:svn.executable="C:\Program Files\VisualSVN Server >> \bin\svn.exe"</buildArgs> >> <nologo>false</nologo> >> <buildFile>C:\Projects\Fisharoo\trunk\Build\Fisharoo.build</ >> buildFile> >> <targetList> >> <target>cruise</target> >> </targetList> >> <buildTimeoutSeconds>1200</buildTimeoutSeconds> >> </nant> >> <nunit> >> <path>C:\Program Files\NUnit 2.4.8\bin\nunit-console.exe</ >> path> >> <assemblies> >> <assembly>C:\projects\Fisharoo\trunk\Source\FisharooCoreTests >> \bin\Debug\Fisharoo.FisharooCoreTests.dll</assembly> >> <assembly>C:\projects\Fisharoo\trunk\Source\FisharooWebTests >> \bin\Debug\Fisharoo.FisharooWebTests.dll</assembly> >> </assemblies> >> </nunit> >> </tasks> >> <publishers> >> <merge> >> <files> >> <file>C:\Projects\Fisharoo\trunk\Build\Results\*.xml</file> >> </files> >> </merge> >> <xmllogger /> >> <statistics /> >> </publishers> >> </project> >> </cruisecontrol> >> >> >> >> >> >> and my ccservice.exe.config >> >> <?xml version="1.0" encoding="utf-8"?> >> <configuration> >> <configSections> >> <section name="xslFiles" >> >> type="ThoughtWorks.CruiseControl.Core.Config.XslFilesSectionHandler,ThoughtWorks.CruiseControl.Core"/ >> > >> <section name="log4net" >> type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/> >> </configSections> >> <!-- Specifies the stylesheets that are used to transform the build >> results when using the EmailPublisher --> >> <xslFiles> >> <file name="xsl\header.xsl"/> >> <file name="xsl\compile.xsl"/> >> <file name="xsl\unittests.xsl"/> >> <file name="xsl\fit.xsl"/> >> <file name="xsl\modifications.xsl"/> >> <file name="xsl\fxcop-summary.xsl"/> >> </xslFiles> >> <!-- Defines the port and protocol that the ccnet server will use >> to >> service remote requests --> >> <system.runtime.remoting> >> <application> >> <channels> >> <channel ref="tcp" port="21234"> >> <serverProviders> >> <formatter ref="binary" >> typeFilterLevel="Full"/> >> </serverProviders> >> </channel> >> </channels> >> </application> >> </system.runtime.remoting> >> <log4net> >> <root> >> <!-- >> Change the value in the next line to alter >> the amount of logging >> generated by CruiseControl.NET. >> The following values are supported: DEBUG, >> INFO, WARN, ERROR, OFF. >> For more detailed information on how to >> configure log4net, see >> http://logging.apache.org/log4net/ >> --> >> <level value="DEBUG"/> >> <appender-ref ref="Console"/> >> <appender-ref ref="RollingFileAppender"/> >> </root> >> <appender name="Console" >> type="log4net.Appender.ConsoleAppender"> >> <layout type="log4net.Layout.PatternLayout"> >> <conversionPattern value="[%thread:%level] >> %message%newline"/> >> </layout> >> </appender> >> <appender name="RollingFileAppender" >> type="log4net.Appender.RollingFileAppender"> >> <file value="ccnet.log"/> >> <appendToFile value="true"/> >> <rollingStyle value="Size"/> >> <maxSizeRollBackups value="10"/> >> <maximumFileSize value="10MB"/> >> <staticLogFileName value="true"/> >> <layout type="log4net.Layout.PatternLayout"> >> <!-- Note: Core.Logging.ServerLogFileReader >> depends on having >> "[%thread" present in the pattern --> >> <conversionPattern value="%date >> [%thread:%level] %message%newline"/ >> > >> </layout> >> </appender> >> </log4net> >> <appSettings> >> <!-- Without this appSetting ccservice will look for >> ccnet.config in >> its own directory. --> >> <!-- <add key="ccnet.config" >> value="c:\some\path\to\ccnet.config"/> >> --> >> <add key="service.name" value="CCService"/> >> <add key="remoting" value="on"/> >> <add key="ServerLogFilePath" value="ccnet.log"/> >> <!-- Used by the WebDashboard ServerLog plugin to locate >> the log >> file produced by the LogFileTraceListener (above) --> >> <add key="ServerLogFileLines" value="100"/> >> <!-- Used by the WebDashboard ServerLog plugin to determine >> how many >> lines from the log file should be read --> >> <add key="WatchConfigFile" value="true"/> >> <!-- Turns on or off the file watcher used to monitor the >> ccnet.config file --> >> </appSettings> >> <startup> >> <supportedRuntime version="v2.0.50727" /> >> </startup> >> </configuration> >> > >
