chromium key mappings go crazy under ssh -X

2022-03-18 Thread Luke A. Call
When I run chromium or iridium via ssh -X, after some minutes, or
immediately after I switch to a console and back with Ctrl-Alt-Fn, the
keystrokes go wild.  Suddenly space brings up a dialog asking about caret
browsing, Ctrl acts like I right-clicked, most letters work but not m,
etc.  All is back to normal for a few minutes again after I kill the
chrome and relaunch it.  The mouse never seems affected, but I can't
even type a URL normally, and even if I paste a URL, Enter doesn't work.
Nothing in the stdout/stderr from chrome looked interesting, I thought, but I
can send that also.  (As I recall, there was nothing additional in the
output from the time when the keys went crazy, but many things at browser
startup.)

The problem doesn't happen with ssh -Y apparently(?), unless connecting
to run chromium on a remote computer.  It doesn't happen if I run it
as the same user that is running X, nor with xhost permissions allowing
it to run without ssh.  And it doesn't seem to happen with any other
application, including firefox or libreoffice, or xterm.  But I don't
want to use open xhost permissions or ssh -Y full-time for this, 
because then that user can see other users' keystrokes, in X (as shown by
the program  xinput -test  for example).  (I am guessing use of xauth would
also allow seeing keystrokes of other users, but I haven't tested it, as it
looks like xauth is more for remote connections than xhost is.)

I do this so I can have multiple browsers simultaneously, as different
users, so if one instance of a browser is compromised, it
hopefully can't compromise other users' browsers (which are for connecting
to more secure things).  If I could have multiple simultaneous X servers
instead, and if that is considered a reasonable use, that might work
better.  Pointing out holes in my thinking is much appreciated.
(What do other people do for this, if anything?)

It didn't happen on OpenBSD 6.8, but I noticed it right after I
upgraded to 6.9 then immediately to 7.0.  I'm running stable (syspatches
but not current).

Suggestions?  I did something stupid?  Should send a bug report?
Thanks much!

Luke Call


Here is /var/run/dmesg.boot.  (The dmesg itself is included further down):

s0 detached
uhidev0 detached
uhidev0 at uhub0 port 3 configuration 1 interface 0 "Logitech USB Optical 
Mouse" rev 2.00/72.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub0 port 3 configuration 1 interface 0 "Logitech USB Optical 
Mouse" rev 2.00/72.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub0 port 3 configuration 1 interface 0 "Logitech USB Optical 
Mouse" rev 2.00/72.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
wsmouse0 detached
ums0 detached
uhidev0 detached
uhidev0 at uhub0 port 3 configuration 1 interface 0 "Logitech USB Optical 
Mouse" rev 2.00/72.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
[... much more of the above, repeated...]

syncing disks... done
r
OpenBSD 7.0 (GENERIC.MP) #5: Mon Jan 31 09:09:02 MST 2022

