Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 804321 - net-dns/bind-9.16.15-r2 accesses ${FILESDIR} in pkg_postinst
Summary: net-dns/bind-9.16.15-r2 accesses ${FILESDIR} in pkg_postinst
Status: RESOLVED DUPLICATE of bug 772383
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: filesdir-bad-scope
  Show dependency tree
 
Reported: 2021-07-26 03:22 UTC by William Throwe
Modified: 2021-07-30 10:07 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 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 ***