Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 804321

Summary: net-dns/bind-9.16.15-r2 accesses ${FILESDIR} in pkg_postinst
Product: Gentoo Linux Reporter: William Throwe <wtt6>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chutzpah, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 586416    

Description William Throwe 2021-07-26 03:22:45 UTC
Error when installing from binpkg:

>>> Emerging binary (16 of 18) net-dns/bind-9.16.15-r2::gentoo
 * bind-9.16.15-r2-1.xpak MD5 SHA1 size ;-) ...                          [ ok ]
>>> Extracting info
>>> Extracting net-dns/bind-9.16.15-r2

>>> Installing (16 of 18) net-dns/bind-9.16.15-r2::gentoo
Failed to open '/var/tmp/portage/net-dns/bind-9.16.15-r2/files/named.conf': No such file or directory
 * The tmpfiles processor exited with a non-zero exit code
 * 
 * You can edit /etc/conf.d/named to customize named settings
 * 
 * If you'd like to run bind in a chroot AND this is a new
 * install OR your bind doesn't already run in a chroot:
 * 1) Uncomment and set the CHROOT variable in /etc/conf.d/named.
 * 2) Run `emerge --config '=net-dns/bind-9.16.15-r2'`
 * 

Per PMS, ${FILESDIR} can only be accessed during src_* phases.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-30 10:07:35 UTC

*** This bug has been marked as a duplicate of bug 772383 ***