Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942547 - net-dns/bind-9.18.29-r2: failed to generate session key for dynamic DNS: permission denied
Summary: net-dns/bind-9.18.29-r2: failed to generate session key for dynamic DNS: perm...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-10-30 16:38 UTC by Tomáš Mózes
Modified: 2024-10-30 16:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2024-10-30 16:38:16 UTC
After upgrading to net-dns/bind-9.18.29-r2 and restarting bind, this is shown in the logs:

named[10573]: couldn't mkdir '/var/run': Permission denied
named[10573]: could not create /var/run/named/session.key
named[10573]: failed to generate session key for dynamic DNS: permission denied

This is a chrooted dns setup
net-dns/bind-9.18.29-r2::gentoo was built with the following:

USE="caps -dnsrps -dnstap -doc -doh -fixed-rrset -geoip -gssapi -idn (-jemalloc) -lmdb (-selinux) -static-libs -test -xml" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"