Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685770 - etc-update automode -9 doesn't work
Summary: etc-update automode -9 doesn't work
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 01:07 UTC by Alex Orange
Modified: 2019-05-13 01:07 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 Alex Orange 2019-05-13 01:07:08 UTC
Using etc-update --automode -9 doesn't work because the config vars are pulled from /etc/etc-update.conf AFTER the command arguments are parsed thereby setting rf_opts to "-i" and making the -9 flag unusable from the command line.

Reproducible: Always

Steps to Reproduce:
1. echo "YES" | etc-update --automode -9
2.
3.
Actual Results:  
Goes about the interactive process of removal (ala -7)

Expected Results:  
Doesn't ask permission and just throws everything away.