Bug 1274232

Summary: Initial rndc.key no longer created
Product: [Fedora] Fedora Reporter: Thomas Jarosch <thomas.jarosch>
Component: bindAssignee: Tomáš Hozza <thozza>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: psimerda, thozza, vonsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-22 10:42:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix the issue none

Description Thomas Jarosch 2015-10-22 10:32:01 UTC
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 10:42:37 UTC
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 10:50:49 UTC
Thanks, you are right.

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