[Freeipa-devel] [PATCH 7 of 8] Backup system state in ipa-server-install

Rob Crittenden rcritten at redhat.com
Mon Jan 14 16:13:10 UTC 2008


Mark McLoughlin wrote:

> diff -r dbe13997b7a2 -r 8640eee04855 ipa-server/ipa-server.spec.in
> --- a/ipa-server/ipa-server.spec.in	Fri Jan 11 10:36:25 2008 +0000
> +++ b/ipa-server/ipa-server.spec.in	Fri Jan 11 11:06:33 2008 +0000
> @@ -48,7 +48,7 @@ Ipa is a server for identity, policy, an
>  
>  %prep
>  %setup -q
> -./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc
> +./configure --prefix=%{buildroot}/usr --libdir=%{buildroot}/%{_libdir} --sysconfdir=%{buildroot}/etc --localstatedir=%{buildroot}/var
>  
>  %build
>  
> @@ -107,6 +107,7 @@ fi
>  %attr(755,root,root) %{plugin_dir}/libipa-memberof-plugin.so
>  %attr(755,root,root) %{plugin_dir}/libipa-dna-plugin.so
>  
> +%dir %{_localstatedir}/cache/ipa
>  
>  %changelog
>  * Fri Dec 21 2007 Karl MacMillan <kmacmill at redhat.com> - 0.6.0-1

Is it adequate for the rpm to own just the top level directory or does 
it need to own all the subdirs as well? I can't recall if a %dir is 
recursive.

In any case in testing I get:

Configuring Kerberos KDC
   [0/13]: setting KDC account password
Unexpected error - see ipaserver-install.log for details:
  [Errno 2] No such file or directory: '/var/cache/ipa/sysrestore/var'

I gather we need to make this in a 'make install' as well, right?

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/20080114/512ea358/attachment.bin>


More information about the Freeipa-devel mailing list