Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649946 - sys-apps/portage-9999 - doenvd, newconfd install files to / instead of /etc/{conf.d,env.d}
Summary: sys-apps/portage-9999 - doenvd, newconfd install files to / instead of /etc/{...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 649944 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-08 18:46 UTC by Coacher
Modified: 2018-03-08 21:50 UTC (History)
0 users

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


Attachments
Don't clobber _E_INSDESTTREE_ (0001-doins-don-t-clobber-_E_INSDESTTREE_.patch,968 bytes, patch)
2018-03-08 19:19 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2018-03-08 18:46:16 UTC
Hello.

I have ca-certificates installed.
Its ebuild has the following line:

doenvd 98ca-certificates

The file ends up installed to /:
$ equery f ca-certificates | grep 98ca-cert
/98ca-certificates

Similar problem happens with newconfd helper, as I found config files from xorg-server and connman residing in / and missing from /etc/conf.d
Comment 1 Coacher 2018-03-08 18:48:09 UTC
portage-9999 @ a5d0111d0
Comment 2 Coacher 2018-03-08 18:49:45 UTC
*** Bug 649944 has been marked as a duplicate of this bug. ***
Comment 3 Mike Gilbert gentoo-dev 2018-03-08 19:19:39 UTC
Created attachment 523020 [details, diff]
Don't clobber _E_INSDESTTREE_

This should fix it. Also sent to the list.
Comment 4 Larry the Git Cow gentoo-dev 2018-03-08 21:50:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=15b84985370820af47247eef7ca3fdb7676ab987

commit 15b84985370820af47247eef7ca3fdb7676ab987
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-03-08 19:50:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-03-08 21:49:45 +0000

    ebuild-helpers: Fix overriding 'insinto' directory
    
    Closes: https://bugs.gentoo.org/649946
    Reviewed-by: Zac Medico <zmedico@gentoo.org>

 bin/ebuild-helpers/doconfd  | 9 +++++++--
 bin/ebuild-helpers/doenvd   | 9 +++++++--
 bin/ebuild-helpers/doheader | 6 +++++-
 3 files changed, 19 insertions(+), 5 deletions(-)