|
From: Jason H. <jh...@ap...> - 2012-02-01 12:43:08
|
(Moving this to tpkg-users since that seems more appropriate for this thread, bcc out tpkg-devel) On Dec 23, 2011, at 4:45 PM, patrick o'leary wrote: > Finally with nobody in the office, got a chance to try latest tpkg code with cygwin changes > Noticed a couple of things > > 1) tpkg doesn't like a base of 'tmp', even when I make the tmp dir in my home directory, reference it as --base=tmp or ./tmp tpkg seems to go on a road trip to find something else? Works if i use a different directory name. Weird. The base directory has to be a fully qualified path. Internally tpkg File.joins it with '/' [1] so 'tmp' and './tmp' both become '/tmp'. I've now documented this in the tpkg.1 man page. [1] The reason for this is that instead of '/' it might be some other directory as specified via the --test-root switch. '/' just happens to be the default value for the "root" directory if --test-root isn't specified. This is used by the tpkg test suite to run tpkg without any interaction with any standard tpkg installation on the test system. I.e. with --test-root we read <test-root>/etc/tpkg.conf instead of /etc/tpkg.conf, etc. > 2) Also dnsdomainname from facter doesn't work on cygwin, but if you symlink hostname to dnsdomainname on your path, the error goes away, but still doesn't report the right server name back to the reporting server. I held onto this email for a long time thinking I'd look into this, but clearly I'm not getting the time to do so, so I'm going to punt and say if you figure out how to fix this let me know. Jason |