checkbox remote prompts for sudo password

Bug #1769202 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
High
Sylvain Pineau

Bug Description

When playing around with remote control, I'm prompted on the Local to enter a root password (sudo).

This happened while passing in a launcher like so:

bladernr@critical-maas:~$ checkbox-cli remote-control xinyi.maas /usr/bin/test-storage

I presume it is because some of the tests that test-storage launches require root access. Being prompted for a password makes this unusable in an automated fashion.

Related branches

Changed in checkbox-ng:
milestone: none → 1.6.0
Changed in checkbox-ng:
importance: Undecided → High
Changed in checkbox-ng:
assignee: nobody → Maciej Kisielewski (kissiel)
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

I've added the systemd service unit to the checkbox-ng deb package. The service now runs automatically after installation and running as root, it does not prompt for password.

Changed in checkbox-ng:
assignee: Maciej Kisielewski (kissiel) → Sylvain Pineau (sylvain-pineau)
status: New → Fix Committed
Changed in checkbox-ng:
status: Fix Committed → Fix Released
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.