On Sun, Mar 17, 2013 at 12:36:22AM +0100, Francesco Poli wrote: > On Sun, 17 Mar 2013 00:07:21 +0100 Serafeim Zanikolas wrote: > > Do you agree then that adding the fifo feature to apt and adapting > > apt-listbugs accordingly is not needed nor does it suffice for fixing > > #662983? > > No, I don't agree. > If I recall bug #662983 correctly, the trick is that, if apt-listbugs > can read hook info through a named pipe, then it may interact with the > user through stdin and stdout *without* having to explicitly > reopen /dev/tty (this is the operation which is forbidden within an su > -c command).
Francesco, thank you for the clarification. This does make sense now. > I think this is due to the fact that your patch for apt-listbugs does > not modify what apt-listbugs does *after* parsing the hook info sent by > apt. ie. not re-open /dev/tty -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org