sudo broken in latest classic

Bug #1564369 reported by Alexander Sack
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Critical
Unassigned

Bug Description

WORKAROUND (credits to ogra):
  ubuntu@localhost:~$ sudo umount /writable/classic/etc/sudoers
  ubuntu@localhost:~$ sudo mount --bind /etc/sudoers.d /writable/classic/etc/sudoers.d

as reported we got a new sudo ... which didnt upgrade well...
  https://bugs.launchpad.net/snappy/+bug/1564316

now witha fresh classic install i cannot sudo apt-get install anything

(classic)ubuntu@localhost:~$ sudo apt-get update
sudo: no tty present and no askpass program specified

pretty big blocker for anyone who wants to developer for snappy on arm

Revision history for this message
Alexander Sack (asac) wrote :

please fix asap... this is blocking me :(

Changed in snappy:
importance: Undecided → Critical
Alexander Sack (asac)
description: updated
Revision history for this message
Oliver Grawert (ogra) wrote :

the actual fix is to make snappy enable-classic actually create a /dev/pts mount:

sudo mount --bind /dev/pts /writable/classic/dev/pts

fixes the issue completely

Revision history for this message
Oliver Grawert (ogra) wrote :

according to jamie we should actually do an actual "devpts newinstance,ptmxmode=0666,gid=5 mount" instead of bind mounting /dev/pts from the outside though.

Leo Arias (elopio)
Changed in snappy:
status: New → Confirmed
Revision history for this message
Kyle Fazzari (kyrofa) wrote :

> pretty big blocker for anyone who wants to developer for snappy on arm

Or anyone who wants to develop anything in classic at all. This happens on amd64 as well.

Revision history for this message
Michael Vogt (mvo) wrote :

This is fixed again.

Changed in snappy:
status: Confirmed → 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.