Talk:/etc/portage/make.conf

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 01:13, 27 July 2024 (UTC)
:: Your reply ~~~~

Correct Pathing?

Talk status
This discussion is done.

To the best of my knowledge, the proper path for make.conf is /etc/make.conf.

Even in my current system, there is no make.conf under /etc/portage/. Am I missing something here? - ShadowCat8 (talk) 22:43, 16 April 2013‎ (UTC)

Assuming an up-to-date system, you can run `man make.conf` and read the DESCRIPTION there which explains it in detail, what is not mentioned there is that /etc/portage/make.conf is the new location and /etc/make.conf intends to be dropped over time; the goal here is to consolidate Portage related files in /etc/portage/.
Please see "Discussion --> Signature with timestamp" when you edit for the syntax on how to signature your discussion with name and timestamp. - Tom Wijsman (talk) 03:15, 17 April 2013 (UTC)
Good catch, ShadowCat8. I have created a redirect from /etc/make.conf to /etc/portage/make.conf in order to help readers find the correct information. I will also make a comment concerning the now depreciated /etc/ location for make.conf in the /etc/portage/make.conf article. --Maffblaster (talk) 21:15, 26 May 2015 (UTC)

A Note Or Warning needed

Talk status
This discussion is done as of 2024-03-30.

In T:32, there is talk about PORTAGE_TMPDIR. But no reason why we would want to define this environment variable setting.

In these days of increasing STIGS/CISecuriy/various-government security, the noexec mount filesystem option is now being added to more and more /var/tmp partitions.

Perhaps, a NOTE or WARNING that says: If the /var/tmp has noexec mount option in /etc/fstab, then P0ORTAGE_TMPDIR must point elsewhere from its default /var/tmp/portage setting.

Otherwise, we get the following Portage error message:


user $emerge <package-name>
...
Can not execute files in /var/tmp

— The preceding unsigned comment was added by Egberts (talkcontribs) 2022-10-01T20:09:34‎

I've added to /etc/portage/make.conf#PORTAGE_TMPDIR. Could you take a look?
Waldo Lemmer (talk) 03:12, 28 March 2024 (UTC)