Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs on dnssec-keygen #137

Open
witchbutter opened this issue Feb 19, 2018 · 0 comments
Open

Hangs on dnssec-keygen #137

witchbutter opened this issue Feb 19, 2018 · 0 comments

Comments

@witchbutter
Copy link

witchbutter commented Feb 19, 2018

If you try to create a key with a base64 encoded string as the input, the module hangs trying to initialize the key with no meaningful error messages.

Using this stanza:

# this creates a key based on the provided secret
bind::key { 'dynamic-update':
  algorithm => 'hmac-sha512',
  # the secret has to be a generated base64 string
  secret    => 'xxxxxx32randomcharactersxxxxxxxx',
  owner     => 'root',
  group     => 'bind',
}

Results in this message from puppet apply --debug which is where it hangs:

Debug: /Stage[main]/Dnsserver/Bind::Zone[notarealdomain.net]/File[/var/cach/bind/notarealdomain.net/notarealdomain.net]: The container Bind::Zone[notarealdomain.net] will propagate my refresh event
Debug: Exec[dnssec-keygen-notarealdomain.net](provider=posix): Executing '/usr/local/bin/dnssec-init '/var/cache/bind' 'notarealdomain.net'                'notarealdomain.net' '' '/dev/random' ''                'notarealdomain.net''
Debug: Executing with uid=bind: '/usr/local/bin/dnssec-init '/var/cache/bind' 'notarealdomain.net'                'notarealdomain.net' '' '/dev/random' ''                'notarealdomain.net''

This is using Ubuntu 16.04.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant