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

Bug 772383

Summary: net-dns/bind-9.16.15-r1 install via binpkg - /bin/tmpfiles: line 506: /var/tmp/portage/net-dns/bind-9.16.15-r1/files/named.conf: No such file or directory
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: Current packagesAssignee: Mikle Kolyada (RETIRED) <zlogene>
Status: RESOLVED FIXED    
Severity: normal CC: chutzpah, sam, wtt6
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/21839
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 586416    

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.
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-06-27 18:51:32 UTC
still valid?
Comment 2 Tomáš Mózes 2021-06-28 07:53:38 UTC
Still valid for 9.16.15-r1

/bin/tmpfiles: line 506: /var/tmp/portage/net-dns/bind-9.16.15-r1/files/named.conf: No such file or directory
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-30 10:07:35 UTC
*** Bug 804321 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2021-07-30 22:55:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe5d75901745b7f1ca70988a3170ef93a2b8b682

commit fe5d75901745b7f1ca70988a3170ef93a2b8b682
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-07-30 22:55:06 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-07-30 22:55:06 +0000

    net-dns/bind: consistent tmpfiles_process arguments
    
    Closes: https://bugs.gentoo.org/772383
    Signed-off-by: David Seifert <soap@gentoo.org>

 net-dns/bind/bind-9.16.15-r2.ebuild | 2 +-
 net-dns/bind/bind-9.16.18.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)