Re: Can't select files to upload in a browsers

2019-12-06 Thread Jordan Geoghegan




On 2019-12-06 02:56, dmitry.sensei wrote:

Firefox and Chromium browser, in the file selection window for upload,
does not show the contents of directories other than the Downloads
directory


OpenBSD 6.6-current
OpenBSD 6.6 GENERIC.MP#509 amd64

openbox-3.6.1p7 small, fast & usable window manager
firefox-71.0Mozilla web browser
chromium-78.0.3904.106 Chromium browser
gtk+2-2.24.32p8 multi-platform graphical toolkit
gtk+3-3.24.13   multi-platform graphical toolkit
gtk+4-3.96.0p6  multi-platform graphical toolkit



That's because both browsers are using unveil.



Re: i386 syspatch65-021_libcaut breaks bash and zsh

2019-12-06 Thread Christian Gut


> On 6. Dec 2019, at 13:20, Stuart Henderson  wrote:
> 
> On 2019-12-06, Christian Gut  wrote:
>> after installing syspatch65-021_libcaut on a i386 machine, bash and zsh 
>> installed from ports are broken:
>> 
>> $ bash
>> bash:bash: undefined symbol '__divdi3'
>> ld.so: bash: lazy binding failed!
>> Killed 
>> 
>> is this a known issue or am I doing something wrong?
>> 
> 
> It appears that the "library_aslr" step (by default this is run
> automatically at boot) fixes things up, so for now I would suggest
> that rebooting is likely to get your machine back to normal.
> 

Confirmed, reboot fixes this on 6.5 (both bash and zsh)

Thank you very much



Re: i386 syspatch65-021_libcaut breaks bash and zsh

2019-12-06 Thread Stuart Henderson
On 2019-12-06, Christian Gut  wrote:
> Hi List,
>
> after installing syspatch65-021_libcaut on a i386 machine, bash and zsh 
> installed from ports are broken:
>
> $ bash
> bash:bash: undefined symbol '__divdi3'
> ld.so: bash: lazy binding failed!
> Killed 
>
> is this a known issue or am I doing something wrong?
>
> Kind Regards,
>
> Christian
>
>

Unsure exactly what is up so far, but I can confirm that there's
something wrong with the libc.so in the i386 syspatches.

On 6.6 bash seems OK but zsh is affected.

It appears that the "library_aslr" step (by default this is run
automatically at boot) fixes things up, so for now I would suggest
that rebooting is likely to get your machine back to normal.




Re: Can't select files to upload in a browsers

2019-12-06 Thread dmitry.sensei
Ok. Thanks.
I done reading 
https://www.reddit.com/r/openbsd/comments/e65t22/pledge2_and_unveil2_support_in_firefox/

:)

пт, 6 дек. 2019 г. в 16:21, Paco Esteban :
>
> On Fri, 06 Dec 2019, dmitry.sensei wrote:
>
> > Firefox and Chromium browser, in the file selection window for upload,
> > does not show the contents of directories other than the Downloads
> > directory
>
> That's expected, it's unveil(2) in action.
> Take a look at /etc/chromium/unveil* for Chromium.  Can't remember where
> Firefox defines it.
>
> Cheers,
>
> --
> Paco Esteban.
> 5818130B8A6DBC03
>


-- 
Dmitry Orlov



Re: Can't select files to upload in a browsers

2019-12-06 Thread Stuart Henderson
On 2019-12-06, dmitry.sensei  wrote:
> Firefox and Chromium browser, in the file selection window for upload,
> does not show the contents of directories other than the Downloads
> directory
>
>
> OpenBSD 6.6-current
> OpenBSD 6.6 GENERIC.MP#509 amd64
>
> openbox-3.6.1p7 small, fast & usable window manager
> firefox-71.0Mozilla web browser
> chromium-78.0.3904.106 Chromium browser
> gtk+2-2.24.32p8 multi-platform graphical toolkit
> gtk+3-3.24.13   multi-platform graphical toolkit
> gtk+4-3.96.0p6  multi-platform graphical toolkit
>

This is expected.

Chromium has been using unveil(2) to restrict file access for some
time, and this has recently come to Firefox in -current. This prevents
the browser from being able to access sensitive files unless given
access (in a root-controlled file).

See https://marc.info/?l=openbsd-ports-cvs&m=157539245010077&w=2
and /usr/local/share/doc/pkg-readmes/firefox for more information
about how this affects Firefox.




Re: Can't select files to upload in a browsers

2019-12-06 Thread Paco Esteban
On Fri, 06 Dec 2019, dmitry.sensei wrote:

> Firefox and Chromium browser, in the file selection window for upload,
> does not show the contents of directories other than the Downloads
> directory

That's expected, it's unveil(2) in action.
Take a look at /etc/chromium/unveil* for Chromium.  Can't remember where
Firefox defines it.

Cheers,

-- 
Paco Esteban.
5818130B8A6DBC03



Can't select files to upload in a browsers

2019-12-06 Thread dmitry.sensei
Firefox and Chromium browser, in the file selection window for upload,
does not show the contents of directories other than the Downloads
directory


OpenBSD 6.6-current
OpenBSD 6.6 GENERIC.MP#509 amd64

openbox-3.6.1p7 small, fast & usable window manager
firefox-71.0Mozilla web browser
chromium-78.0.3904.106 Chromium browser
gtk+2-2.24.32p8 multi-platform graphical toolkit
gtk+3-3.24.13   multi-platform graphical toolkit
gtk+4-3.96.0p6  multi-platform graphical toolkit

-- 
Dmitry Orlov



Solid-Run's HoneyComb LX2K for OpenBSD

2019-12-06 Thread VanL


Hello,

How good are the chances of the 'HoneyComb LX2K' running OpenBSD?  [1]

Noone has uploaded an entry for '*BSD dmesgs' to NYC*BUG [2].

A result from searching for OpenBSD and 'HoneyComb LX2K' misses the mark
by landing on the pine64 forum.  [3]


Thanks in advance.



-VanL.

Footnotes: 
[1]  https://www.solid-run.com/nxp-lx2160a-family/honeycomb-workstation/

[2]  https://dmesgd.nycbug.org/index.cgi

[3]  https://forum.pine64.org/showthread.php?tid=7984&pid=49883#pid49883



i386 syspatch65-021_libcaut breaks bash and zsh

2019-12-06 Thread Christian Gut
Hi List,

after installing syspatch65-021_libcaut on a i386 machine, bash and zsh 
installed from ports are broken:

$ bash
bash:bash: undefined symbol '__divdi3'
ld.so: bash: lazy binding failed!
Killed 

is this a known issue or am I doing something wrong?

Kind Regards,

Christian