[Freeipa-devel] [PATCH] 277 properly own Apache config files

Rob Crittenden rcritten at redhat.com
Thu Sep 17 13:47:20 UTC 2009


Simo Sorce wrote:
> On Thu, 2009-09-17 at 09:06 -0400, Rob Crittenden wrote:
>> Martin Nagy wrote:
>>> On Wed, 2009-09-16 at 13:05 -0400, Rob Crittenden wrote:
>>>> I goofed on the paths in the original patch I sent on this a while back. 
>>>> This corrects it.
>>>>
>>>> I know it looks like we're creating 0-length files here but with the 
>>>> %ghost directive it won't create the files, just own them.
>>>>
>>>> rob
>>> Why do you create all the directories and 'touch' the files in the
>>> %install section when we own them using %ghost? I'm not 100% sure, but I
>>> believe this isn't required.
>> These files are created by ipa-server-install, we don't provide empty 
>> templates, but I don't want IPA to leave orphaned files.
>>
>> In order to reference a file in %files, even with %ghost, the file needs 
>> to exist: 
>> http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html
>>
>>> What is the difference between /etc/ipa/ and /etc/httpd/conf.d/ ?
>> /etc/ipa holds configuration files for IPA (the server, admin tools, etc).
>>
>> /etc/httpd/conf.d holds the IPA configuration file for Apache. So yes, 
>> we have 2 files named ipa.conf that do completely different things.
> 
> Should we rename the second to something like ipa-http.conf ?
> 
> Simo.
> 

We could (in a separate patch) but AFAIK we've never had any confusion 
over one file vs the other.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090917/a0b13de0/attachment.bin>


More information about the Freeipa-devel mailing list