Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 772383 - net-dns/bind-9.16.12 install via binpkg - /bin/tmpfiles: line 506: /var/tmp/portage/net-dns/bind-9.16.12/files/named .conf: No such file or directory
Summary: net-dns/bind-9.16.12 install via binpkg - /bin/tmpfiles: line 506: /var/tmp/p...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
Depends on:
Reported: 2021-02-24 12:43 UTC by Tomáš Mózes
Modified: 2021-02-24 12:43 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2021-02-24 12:43:21 UTC
Not sure this is a bug, however I compiled bind on one machines, created a binpkg and now trying to install it on an other machine, this is printed (the installation succeeds):

machine1# emerge -av1b net-dns/bind
builds fine, pkg is created

machine2# emerge -av1k net-dns/bind
>>> Original instance of package unmerged safely.                         
/bin/tmpfiles: line 506: /var/tmp/portage/net-dns/bind-9.16.12/files/named
.conf: No such file or directory /var/tmp/portage/net-dns/bind-9.16.12/temp/environment: line 2662: [: missing `]'                                                                   
 * You can edit /etc/conf.d/named to customize named settings  

Looking at the ebuild it sems to be this piece:

pkg_postinst() {
   tmpfiles_process "${FILESDIR}"/named.conf

Anyways, /usr/lib/tmpfiles.d/named.conf is present on both machines.