r...@syspatch-70-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 16033533952 (15290MB)
avail mem = 15531577344 (14812MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xebf90 (49 entries)
bios0: vendor American Megatrends Inc. version "204" date 11/20/2014
bios0: ASUSTeK COMPUTER INC. X550ZA
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT ECDT MCFG MSDM HPET UEFI SSDT SSDT CRAT SSDT 
SSDT SSDT SSDT
acpi0: wakeup devices LOM_(S4) SBAZ(S4) ECIR(S4) OHC1(S4) EHC1(S4) OHC2(S4) 
EHC2(S4) OHC3(S4) EHC3(S4) OHC4(S4) XHC0(S4) XHC1(S4) ODD8(S3) GLAN(S4) 
LID_(S5) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A10-7400P Radeon R6, 10 Compute Cores 4C+6G, 2495.71 MHz, 15-30-01
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TCE,NODEID,TBM,CPCTR,DBKP,PERFTSC,ITSC,FSGSBASE,BMI1,XSAVEOPT
cpu0: 96KB 64b/line 3-way I-cache, 16KB 64b/line 4-way D-cache, 2MB 64b/line 
16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 17 (application 

Re: rtable - cannot start svc anymore - current

2022-03-18 Thread Stuart Henderson
On 2022-03-18, Mark Patruck  wrote:
> Hi,
>
> after updating a first bunch of backup systems to -current today, i have
> issues starting services on machines w/ different rdomains.
>
> $ cat /etc/rc.conf.local
> ifstated_flags=
> ntpd_flags=NO
> ntpd106_rtable=106
> smtpd_flags=NO
> smtpd202_rtable=202
> syslogd_flags=NO
> syslogd104_rtable=104
> zabbix_agentd104_rtable=104
> pkg_scripts=ntpd106 smtpd202 syslogd104 zabbix_agentd104
>
>
> None of the services come up when started either via
>
> $ doas rcctl start smtpd202
> or
> $ /etc/rc.d/smtpd202 start
>
> The only thing that works, is
>
> $ doas route -T202 exec /usr/sbin/smtpd
>
>
> Did i miss changes to -current (login class stuff perhaps)?

The thing most likely to have affected this is
https://marc.info/?t=16435008481=1=2 but it's not expected
that you should have to change anything, and I don't see that
problem here - I just did this to try and replicate :

cd /etc/rc.d
cp sshd sshd2
cd ..
echo sshd2_rtable=2 >> rc.conf.local
rcctl start sshd2

and it started and is running ok in rdomain 2 :

# pgrep -T 2 -lf . 
75594 sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups
# route -T 2 exec telnet $rtable2_local_ip 22
[..]
Escape character is '^]'.
SSH-2.0-OpenSSH_8.9

Not sure what to suggest. Maybe ktrace -i will give some clues ..




Re: Boise mirror certificate expired : Boise, ID, USA : mirrors.syringanetworks.net

2022-03-18 Thread Stuart Henderson
On 2022-03-18, Stuart Henderson  wrote:
> I have forwarded this to the listed address for the maintainer of this mirror.

Oh, actually...we don't list that as supporting https, precisely because of 
this.




Re: who is writing to a deleted file?

2022-03-18 Thread Janne Johansson
Den fre 18 mars 2022 kl 16:29 skrev Harald Dunkel :
> something on my gateway (7.0) is hiding disk space, AFAICS:
>
> # du -hs /
> 3.4G/
> # df -h /
> Filesystem SizeUsed   Avail Capacity  Mounted on
> /dev/sd0a 31.5G5.6G   24.3G19%/
>
> How can I find out which process is eating up disk space, without
> killing it, of course?

fstat(8) can help,

# fstat | sort -n -k 9
to get the largest open file at the bottom, third column is the PID.


-- 
May the most significant bit of your life be positive.



who is writing to a deleted file?

2022-03-18 Thread Harald Dunkel

Hi folks,

something on my gateway (7.0) is hiding disk space, AFAICS:

# du -hs /
3.4G/
# df -h /
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/sd0a 31.5G5.6G   24.3G19%/

How can I find out which process is eating up disk space, without
killing it, of course?


Regards
Harri



rtable - cannot start svc anymore - current

2022-03-18 Thread Mark Patruck

Hi,

after updating a first bunch of backup systems to -current today, i have
issues starting services on machines w/ different rdomains.

$ cat /etc/rc.conf.local
ifstated_flags=
ntpd_flags=NO
ntpd106_rtable=106
smtpd_flags=NO
smtpd202_rtable=202
syslogd_flags=NO
syslogd104_rtable=104
zabbix_agentd104_rtable=104
pkg_scripts=ntpd106 smtpd202 syslogd104 zabbix_agentd104


None of the services come up when started either via

$ doas rcctl start smtpd202
or
$ /etc/rc.d/smtpd202 start

The only thing that works, is

$ doas route -T202 exec /usr/sbin/smtpd


Did i miss changes to -current (login class stuff perhaps)?

Thanks,

-Mark

--
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51
 
https://www.wrapped.cx




Re: Boise mirror certificate expired : Boise, ID, USA : mirrors.syringanetworks.net

2022-03-18 Thread Stuart Henderson
I have forwarded this to the listed address for the maintainer of this mirror.


On 2022-03-18, Luke Small  wrote:
> Boise mirror certificate expired : Boise, ID, USA :
> mirrors.syringanetworks.net
>
> mirrors@ didn't quite seem like it was being used.
>
> -Luke
>


-- 
Please keep replies on the mailing list.