Control: tags -1 + moreinfo
On Sat, 11 Jan 2020 21:45:12 -0500 Calum McConnell wrote: > Subject: apt-listbugs: Listbugs-spawned QueryBTS can't find Firefox > Package: apt-listbugs > Version: 0.1.31 > Severity: normal Hello Calum, thanks for using apt-listbugs and for caring about reporting the issue you experienced. > > I triggered an update, and apt-listbugs found some bugs. I used the > b1/b2/b3 notation to query the BTS about said bugs, and read thru the > briefs on screen. OK, this launches querybts from package reportbug, which you have on your system: [from System Information in your bug report...] > ii reportbug 7.6.0 [...] > I then tried to use the 'b' menu option OK, please note that this is a menu of the querybts user interface... > to open > firefox, however, I got a rapid fire series of errors instead, along > with > window popups about how the firefox profile was not found. First of all: it seems to me that you have firefox-esr unpacked, but not configured. In other words, firefox-esr does not seem to be properly installed on your system: [from System Information in your bug report...] > iu firefox-esr [www-browser] 68.4.1esr-1 [...] This could be responsible for a number of errors you encounter, when trying to start firefox... > After I hit > 'okay' to each window, it eventually gave me a reasonable text view of > the bugs. I guess xdg-open (internally used by querybts to find a browser) eventually selected a text browser, such as lynx or w3m: [from System Information in your bug report...] > ii lynx [www-browser] 2.9.0dev.4-1 [...] > ii sensible-utils 0.0.12+nmu1 > ii w3m [www-browser] 0.5.3-37+b1 [...] > I would have reproduced the errors below, however, a few other packages > are > having bugs that cause them to spam the terminal with useless, > identical errors, > so the errors from query-bts all got buried (ie, they are above the > viewable > terminal window.) I tried to reproduce the issue, but I was not successful: querybts started w3m in my case, without any firefox-related errors. But the selected browser heavily depends on the system configuration, on installed packages, and so forth... I am not sure I will be able to investigate this for your system: I'll have to look deeper, in order to understand which are the key questions I should ask to you... > As a guess, I would say that the root user doesnt have a firefox > profile, How did you start the root session where you were upgrading you system? Were you inside a desktop session? Did you open a terminal? Did you use $ su - to become root and then start apt or aptitude? Or were you using sudo? Since you have s6 installed, apt-listbugs may have launched querybts as your regular (non-root) user, through s6-setuidgid. However, this does not correspond to a "full-featured" user session, hence access to your "normal" user environment is partially unachievable... It's complicated (and it will slightly change in the next version of apt-listbugs!): I will try to give more details on this, after I receive more info from you... > When I ran querybts as a normal user, it was able to open a firefox > page: That's expected, because querybts was directly running inside your "full-featured" user session. > sudo querybts wound up opening a text page, and printing about how it > failed to find various browsers, but had no popups about firefox > profiles, > and the error messages were less aggressive. I should look into querybts and reportbug code more deeply, to be sure, but maybe in that case querybts ran a text browser as root, thus introducing fewer indirectness levels... > Thanks for taking the time to review this! You're welcome. Please provide the requested additional info and let's see whether we can shed more light on the issue. [...] > -- Configuration Files: [...] > AptListbugs::Severities "critical,grave,serious,important,minor"; [...] Awkward configuration: you seem to be worried about minor bugs, but not about normal bugs... -- http://www.inventati.org/frx/ There's not a second to spare! To the laboratory! ..................................................... Francesco Poli . GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
pgphKD1l3ov4U.pgp
Description: PGP signature