[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [rhel6-branch] Add libraries needed for fips mode to initrd on s390 (#692825)



Martin, I applied this to rhel6-branch so I could do a build before the
latest compose starts.

Martin Gracik <mgracik redhat com> wrote:

> sshd is started before we get the stage2 on s390, so we need
> to have these libraries in the initrd to get the sshd working
> in fips mode.
> ---
>  scripts/mk-images |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/mk-images b/scripts/mk-images
> index 850d802..80ed24a 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -656,6 +656,12 @@ makeinitrd() {
>                     lsreipl lsdasd dasdview dasdinfo lszfcp ; do
>              instbin $IMGPATH /usr/sbin/$cmd $MBD_DIR /sbin/$cmd
>          done
> +
> +        # libraries required for ssh in fips mode
> +        cp $IMGPATH/usr/$LIBDIR/.libcrypto.so.* $MBD_DIR/usr/$LIBDIR
> +        cp $IMGPATH/usr/$LIBDIR/.libssl.so.* $MBD_DIR/usr/$LIBDIR
> +        cp $IMGPATH/usr/$LIBDIR/libcrypto.so.* $MBD_DIR/usr/$LIBDIR
> +        cp $IMGPATH/usr/$LIBDIR/libssl.so.* $MBD_DIR/usr/$LIBDIR
>      fi
>  
>      if [ -n "$INITRDMODULES" ]; then
> -- 
> 1.7.3.2
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Honolulu, HI | UTC-10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]