-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to message recommendations asking to run pro #2936
Conversation
Jira: This PR is not related to a Jira item. (The PR title does not include a SC-#### reference) GitHub Issues: Launchpad Bugs: No Launchpad bugs are fixed by this PR. (No commits have LP: #### references) Documentation: The changes in this PR do not require documentation changes. 👍 this comment to confirm that this is correct. |
🌎 This PR changes translatable messages. 🌏 Please select which scenarios apply. For further explanation, please read our policy on message changes.
|
There are two things missing on this PR:
|
@dheyay That looks great. I think we just need to handle the conflicts and we can land this PR |
fdc975a
to
1d5c2c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though it is a logging statement, I think the pro config set
suggestion in config.py
around line 588 should have a sudo
as well.
Otherwise this looks good!
Should be good to merge now |
@@ -585,7 +585,7 @@ def warn_about_invalid_keys(self): | |||
LOG.warning('legacy "ua_config" found in uaclient.conf') | |||
LOG.warning("Please do the following:") | |||
LOG.warning( | |||
" 1. run `pro config set field=value` for each" | |||
" 1. run `sudo pro config set field=value` for each" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we also have that same suggestion on postinst
. I think we should update it there as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be good now @lucasmoura, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Why is this needed?
This PR solves all of our problems because...
Ensure 'sudo' is included for commands running
pro
which require root access.Fixes: #2598
Test Steps
Checklist
Does this PR require extra reviews?