Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890415 - sys-apps/portage: protection on loops
Summary: sys-apps/portage: protection on loops
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-11 05:59 UTC by Agostino Sarubbo
Modified: 2023-01-11 05:59 UTC (History)
0 users

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 Agostino Sarubbo gentoo-dev 2023-01-11 05:59:39 UTC
Hi portage guys,

I had few cases when there was a shell loop error (mostly with sh->dash) that causes the build log to increase indefinitely until the disk space ends.

In my case I found the build log bigger ~80GB, so I'm wondering if is possible to have a make.conf variable (like PORTAGE_BUILD_LOG_MAXSIZE) where you can specify the maximum size of the build log, and if exceed then the build should die.

One example is at bug 886301
Thanks