#5705 BLOC 8.2.0 (: sudo gives "can't access tty" errors.
Zarro Boogs per Child
bugtracker at laptop.org
Fri Aug 1 10:24:07 EDT 2008
#5705: sudo gives "can't access tty" errors.
-------------------------+--------------------------------------------------
Reporter: cjb | Owner: cscott
Type: defect | Status: new
Priority: blocker | Milestone: 8.2.0 (was Update.2)
Component: distro | Version:
Resolution: | Keywords: rainbow-integration, security
Next_action: never set | Verified: 0
Blockedby: | Blocking:
-------------------------+--------------------------------------------------
Comment(by cscott):
Given mtd's explanation (thanks a lot, by the way, it was very helpful),
my guess is that olpc-dm was originally written to be started from the
initscripts (in tty0?), in which case it probably needed to grab a
specific tty. Around the time we moved to upstart, olpc-dm started being
invoked from /etc/inittab instead, which gave it a specific controlling
tty already and so it no longer needed to grab one.
I'm going to add some of mtd's excellent explanation above to olpc-dm.c as
a comment, and then commit the patch. If we ever need to start a display
on more than one vt, then we'll know what to do. =)
--
Ticket URL: <http://dev.laptop.org/ticket/5705#comment:16>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list