Plainbox run asks more than once for the root password

Bug #1325516 reported by Ara Pulido
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
PlainBox (Toolkit)
Invalid
High
Unassigned

Bug Description

plainbox version 0.6~dev+bzr3042+pkg4~ubuntu14.04.1

Steps to reproduce:

1. Run the client cert whitelist:

  plainbox run -w /usr/share/2013.com.canonical.certification\:certification-client/whitelists/client-selftest.whitelist

2. Plainbox asks for the sudo password
3. The run starts

Expected results:

The full run continues without the need to enter the sudo password again

Actual results:

For some tests (example cpu/cstates) plainbox asks for the password again

Zygmunt Krynicki (zyga)
Changed in plainbox:
assignee: nobody → Zygmunt Krynicki (zkrynicki)
milestone: none → 0.6
Ara Pulido (ara)
tags: added: ce-qa-providers
Zygmunt Krynicki (zyga)
Changed in plainbox:
status: New → In Progress
Revision history for this message
kaxing (kaxing) wrote :

There could be a possible workaround,
to use NOPASWD option.
Adding this to the bottom of /etc/sudoers
username ALL=NOPASSWD: ALL

Zygmunt Krynicki (zyga)
Changed in plainbox:
importance: Undecided → Critical
tags: added: 14-04-blocker
Changed in plainbox:
milestone: 0.6 → 0.7
Changed in plainbox:
milestone: 0.7 → 0.8
Changed in plainbox:
milestone: 0.8 → 0.9
Changed in plainbox:
milestone: 0.9 → 0.10
Daniel Manrique (roadmr)
Changed in plainbox:
milestone: 0.10 → 0.11
Revision history for this message
Daniel Manrique (roadmr) wrote :

This has been marked Critical for about 2.5 months :)

Changed in plainbox:
milestone: 0.11 → future
milestone: future → 0.12
Changed in plainbox:
milestone: 0.12 → 0.14
Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: [Bug 1325516] Re: Plainbox run asks more than once for the root password

Yeah we should get to fixing it soon

On Mon, Sep 8, 2014 at 11:21 PM, Sylvain Pineau
<email address hidden> wrote:
> ** Changed in: plainbox
> Milestone: 0.12 => 0.14
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1325516
>
> Title:
> Plainbox run asks more than once for the root password
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/plainbox/+bug/1325516/+subscriptions

Zygmunt Krynicki (zyga)
Changed in plainbox:
status: In Progress → Triaged
assignee: Zygmunt Krynicki (zkrynicki) → nobody
milestone: 0.14 → future
Changed in plainbox:
importance: Critical → High
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hi,
as we are using the plainbox-insecure-policy, and I didn't encounter this anymore with recent N+1, should we close this bug?

Po-Hsu Lin (cypressyew)
Changed in plainbox:
status: Triaged → Incomplete
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

BTW, I did setup the N+1 system by adding
"ubuntu ALL=NOPASSWD: ALL" into /etc/sudoers

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

I will close this bug with "Invalid" now.
Please feel free to open a new report if this issue still exist.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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