All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch] 01fips/module-setup.sh: add libssl.so.10 to make kdump work with fips mode
@ 2013-05-09  8:38 Baoquan He
       [not found] ` <bccc4bdfbdbdb14122cf83819a7ba16334348acc.1368088634.git.bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Baoquan He @ 2013-05-09  8:38 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Baoquan He

FIPS can work well in 1st kernel, but failed in kdump kernel. the
libssl.so.10 and related hmac file are needed. Now add it and it
works.

Signed-off-by: Baoquan He <bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 modules.d/01fips/module-setup.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules.d/01fips/module-setup.sh b/modules.d/01fips/module-setup.sh
index a7f5be8..6013318 100755
--- a/modules.d/01fips/module-setup.sh
+++ b/modules.d/01fips/module-setup.sh
@@ -38,7 +38,7 @@ install() {
 
     inst_libdir_file libsoftokn3.so libsoftokn3.so \
         libsoftokn3.chk libfreebl3.so libfreebl3.chk \
-        libssl.so 'hmaccalc/sha512hmac.hmac'
+        libssl.so 'hmaccalc/sha512hmac.hmac' libssl.so.10
 
     dracut_install -o prelink
 }
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Patch] 01fips/module-setup.sh: add libssl.so.10 to make kdump work with fips mode
       [not found] ` <bccc4bdfbdbdb14122cf83819a7ba16334348acc.1368088634.git.bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2013-05-10  3:24   ` Dave Young
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Young @ 2013-05-10  3:24 UTC (permalink / raw)
  To: Baoquan He; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On 05/09/2013 04:38 PM, Baoquan He wrote:
> FIPS can work well in 1st kernel, but failed in kdump kernel. the
> libssl.so.10 and related hmac file are needed. Now add it and it
> works.

This patch looks good to me.

Explain a bit about why do we need this extra libssl.so.10:

libcrypto.so dlopens libssl.so.10 only in FIPS mode, so ldd does now
show the dependency automaticlly.



> 
> Signed-off-by: Baoquan He <bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
>  modules.d/01fips/module-setup.sh |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/modules.d/01fips/module-setup.sh b/modules.d/01fips/module-setup.sh
> index a7f5be8..6013318 100755
> --- a/modules.d/01fips/module-setup.sh
> +++ b/modules.d/01fips/module-setup.sh
> @@ -38,7 +38,7 @@ install() {
>  
>      inst_libdir_file libsoftokn3.so libsoftokn3.so \
>          libsoftokn3.chk libfreebl3.so libfreebl3.chk \
> -        libssl.so 'hmaccalc/sha512hmac.hmac'
> +        libssl.so 'hmaccalc/sha512hmac.hmac' libssl.so.10
>  
>      dracut_install -o prelink
>  }
> 


-- 
Thanks
Dave


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-10  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09  8:38 [Patch] 01fips/module-setup.sh: add libssl.so.10 to make kdump work with fips mode Baoquan He
     [not found] ` <bccc4bdfbdbdb14122cf83819a7ba16334348acc.1368088634.git.bhe-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-05-10  3:24   ` Dave Young

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.