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

Bug 837725

Summary: app-admin/doas: persist flag broken
Product: Gentoo Linux Reporter: Avalon Williams <avalonwilliams>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Avalon Williams 2022-04-10 22:12:58 UTC
emerging app-admin/doas with the persist use flag (either set through package.use or through environmental variables), will not result in doas being compiled with the persist feature. In addition, when using emerge --ask, the flag shows up as if it was not selected, even if explictly set for the package via package.use.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-10 22:16:47 UTC
It's not broken, it's masked.

You need to share some emerge output but it's almost certainly not a bug:
```
$ grep -rsin "app-admin/doas"
profiles/base/package.use.stable.mask:70:app-admin/doas persist
```

You probably see:
'app-admin/doas .... (-persist)'.

You need to unmask it in /etc/portage/profile/package.use.stable.mask, as 'app-admin/doas -persist', if you feel it's safe. It's masked for a reason.