Mageia Bugzilla – Attachment 258 Details for
Bug 871
service named start fails with "initializing DST: openssl failure".
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Copy all versions of libgost.so to chroot environment
named.patch (text/plain), 753 bytes, created by
Dave Hodgins
on 2011-04-20 20:27:41 CEST
(
hide
)
Description:
Copy all versions of libgost.so to chroot environment
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2011-04-20 20:27:41 CEST
Size:
753 bytes
patch
obsolete
>--- named 2011-04-20 14:07:23.395091089 -0400 >+++ /etc/rc.d/init.d/named 2011-04-19 06:16:31.000000000 -0400 >@@ -57,10 +57,10 @@ > install -m 0644 -o root -g root /etc/localtime /var/lib/named/etc/ > > # libgost.so needs to be in the chroot, so copy it there >- for LIBGOST in /usr/lib*/openssl*/engines/libgost.so ; do >- # copy everytime as we need to make sure everything is in sync >- cp -f --parents "$LIBGOST" /var/lib/named/ >- done >+ LIBGOST=$(rpm -ql $(rpm -q --whatprovides openssl-engines) | grep /libgost.so) >+ mkdir -p "${LIBGOST%[/]*}" >+ # copy everytime as we need to make sure everything is in sync >+ cp -p $LIBGOST /var/lib/named/$LIBGOST > > > [ -d /var/lib/named/proc ] || mkdir -p /var/lib/named/proc
--- named 2011-04-20 14:07:23.395091089 -0400 +++ /etc/rc.d/init.d/named 2011-04-19 06:16:31.000000000 -0400 @@ -57,10 +57,10 @@ install -m 0644 -o root -g root /etc/localtime /var/lib/named/etc/ # libgost.so needs to be in the chroot, so copy it there - for LIBGOST in /usr/lib*/openssl*/engines/libgost.so ; do - # copy everytime as we need to make sure everything is in sync - cp -f --parents "$LIBGOST" /var/lib/named/ - done + LIBGOST=$(rpm -ql $(rpm -q --whatprovides openssl-engines) | grep /libgost.so) + mkdir -p "${LIBGOST%[/]*}" + # copy everytime as we need to make sure everything is in sync + cp -p $LIBGOST /var/lib/named/$LIBGOST [ -d /var/lib/named/proc ] || mkdir -p /var/lib/named/proc
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 871
:
242
|
248
|
256
|
257
|
258
|
259
|
260
|
303
|
326