MAAS needs to use "sudo -n" everywhere "sudo" is used

Bug #1600121 reported by Mike Pontillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Wishlist
Unassigned

Bug Description

In the event that the "sudoers" file is incorrect (or missing, in the case of the MAAS development environment), MAAS will spawn "sudo" processes which may block waiting for user input.

We should ensure that the "-n" (or "--non-interactive") argument whenever we call "sudo", so that these processes will immediately fail rather than blocking to solicit user input.

This is mainly a problem in the development environment, but it wouldn't hurt in production either.

description: updated
Changed in maas:
milestone: none → 2.1.0
summary: - [2.0rc1] MAAS needs to use "sudo -n" everywhere "sudo" is used
+ MAAS needs to use "sudo -n" everywhere "sudo" is used
Changed in maas:
milestone: 2.0.1 → 2.1.0
importance: High → Wishlist
Changed in maas:
milestone: 2.1.0 → 2.1.1
Changed in maas:
milestone: 2.1.1 → 2.1.2
Changed in maas:
milestone: 2.1.2 → 2.1.3
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.