Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-29 Thread Francesco Poli
On Thu, 29 Mar 2012 08:32:18 +0200 Gian Piero Carrubba wrote: > * [Wed, Mar 28, 2012 at 11:59:31PM +0200] Francesco Poli: > >Mmmh, I don't think we can assume that sudo is installed, just because > >we are within an sudo environment (with $SUDO_USER set). > >Maybe we are inside a chroot environmen

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-28 Thread Gian Piero Carrubba
* [Wed, Mar 28, 2012 at 11:59:31PM +0200] Francesco Poli: Mmmh, I don't think we can assume that sudo is installed, just because we are within an sudo environment (with $SUDO_USER set). Maybe we are inside a chroot environment and we entered by using sudo from the outside. Package sudo is *not* n

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-28 Thread Francesco Poli
On Tue, 27 Mar 2012 21:14:57 +0200 Gian Piero Carrubba wrote: > * [Sun, Mar 25, 2012 at 11:48:57PM +0200] Francesco Poli: > >For the time being, the only way to dodge this problem is maybe to > >avoid invoking "su -c", even when in an sudo environment. > >This means that the browser will run as ro

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-27 Thread Gian Piero Carrubba
* [Sun, Mar 25, 2012 at 11:48:57PM +0200] Francesco Poli: For the time being, the only way to dodge this problem is maybe to avoid invoking "su -c", even when in an sudo environment. This means that the browser will run as root, even when apt-listbugs is invoked through sudo. [...] What do you

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-25 Thread Francesco Poli
On Sun, 11 Mar 2012 16:48:40 +0100 Francesco Poli wrote: > On Sun, 11 Mar 2012 16:02:13 +0100 Gian Piero Carrubba wrote: > > > * [Sun, Mar 11, 2012 at 12:47:58AM +0100] Francesco Poli: [...] > > >At this point, I hope that a radical solution may be found to fix both > > >this bug (#662865) and th

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-11 Thread Francesco Poli
On Sun, 11 Mar 2012 16:02:13 +0100 Gian Piero Carrubba wrote: > * [Sun, Mar 11, 2012 at 12:47:58AM +0100] Francesco Poli: > >Moving the "< /dev/tty" out of the -c argument makes it possible to > >start the browser, but, at least when using a text-based web browser, > >such as w3m, the user is prev

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-11 Thread Gian Piero Carrubba
* [Sun, Mar 11, 2012 at 12:47:58AM +0100] Francesco Poli: Moving the "< /dev/tty" out of the -c argument makes it possible to start the browser, but, at least when using a text-based web browser, such as w3m, the user is prevented from interacting with the browser itself: as soon as the user pres

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-10 Thread Francesco Poli
tags 662865 - patch thanks On Wed, 7 Mar 2012 08:05:42 +0100 Gian Piero Carrubba wrote: > * [Wed, Mar 07, 2012 at 01:05:38AM +0100] Francesco Poli: [...] > >Thanks for providing a patch: if I understand correctly, you are > >proposing to move the "< /dev/tty" out of the -c argument, so that it >

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-06 Thread Gian Piero Carrubba
* [Wed, Mar 07, 2012 at 01:05:38AM +0100] Francesco Poli: Not sure when this bug has been introduced: it could be a while it doesn't work for me, but this hunk of code seems to be here since ages ago and I'm pretty sure I used it in the last years. I can only guess su's behaviour has changed in t

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-06 Thread Francesco Poli
On Tue, 6 Mar 2012 22:05:31 +0100 Gian Piero Carrubba wrote: > Package: apt-listbugs > Version: 0.1.6 > Severity: normal > Tags: patch Hi Gian Piero, thanks for your bug report! :-) > > Running aptitude (and consequently apt-listbug) via sudo, I'm not able > to display the bugs list in a bro

Bug#662865: 'W: Failed to invoke browser.' when run under sudo

2012-03-06 Thread Gian Piero Carrubba
Package: apt-listbugs Version: 0.1.6 Severity: normal Tags: patch Running aptitude (and consequently apt-listbug) via sudo, I'm not able to display the bugs list in a browser: Are you sure you want to install/upgrade the above packages? [Y/n/?/...] w bash: /dev/tty: No such device or addr