Bug 1274232 - Initial rndc.key no longer created
Initial rndc.key no longer created
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: bind (Show other bugs)
rawhide
All Linux
unspecified Severity medium
: ---
: ---
Assigned To: Tomáš Hozza
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-22 06:32 EDT by Thomas Jarosch
Modified: 2015-10-22 06:50 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-22 06:42:37 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix the issue (781 bytes, application/mbox)
2015-10-22 06:32 EDT, Thomas Jarosch
no flags Details

  None (edit)
Description Thomas Jarosch 2015-10-22 06:32:01 EDT
Created attachment 1085472 [details]
Patch to fix the issue

Description of problem:
The initial rndc.key is no longer created upon initial rpm installation.

There is a small oversight in the .spec file
that it does not call the /usr/libexec/generate-rndc-key.sh script.

How reproducible:
Always

Steps to Reproduce:
1. Install bind on a fresh system
2. Watch output in syslog -> rndc.key is missing
Comment 1 Tomáš Hozza 2015-10-22 06:42:37 EDT
This is intentional.

It is created on first start up of the daemon. This is to not delay the installation of the package on hosts with little entropy.

Check the systemd unit files.
Comment 2 Thomas Jarosch 2015-10-22 06:50:49 EDT
Thanks, you are right.

Locally we backport the bind rpm to old systems without systemd, therefore I missed it.

Note You need to log in before you can comment on or make changes to this bug.