Mageia Bugzilla – Attachment 13563 Details for
Bug 31264
named-setup-rndc.service fails due to use of deprecated option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch to fix rndc key generation
generate-rndc-key.sh.patch (text/plain), 477 bytes, created by
Dave Hodgins
on 2022-12-11 17:18:07 CET
(
hide
)
Description:
Patch to fix rndc key generation
Filename:
MIME Type:
Creator:
Dave Hodgins
Created:
2022-12-11 17:18:07 CET
Size:
477 bytes
patch
obsolete
>--- generate-rndc-key.sh.original 2022-11-16 11:33:32.000000000 -0500 >+++ generate-rndc-key.sh 2022-12-11 11:08:03.373317099 -0500 >@@ -17,7 +17,7 @@ > > if [ ! -s /etc/rndc.key -a ! -s /etc/rndc.conf ]; then > echo -n $"Generating /etc/rndc.key:" >- if /usr/sbin/rndc-confgen -a -A hmac-sha256 -r /dev/urandom > /dev/null 2>&1 >+ if /usr/sbin/rndc-confgen -a -A hmac-sha256 > /dev/null 2>&1 > then > chmod 640 /etc/rndc.key > chown root:named /etc/rndc.key
--- generate-rndc-key.sh.original 2022-11-16 11:33:32.000000000 -0500 +++ generate-rndc-key.sh 2022-12-11 11:08:03.373317099 -0500 @@ -17,7 +17,7 @@ if [ ! -s /etc/rndc.key -a ! -s /etc/rndc.conf ]; then echo -n $"Generating /etc/rndc.key:" - if /usr/sbin/rndc-confgen -a -A hmac-sha256 -r /dev/urandom > /dev/null 2>&1 + if /usr/sbin/rndc-confgen -a -A hmac-sha256 > /dev/null 2>&1 then chmod 640 /etc/rndc.key chown root:named /etc/rndc.key
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31264
: 13563