1 |
On Friday, 27 July 2018 09:16:30 BST gevisz wrote: |
2 |
> I have two Gentoo systems on the same AMD Athlon 64 X2 computer. |
3 |
> |
4 |
> The old one was installed in July 2013 with |
5 |
> default/linux/amd64/13.0/desktop/gnome (stable) |
6 |
> profile and was updated till the middle of |
7 |
> July 2017. Initially it hosted Gnome2 |
8 |
> but later I have switched to XFCE4. |
9 |
> |
10 |
> The new one was installed in January-February 2018 |
11 |
> with default/linux/amd64/17.0/desktop (stable) |
12 |
> profile and was last updated yesterday. From the |
13 |
> very beginning it hosted no DE, only Awesome WM |
14 |
> and dbus. |
15 |
> |
16 |
> The home directory is the same and still remembers |
17 |
> Ubuntu 6.04 installation in 2006. |
18 |
> |
19 |
> On the old system, I had the problem that chromium |
20 |
> very often (but not always!) asked me for some |
21 |
> (keyring?) password when I opened a new www-page. |
22 |
> |
23 |
> Recompilation of it with different user flags did not help. |
24 |
|
25 |
Go to: |
26 |
|
27 |
chrome://settings/passwords |
28 |
|
29 |
Then disable "Offer to save passwords". It should not ask you to save |
30 |
passwords thereafter. |
31 |
|
32 |
|
33 |
> I thought that that was because of the gnome-keyring, |
34 |
> consolekit or policykit packages but without any proof. |
35 |
|
36 |
From what I understand Chrome/ium will ask the desktop password manager to |
37 |
handle the saving of website passwords. |
38 |
|
39 |
Policykit/polkit provides a centralised mechanism for non-privileged processes |
40 |
to communicate with privileged ones; e.g. when a plain user wants to |
41 |
hibernate/shutdown, disable NICs, etc. |
42 |
|
43 |
https://lwn.net/Articles/258592/ |
44 |
|
45 |
Consolekit tracks user sessions and allows switching between users on the same |
46 |
PC without logging out. As far as I know with the switch to systemd and its |
47 |
built-in seat/user/session management mechanisms Consolekit is no longer |
48 |
maintained. |
49 |
|
50 |
|
51 |
> So, while installing the new Gentoo system, I decided |
52 |
> to avoid installing any package that needs gnome-keyring, |
53 |
> consolekit or policykit packages. |
54 |
|
55 |
I think you shouldn't have needed to do all this. |
56 |
|
57 |
|
58 |
> I have also set -pam -consolekit and -policykit in my |
59 |
> /etc/portage/make.conf |
60 |
|
61 |
PAM is used to separate applications from the underlying authentication |
62 |
mechanisms. It checks OS user/account/passwd/session authentications when |
63 |
required by applications. This is the backbone of managing Linux |
64 |
authentications today, although some applications retain their own application |
65 |
level authentication mechanism (e.g. SSH). |
66 |
|
67 |
I don't think setting USE="-pam" is advisable for most dekstop use cases. |
68 |
|
69 |
|
70 |
> Chromium indeed never asked me for the mentioned |
71 |
> above password on the new Gentoo system. |
72 |
> |
73 |
> But I get another problem on the new Gentoo system: |
74 |
> Firefox and Qupzilla both crash on some (login) www-pages. |
75 |
> |
76 |
> Namely, Firefox shows the "Gah. Your tab just crashed" |
77 |
> when I try to log into my Yahoo e-mail account. |
78 |
> |
79 |
> This happens only after entering login and password, |
80 |
> so not good enough to reproduce. |
81 |
> |
82 |
> However, it shows the same message just after staying |
83 |
> about 3-5 seconds on the following internet banking |
84 |
> login page: https://www.privat24.ua/#login |
85 |
> No login or password needed. :) |
86 |
> |
87 |
> The last error messages sent to terminal by FF while I |
88 |
> try to open the last www-page are the following: |
89 |
> |
90 |
> [Parent 4099] WARNING: pipe error (56): Connection reset by peer: |
91 |
|
92 |
The server disconnected you. |
93 |
|
94 |
|
95 |
> file |
96 |
> /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi |
97 |
> um/src/chrome/common/ipc_channel_posix.cc, line 322 |
98 |
|
99 |
I'm not sure if your firefox build is the same like shown here, but line 322 |
100 |
shows a I/O message loop where it checks if a connection is running so that it |
101 |
can respond. |
102 |
|
103 |
The page in question pops up a couple of things, after loading the initial |
104 |
page, including geolocation. It may have something to do with this. |
105 |
|
106 |
|
107 |
> ###!!! [Parent][MessageChannel] Error: |
108 |
> (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot |
109 |
> send/recv |
110 |
|
111 |
It seems the connection has been reset by the server, two processes running on |
112 |
your browser using IPC can't go anywhere and are torn down, but I'm no |
113 |
developer to know for sure. |
114 |
|
115 |
|
116 |
> As to the Qupzilla, it crashes on the page https://www.privat24.ua/#login |
117 |
> completely, with the following messages sent to terminal: |
118 |
> |
119 |
> [4376:4387:0727/105105.178569:ERROR:nss_ocsp.cc(591)] No |
120 |
> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com |
121 |
[snip ...] |
122 |
|
123 |
The browser is trying to check ocsp.digicert.com for the validity of the |
124 |
certificate, but there is some error with the URL. Then (I'm guessing) |
125 |
there's some pop up in the browser to inform you of this error, which causes a |
126 |
mesa rendering fault with the output shown below: |
127 |
|
128 |
> r300 FP: Compiler Error: |
129 |
> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers |
130 |
> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode(): |
131 |
> translate_rgb_opcode: Unknown opcode DDY |
132 |
> Using a dummy shader instead. |
133 |
> QupZilla: Crashed :( Saving backtrace in |
134 |
> /home/user/.config/qupzilla/crashlog ... |
135 |
> Backtrace successfully saved in |
136 |
> /home/user/.config/qupzilla/crashlog/Crash-2018-07-27T10:51:11.txt |
137 |
> |
138 |
> The mentioned above crashlog file contains only the following: |
139 |
> |
140 |
> Time: Fri Jul 27 10:51:11 2018 |
141 |
> Qt version: 5.9.6 (compiled with 5.9.4) |
142 |
> QupZilla version: 2.2.5 |
143 |
> Rendering engine: QtWebEngine |
144 |
> |
145 |
> ============== BACKTRACE ============== |
146 |
> #0: qupzilla(+0x355b) [0x55691e37055b] |
147 |
> #1: /lib64/libc.so.6(+0x35c60) [0x7f3a568c3c60] |
148 |
> #2: [0x7f3a3c18d2c9] |
149 |
|
150 |
I wouldn't know why the rendered content causes a mesa fault with the gallium |
151 |
driver, which brings down the browser. Are you running the browser in a |
152 |
container? Does it have enough memory allocated to it? |
153 |
|
154 |
|
155 |
> Strange enough, but on the old Gentoo system Firefox does not crash on |
156 |
> the said www-pages. |
157 |
> |
158 |
> I initially thought that all that because |
159 |
> I have set -consolekit and -policykit use |
160 |
> flags in my /etc/portage/make.conf on my |
161 |
> new Gentoo system but unsetting them |
162 |
> does not lead to any recompilation while running |
163 |
> # emerge --update --deep --with-bdeps=y --newuse --backtrack=100 --ask world |
164 |
> |
165 |
> Any thoughts about this? |
166 |
|
167 |
-- |
168 |
Regards, |
169 |
Mick |