Re: [6.6] PostgreSQL server: fail to auth

2019-10-30 Thread PengouinBSD
Hi, and thanks.

With your reply and lower letter is better.
it seems not necessary to set at 'trust', just 'md5' into file
pg_hba.conf. (gitea need 'md5')

:D

Le 30/10/2019 à 21:25, ch...@qatland.com a écrit :
>> Hi,
>>
>> On my OpenBSD server, run with 6.6, I installed Postgresql server.
>>
>> I have a problem with auth. solene@ is informed of this problem; but
>> I'll tell you about it. Perhaps you have a solution?
>>
>> FYI: I start completely with Postgresql. Usually I use MySQL*
>> Postgresql has just been installed.
>>
>> 
>>
>> The error message:
>>
>> psql: FATAL:  password authentication failed for user "***"
>>
>> 
>>
>> Demo:
>>
>> # su - _postgresql
>> arrakiss$ psql -U postgres
>> Password for user postgres:
>> psql (11.5)
>> Type "help" for help.
>>
>> postgres=# CREATE USER ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 WITH PASSWORD
>> '6TsrKeqq93KyVtc5yVjU9dfZsJkPPtKKdSyEnjypZDkVdgtW4aVN3YNQd5vKoFNx';
>> CREATE ROLE
>> postgres=# \connect template1
>> You are now connected to database "template1" as user "postgres".
>> template1=# CREATE DATABASE "A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2" WITH
>> ENCODING 'UTF-8';"
>> CREATE DATABASE
>> template1"# GRANT ALL PRIVILEGES ON DATABASE
>> "A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2" TO ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2;
>> template1"# ALTER DATABASE "A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2" OWNER TO
>> ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2;
>> template1"# \q
>> Use control-D to quit.
>> template1"# \q
>> arrakiss$ exit
>>
>> In fact, I have one created user, named ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2
>> His password:
>> 6TsrKeqq93KyVtc5yVjU9dfZsJkPPtKKdSyEnjypZDkVdgtW4aVN3YNQd5vKoFNx
>> One created DB, named:
>> A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2
>>
>> And the user ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 has all rights on DB
>> A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2
>>
>> Right?!
>>
>> But, when I attempt to connect to DB with user, I have the above the
>> error message:
>> # psql -U ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2
>> Password for user ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2:
>> psql: FATAL:  password authentication failed for user
>> "ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2"
>>
>> # psql -U ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 -d
>> A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2
>> Password for user ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2:
>> psql: FATAL:  password authentication failed for user
>> "ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2"
>>
>> Ok I found it's necessary to change informations into file
>> 'pg_hba.conf'. I set as:
>> # grep A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2
>> /var/postgresql/data/pg_hba.conf
>>
>>
>> local A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2 alltrust
>>
>> And restart the service/daemon postgresql.
>>
>> Despite, I cant connect on!
>>
>> ---
>>
>> Any idea, please?!
>>
>> --
>> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
>> 
>> Stephane HUC as PengouinBSD or CIOTBSD
>> b...@stephane-huc.net
>>
>>
> 
> The CREATE USER command is wrong, you forgot to add the LOGIN right.
> 
> The below should work for you.
> 
> CREATE USER ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 WITH LOGIN PASSWORD
> '6TsrKeqq93KyVtc5yVjU9dfZsJkPPtKKdSyEnjypZDkVdgtW4aVN3YNQd5vKoFNx';
> 
> Also depending on the version of Postgresql the capital letters in the
> username will be lowercase.  This will affect the login ability.
> 
> Have Fun!
> Chuck Hall
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



[6.6] PostgreSQL server: fail to auth

2019-10-30 Thread PengouinBSD
Hi,

On my OpenBSD server, run with 6.6, I installed Postgresql server.

I have a problem with auth. solene@ is informed of this problem; but
I'll tell you about it. Perhaps you have a solution?

FYI: I start completely with Postgresql. Usually I use MySQL*
Postgresql has just been installed.



The error message:

psql: FATAL:  password authentication failed for user "***"



Demo:

# su - _postgresql
arrakiss$ psql -U postgres
Password for user postgres:
psql (11.5)
Type "help" for help.

postgres=# CREATE USER ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 WITH PASSWORD
'6TsrKeqq93KyVtc5yVjU9dfZsJkPPtKKdSyEnjypZDkVdgtW4aVN3YNQd5vKoFNx';
CREATE ROLE
postgres=# \connect template1
You are now connected to database "template1" as user "postgres".
template1=# CREATE DATABASE "A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2" WITH
ENCODING 'UTF-8';"
CREATE DATABASE
template1"# GRANT ALL PRIVILEGES ON DATABASE
"A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2" TO ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2;
template1"# ALTER DATABASE "A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2" OWNER TO
ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2;
template1"# \q
Use control-D to quit.
template1"# \q
arrakiss$ exit

In fact, I have one created user, named ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2
His password:
6TsrKeqq93KyVtc5yVjU9dfZsJkPPtKKdSyEnjypZDkVdgtW4aVN3YNQd5vKoFNx
One created DB, named:
A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2

And the user ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 has all rights on DB
A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2

Right?!

But, when I attempt to connect to DB with user, I have the above the
error message:
# psql -U ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2
Password for user ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2:
psql: FATAL:  password authentication failed for user
"ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2"

# psql -U ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2 -d
A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2
Password for user ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2:
psql: FATAL:  password authentication failed for user
"ghiMDQawgogUfFRTikPoWsUFN1xX8bgz2"

Ok I found it's necessary to change informations into file
'pg_hba.conf'. I set as:
# grep A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2
/var/postgresql/data/pg_hba.conf


local A5mSHO4SamFa2OJmJC81GbDtUhj4wkyU2 alltrust

And restart the service/daemon postgresql.

Despite, I cant connect on!

---

Any idea, please?!

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: makewhatis after patch ber

2019-10-28 Thread PengouinBSD
OK, my bad!
(lack of attention) sorry

indeed, it runs correctly.

thanks!


Le 28/10/2019 à 19:27, Ingo Schwarze a écrit :
> Hi Stephane,
>
>> After launched makewhatis, the result:
>> $ makewhatis
>> /usr/share/man//mandoc.db: Data changed, but cannot replace database
>>
>> What to do?
> You need to run makewhatis(8) as root because relevant files and
> directories typically have these permissions:
>
>$ cd /usr/share/man; ls -ld . mandoc.db
>   drwxr-xr-x  12 root  wheel  512 Oct 22 19:21 .
>   -rw-r--r--   1 root  wheel  2191096 Oct 22 19:21 mandoc.db
>
> Yours,
>   Ingo

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



makewhatis after patch ber

2019-10-28 Thread PengouinBSD
Hi,

After launched makewhatis, the result:
$ makewhatis
/usr/share/man//mandoc.db: Data changed, but cannot replace database

What to do?


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Nginx error EMERG

2019-10-26 Thread PengouinBSD
Hi

I've this problem with Nginx (v.1.14.2) on OpenBSD 6.5:

# nginx -t
nginx: [emerg] BIO_new_file("/etc/nginx/$file_fullchain") failed (SSL:
error:02FFF002:system library:func(4095):No such file or
directory:fopen('/etc/nginx/$file_fullchain', 'r') error:20FFF080:BIO
routines:CRYPTO_internal:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

How did I do that?
I just wanted to test TLS v1.3.
but I didn't pay attention to the fact that the LibreSSL didn't support.
(if I have understood correctly)

The server Nginx can't restart, and the service web is down…
Even, by restoring my oldier functional configuration only with TLS
v1.2: it failed!



My functionnal TLS v1.2 config:

ssl_buffer_size 4k; # 16k, for throughput, video applications

ssl_session_cache shared:SSL:10m;
ssl_session_tickets off;
ssl_session_timeout 1h;

ssl_certificate /etc/ssl/acme/stephane-huc.net.fullchain.pem;
ssl_certificate_key /etc/ssl/acme/private/stephane-huc.net.privkey.pem;
ssl_dhparam /etc/nginx/cfg/stephane-huc.net/dhp_4096.pem;

ssl_ecdh_curve X25519:P-521:P-384;

# Mozilla Modern Config
ssl_protocols TLSv1.2;
ssl_ciphers
'EECDH+CHACHA20:EECDH+AESGCM:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
ssl_prefer_server_ciphers on;

ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate /etc/ssl/acme/stephane-huc.net.chain.pem;

resolver 80.67.169.12 80.67.169.40 [2001:910:800::12] [2001:910:800::40]
valid=300s;



For TLS v1.3, I had just modified the lines, as:
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers
'TLS13+AESGCM+AES128:EECDH+CHACHA20:EECDH+AESGCM:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Patch for www:upgrade66

2019-10-16 Thread PengouinBSD
ltra1 is valid as a root disk, as long as ultra0
> +===
>  ultra0 is always a valid root drive.
>  ultra1 is valid as a root disk, as long as 
> ultra0
> +>>>>>>> 1.267
>is a hard drive, not a non-hard disk ATAPI device.
> +<<<<<<< macppc.html
> +ide1 (Zip drive bay) is valid as a root disk if no hard drive is
> +  located at ultra1,
> +ide0 (cdrom) is valid as a root drive only if no hard
> +===
>  ide1 (Zip drive bay) is valid as a root disk if no hard 
> drive is
>located at ultra1,
>  ide0 (cdrom) is valid as a root drive only 
> if no hard
> +>>>>>>> 1.267
>drives are connected to the Ultra bus.
>  
>  
> Index: faq/faq17.html
> ===
> RCS file: /cvs/www/faq/faq17.html,v
> retrieving revision 1.11
> diff -u -p -r1.11 faq17.html
> --- faq/faq17.html21 Jun 2019 08:22:16 -  1.11
> +++ faq/faq17.html16 Oct 2019 19:15:14 -
> @@ -627,8 +627,13 @@ ike dynamic esp transport proto udp from
>  psk mekmitasdigoat
>  
>  
> +<<<<<<< faq17.html
> +Once the IKEv1 tunnel is up and running, the L2TP tunnel need to be 
> configured.
> +OpenBSD doesn't provide an L2TP client by default, so installing
> +===
>  Once the IKEv1 tunnel is up and running, the L2TP tunnel needs to be 
> configured.
>  OpenBSD doesn't provide an L2TP client by default, so installing
> +>>>>>>> 1.5
>  xl2tpd is required.
>  
>  
> Index: faq/upgrade66.html
> ===
> RCS file: /cvs/www/faq/upgrade66.html,v
> retrieving revision 1.10
> diff -u -p -r1.10 upgrade66.html
> --- faq/upgrade66.html16 Oct 2019 17:48:16 -  1.10
> +++ faq/upgrade66.html16 Oct 2019 19:15:14 -
> @@ -36,10 +36,10 @@ local system first.
>  
>  Start by performing the pre-upgrade steps.
>  Next, boot from the install kernel, bsd.rd:
> -use bootable install media, or place the 
> -6.6 version of bsd.rd in the root of your filesystem and 
> +use bootable install media, or place the
> +6.6 version of bsd.rd in the root of your filesystem and
>  instruct the boot loader to boot this kernel.
> -Once this kernel is booted, choose the (U)pgrade option and 
> +Once this kernel is booted, choose the (U)pgrade option and
>  follow the prompts.
>  
>  
> @@ -136,7 +136,7 @@ any post-release fixes.
>acme-client(1).
>  
> href="https://man.openbsd.org/OpenBSD-6.6/acme-client.1;>acme-client(1)
> -  has been updated to implement the recently published RFC8555. Users 
> +  has been updated to implement the recently published RFC8555. Users
>must change the api url in
>https://man.openbsd.org/OpenBSD-6.6/acme-client.5;>
>/etc/acme-client.conf from
> @@ -286,7 +286,7 @@ any post-release fixes.
>Remove files associated with client use of the X Font Service:
>
>rm -f /usr/X11R6/lib/pkgconfig/libfs.pc \
> -/usr/X11R6/include/X11/fonts/FSlib.h
> +/usr/X11R6/include/X11/fonts/FSlib.h;
>   rm -rf  /usr/X11R6/share/doc/libFS
>  
> 
> --
> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
> 
> Stephane HUC as PengouinBSD or CIOTBSD
> b...@stephane-huc.net
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



diff upgrade66

2019-10-16 Thread PengouinBSD
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I may be wrong, but wouldn't that be better?
It seems to me that there is a gap between the two 'rm' commands,
isn't it?

Index: faq/upgrade66.html
===
RCS file: /cvs/www/faq/upgrade66.html,v
retrieving revision 1.10
diff -u -p -r1.10 upgrade66.html
- --- faq/upgrade66.html16 Oct 2019 17:48:16 -  1.10
+++ faq/upgrade66.html  16 Oct 2019 19:15:14 -
@@ -136,7 +136,7 @@ any post-release fixes.
   acme-client(1).

   https://man.openbsd.org/OpenBSD-6.6/acme-client.1;>acme-client(1)
- -  has been updated to implement the recently published RFC8555.
Users
+  has been updated to implement the recently published RFC8555.
Users
   must change the api url in
   https://man.openbsd.org/OpenBSD-6.6/acme-client.5;>
   /etc/acme-client.conf from
@@ -286,7 +286,7 @@ any post-release fixes.
   Remove files associated with client use of the X Font Service:
   
   rm -f /usr/X11R6/lib/pkgconfig/libfs.pc \
- -/usr/X11R6/include/X11/fonts/FSlib.h
+/usr/X11R6/include/X11/fonts/FSlib.h;
  rm -rf  /usr/X11R6/share/doc/libFS


- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXadtqgAKCRATq98t3AMG
7+knAP4zKUDtNRqKXViMb+i9hI24Ms5FV3/9U3opu+RynEU6swD/cgonOxAxyjaD
FfPIkSqaa3gQMqZoRMV9bMECabjAkwQ=
=TlO9
-END PGP SIGNATURE-



Re: Core firefox, was: (Re: alc0 watchdog timeout)

2019-06-26 Thread PengouinBSD
I installed few days ago gdb:

(query is a personal alias for pkg_info -Q)
$ query gdb | grep installed
gdb-7.12.1p5 (installed)

$ gdb --version
GNU gdb 6.3

If I try with egdb:

$ egdb /usr/local/bin/firefox
firefox.core
   

GNU gdb (GDB) 7.12.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-openbsd6.5".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/firefox...(no debugging symbols
found)...done.

warning: Couldn't find general-purpose registers in core file.

warning: Couldn't find general-purpose registers in core file.
#0   in ?? ()
(gdb) bt
#0   in ?? ()
Backtrace stopped: not enough registers or memory available to unwind
further
(gdb) thread 1
[Switching to thread 1 (process 1)]
#0   in ?? ()
(gdb) thread 2
Unknown thread 2.
(gdb) thread 0
Invalid thread ID: 0
(gdb) q

No help more! :(


On 6/26/19 9:37 PM, Todd Mortimer wrote:
> Hmm. That’s obviously not very helpful. 
>
> Perhaps try ports gdb? It will install as egdb. 
>
>> On Jun 26, 2019, at 21:33, Stéphane HUC PengouinBSD  
>> wrote:
>>
>>> On 6/22/19 5:32 PM, Todd Mortimer wrote:
>>> On Sat, Jun 22, 2019 at 12:25:30PM +0200, Stephane HUC "PengouinBSD" wrote: 
>>> >> (...) >> >> Perhaps, for Firefox, it's a problem with pledge? >> >>
>> I see thoses messages in /var/log/messages - egual on 'dmesg': >> >> Jun
>> 22 11:21:21 ptb-z /bsd: firefox[1]: pledge "flock", syscall 92 >>
>> Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
>>>> Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall
>> 92 >> >> (...) >> >> firefox[68021]: pledge "flock", syscall 92 >>
>> firefox[22469]: pledge "flock", syscall 92 >> firefox[41244]: pledge
>> "flock", syscall 92 >> >> ??? > > This happens sometimes when firefox is
>> calling into some library that > hits these syscalls, and those syscalls
>> are not in the firefox pledge. > In my experience this is often some
>> uncommon code path through X, > usually related to which graphics driver
>> you are using, but it could be > anything. When I have this happen to
>> me, it is always on specific > websites that trigger some rendering
>> codepath through X that uses some > unusual way to allocate memory or
>> something. In your case, it could also > be some extension you have
>> loaded. > > You can pretty easily see what is going wrong: > > When a
>> firefox tab crashes you should have a firefox.core file lying > around
>> (usually in your $HOME, but it will be wherever you launched > firefox
>> from). Run gdb on /usr/local/bin/firefox, and then load up the > core
>> file. It will drop you into the spot where firefox was killed, and > you
>> can check the backtrace to see what code path took you to the system >
>> call that hasn't been pledged. > > In this instance, firefox is calling
>> fcntl, which is covered by the > "flock" pledge. You can add "flock" to
>> the > security.sandbox.pledge.content line in about:config and see if
>> that > makes it work for you. If you have at all modified the firefox
>> content > or main pledges from their defaults, you should check to see
>> if > reverting to their defaults helps ("flock" is in the main pledge by
>>> default, but not in the content pledge). > > Hope this helps.
>> Hi,
>>
>> Now, Firefox tab crash; as you wrote, I try gdb:
>>
>> $ gdb /usr/local/bin/firefox
>> GNU gdb 6.3
>> Copyright 2004 Free Software Foundation, Inc.
>> GDB is free software, covered by the GNU General Public License, and you are
>> welcome to change it and/or distribute copies of it under certain
>> conditions.
>> Type "show copying" to see the conditions.
>> There is absolutely no warran

Core firefox, was: (Re: alc0 watchdog timeout)

2019-06-26 Thread PengouinBSD
On 6/22/19 5:32 PM, Todd Mortimer wrote:
> On Sat, Jun 22, 2019 at 12:25:30PM +0200, Stephane HUC "PengouinBSD" wrote: 
> >> (...) >> >> Perhaps, for Firefox, it's a problem with pledge? >> >>
I see thoses messages in /var/log/messages - egual on 'dmesg': >> >> Jun
22 11:21:21 ptb-z /bsd: firefox[1]: pledge "flock", syscall 92 >>
Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
>> Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall
92 >> >> (...) >> >> firefox[68021]: pledge "flock", syscall 92 >>
firefox[22469]: pledge "flock", syscall 92 >> firefox[41244]: pledge
"flock", syscall 92 >> >> ??? > > This happens sometimes when firefox is
calling into some library that > hits these syscalls, and those syscalls
are not in the firefox pledge. > In my experience this is often some
uncommon code path through X, > usually related to which graphics driver
you are using, but it could be > anything. When I have this happen to
me, it is always on specific > websites that trigger some rendering
codepath through X that uses some > unusual way to allocate memory or
something. In your case, it could also > be some extension you have
loaded. > > You can pretty easily see what is going wrong: > > When a
firefox tab crashes you should have a firefox.core file lying > around
(usually in your $HOME, but it will be wherever you launched > firefox
from). Run gdb on /usr/local/bin/firefox, and then load up the > core
file. It will drop you into the spot where firefox was killed, and > you
can check the backtrace to see what code path took you to the system >
call that hasn't been pledged. > > In this instance, firefox is calling
fcntl, which is covered by the > "flock" pledge. You can add "flock" to
the > security.sandbox.pledge.content line in about:config and see if
that > makes it work for you. If you have at all modified the firefox
content > or main pledges from their defaults, you should check to see
if > reverting to their defaults helps ("flock" is in the main pledge by
> default, but not in the content pledge). > > Hope this helps.
Hi,

Now, Firefox tab crash; as you wrote, I try gdb:

$ gdb /usr/local/bin/firefox
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd6.5"...(no debugging
symbols found)

(gdb) core-file firefox.core
warning: Couldn't find general-purpose registers in core file.

warning: Couldn't find general-purpose registers in core file.

#0  0x in ?? ()
(gdb) backtrace
#0  0x in ?? ()
Cannot access memory at address 0x0
(gdb) q

What do you want another?


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net




Re: alc0 watchdog timeout

2019-06-22 Thread Stephane HUC &quot;PengouinBSD"
HI

On 6.5-current:

As I wrote @ 1:46 AM, it seems OK!

But, I experiment some troubles on my connexion:

- unwanted SSH disconnections

- on X, with Firefox, tabs crashed always in same time.

Perhaps, for Firefox, it's a problem with pledge?

I see thoses messages in /var/log/messages - egual on 'dmesg':

Jun 22 11:21:21 ptb-z /bsd: firefox[1]: pledge "flock", syscall 92
Jun 22 11:21:21 ptb-z /bsd: firefox[17962]: pledge "flock", syscall 92
Jun 22 11:21:22 ptb-z /bsd: firefox[47501]: pledge "flock", syscall 92

(...)

firefox[68021]: pledge "flock", syscall 92
firefox[22469]: pledge "flock", syscall 92
firefox[41244]: pledge "flock", syscall 92

???

On 6/22/19 6:27 AM, Kevin Lo wrote:
> On Fri, Jun 21, 2019 at 09:44:12PM +0200, Stephane HUC "PengouinBSD" wrote:
>> HI,
> Hi,
>
>> To communicate on Internet, with my laptop - a Dell Alienware 13 - I
>> use an external LAN Adapter USB to RJ. This run correcty!
>>
>> I did not notice / understood that the physical network card was managed
>> .
>>
>> $ grep alc0 dmesg.txt
>>
>> alc0 at pci2 dev 0 function 0 "Attansic Technology E2200" rev 0x10:
>> msi, address 34:e6:d7:1b:7f:14
>> atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9
>>
>> But, if I configure inet and inet6 on hostname.alc0 file, either dhcp
>> or static informations, dmesg filled with "alc0: watchdog timeout" and
>> /var/log/messages grow up!
>>
>> Into /var/log/messages, as:
>> Jun 21 16:13:26 ptb-aw13zou /bsd: alc0: watchdog timeout
>> Jun 21 16:14:00 ptb-aw13zou /bsd: alc0: watchdog timeout
>> Jun 21 16:15:56 ptb-aw13zou last message repeated 5 times
>> Jun 21 16:25:39 ptb-aw13zou last message repeated 20 times
>> Jun 21 16:35:34 ptb-aw13zou last message repeated 21 times
>> Jun 21 16:45:57 ptb-aw13zou last message repeated 22 times
>> Jun 21 16:55:56 ptb-aw13zou last message repeated 19 times
>> Jun 21 17:05:46 ptb-aw13zou last message repeated 22 times
>> Jun 21 17:15:37 ptb-aw13zou last message repeated 22 times
>> Jun 21 17:25:30 ptb-aw13zou last message repeated 22 times
>> Jun 21 17:27:54 ptb-aw13zou last message repeated 4 times
>>
>> With 'dhcp', the system reply: "no lease".
>>
>> Someone can explain-me the reason (simply), please?!
>> (and, perhaps, found a solution…)
> I think this bug has been fixed in r1.48.  Please try -current, thanks.
>



Re: alc0 watchdog timeout

2019-06-21 Thread Stephane HUC &quot;PengouinBSD"


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, Brad.

With -current, it seems run correctly.

dhclient: ok

statics inet4 and inet6 seem to good.

Do you want some tests?

On 6/21/19 11:24 PM, Brad Smith wrote:
> Can you please try -current and let me know if it works any better? > > On 
> 6/21/2019 3:44 PM, Stephane HUC "PengouinBSD" wrote: >> HI, >>
>> To communicate on Internet, with my laptop - a Dell Alienware 13 - I
>> use an external LAN Adapter USB to RJ. This run correcty! >> >> I did
not notice / understood that the physical network card was managed >> .
>> >> $ grep alc0 dmesg.txt >> >> alc0 at pci2 dev 0 function 0
"Attansic Technology E2200" rev 0x10: >> msi, address 34:e6:d7:1b:7f:14
>> atphy0 at alc0 phy 0: AR8035 10/100/1000 PHY, rev. 9 >> >> But, if I
configure inet and inet6 on hostname.alc0 file, either dhcp >> or static
informations, dmesg filled with "alc0: watchdog timeout" and >>
/var/log/messages grow up! >> >> Into /var/log/messages, as: >> Jun 21
16:13:26 ptb-aw13zou /bsd: alc0: watchdog timeout >> Jun 21 16:14:00
ptb-aw13zou /bsd: alc0: watchdog timeout >> Jun 21 16:15:56 ptb-aw13zou
last message repeated 5 times >> Jun 21 16:25:39 ptb-aw13zou last
message repeated 20 times >> Jun 21 16:35:34 ptb-aw13zou last message
repeated 21 times >> Jun 21 16:45:57 ptb-aw13zou last message repeated
22 times >> Jun 21 16:55:56 ptb-aw13zou last message repeated 19 times
>> Jun 21 17:05:46 ptb-aw13zou last message repeated 22 times >> Jun 21
17:15:37 ptb-aw13zou last message repeated 22 times >> Jun 21 17:25:30
ptb-aw13zou last message repeated 22 times >> Jun 21 17:27:54
ptb-aw13zou last message repeated 4 times >> >> With 'dhcp', the system
reply: "no lease". >> >> Someone can explain-me the reason (simply),
please?! >> (and, perhaps, found a solution…) >> >>  >> >> My dmesg:
>> OpenBSD 6.5 (GENERIC.MP) #0: Wed Apr 24 23:38:54 CEST 2019 >> >>
r...@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENER
>> IC.MP >> real mem = 8487260160 (8094MB) >> avail mem = 8220405760
(7839MB) >> mpath0 at root >> scsibus0 at mpath0: 256 targets >>
mainbus0 at root >> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec580 (74
entries) >> bios0: vendor Alienware version "A08" date 01/25/2018 >>
bios0: Alienware Alienware 13 >> acpi0 at bios0: rev 2 >> acpi0: sleep
states S0 S3 S4 S5 >> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET
SSDT UEFI SSDT ASF! >> SLIC SSDT SSDT SSDT SSDT CSRT SSDT >> acpi0:
wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) >> PEG2(S4)
PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) >> PXSX(S4)
RP04(S4) RP05(S4) PEGP(S4) [...] >> acpitimer0 at acpi0: 3579545 Hz, 24
bits >> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat >> cpu0 at
mainbus0: apid 0 (boot processor) >> cpu0: Intel(R) Core(TM) i5-4210U
CPU @ 1.70GHz, 799.46 MHz, 06-45-01 >> cpu0: >>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
>>
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,
>>
DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
>>
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
>>
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
>> P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN >> cpu0: 256KB 64b/line
8-way L2 cache >> cpu0: smt 0, core 0, package 0 >> mtrr: Pentium Pro
MTRR support, 10 var ranges, 88 fixed ranges >> cpu0: apic clock running
at 99MHz >> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
>> cpu1 at mainbus0: apid 2 (application processor) >> cpu1: Intel(R)
Core(TM) i5-4210U CPU @ 1.70GHz, 799.31 MHz, 06-45-01 >> cpu1: >>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
>>
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,
>>
DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOV
>>
BE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAH
>>
F,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIB
>> P,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN >> cpu1: 256KB 64b/line
8-way L2 cache >> cpu1: smt 0, core 1, package 0 >> cpu2 at mainbus0:
apid 1 (application processor) >> cpu2: Intel(R) Core(TM) i5-4210U CPU @
1.70GHz, 799.31 MHz, 06-45-01 >> cpu2: >>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
>>
CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT

tsc defect? (kern.timecounter.hardware=acpihpet0)

2019-06-21 Thread Stephane HUC &quot;PengouinBSD"
Hi,

Always on my laptop Dell AW13, yesterday i realized a new installation
on other HD with OpenBSD 6.5 (amd64)

And, after log into my Xsession, I cant use correctly my keyboard since
keys are repeated. (and the log X grow up).

In September 2018, a solution found: change sysctl value
"kern.timecounter.hardware=acpihpet0"

https://marc.info/?l=openbsd-misc=153738193919254=2

it seemed to understand that a patch corrected the problem of the TSC
clock, right?!

https://marc.info/?l=openbsd-misc=153822975708782=2

I'm just trying to understand if this is the case, if this patch has
been validated, and if it's possible than fix too my arch…
because it seems that the clock is still defective, right?


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



alc0 watchdog timeout

2019-06-21 Thread Stephane HUC &quot;PengouinBSD"
kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.1, 0x1e2b1 0x840300
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1:
OUI 0x000ec6, model 0x0001
uhidev0 at uhub0 port 3 configuration 1 interface 0 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z and W dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev1: iclass 3/0, 6 report ids
ukbd0 at uhidev1 reportid 1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 6: input=3, output=0, feature=0
uhidev2 at uhub0 port 3 configuration 1 interface 2 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev2: iclass 3/0
uhid3 at uhidev2: input=32, output=32, feature=8
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN036P597248751HABEMA00 Integrated_Webcam_FHD" rev 2.00/47.18 addr 4
video0 at uvideo0
uhidev3 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13"
rev 0.02/0.00 addr 5
uhidev3: iclass 3/0, 2 report ids
uhid4 at uhidev3 reportid 1: input=8, output=0, feature=0
uhid5 at uhidev3 reportid 2: input=0, output=8, feature=0
ugen0 at uhub0 port 8 "Atheros Communications product 0x3004" rev
1.10/0.01 addr 6
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ef1ea0f909e0b8d8.a) swap on sd0b dump on sd0b


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Puffy — format SVG (actually!)

2019-06-14 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

I did it!
(ex-nihilo with Inkscape)

https://stephane-huc.net/img/EBNH/OBSD/Puffy.svg

The first'n oldier, (rasterized by Inskcape), is here:
https://stephane-huc.net/img/EBNH/OBSD/Puffy.raster.svg



- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- ----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXQPeigAKCRATq98t3AMG
7yiUAQC6IBtMmr4GjEHNwSctX/PFQ/+wbw3P3lT67nUTihuQAAEArsCXgsrC5UZh
OzfDOtWNgilnJHE0wreWvk8WktPAGgc=
=vtL6
-END PGP SIGNATURE-



Puffy — format SVG

2019-06-13 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

For a little project to promote, I had the idea to convert the gif image
about Puffy, into svg with Inkscape.

Some will consider it a bad idea ... !
At least, the image in SVG format exists.

it is available on my server:
https://stephane-huc.net/img/EBNH/OBSD/Puffy.svg

Voilà! :D

PS: If someone wants to put it on the openbsd www, it's up to you! ;)

- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- ----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXQKXrgAKCRATq98t3AMG
755TAQCe6mlsM7iYoYlYQSdE7nh7uaxR7C/xTOP19l5lk6+YVQD/fgqPutl2dm4s
2XpB5OhLUZp4GM4MSz/Xw8qPY+UyPwk=
=FjrT
-END PGP SIGNATURE-



Re: [mark.kette...@xs4all.nl: Check your machdep.allowaperture setting]

2019-06-13 Thread Stephane HUC &quot;PengouinBSD"


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


HI, Marc.

Thanks for thoses explains.

Is there a solution?

especially when you have a arch Optimum GPU, where only the Intel GPU
works? (yes, I know nvidia is evil!)

On 6/13/19 10:55 AM, Marc Espie wrote:
> On Wed, Jun 12, 2019 at 06:20:55PM +0200, Stephane HUC "PengouinBSD" wrote: 
> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA512 >> >> Hi, >> >>
In the french documentation on obsd4a's wiki, I wrote: >> >> "When to
add this option? >> When you see into xorg.log: >> $ head
/var/log/Xorg.0.log >> [ 33.839] (WW) checkDevMem: failed to open
/dev/xf86 and /dev/mem >> (Operation not permitted) >> Check that you
have set 'machdep.allowaperture=1' >> in /etc/sysctl.conf and reboot
your machine >> refer to xf86(4) for details >> (...) >> " >> It's
right? >> >> You mention security risks and others problems. >> Which?
>> Could you explain simply, please? > > Well, duh. > > allowaperture
allows you to open the graphics device, which was the old > model prior
to intel graphics and more. > > *if* X + inteldrm no longer needs the
graphics device, it does not open > it. > > ... but it's still around. >
> ... and allowaperture means some program could possibly still open it,
> thus gaining low-level access to some part of the graphics card. > >
The attack surface of graphics hardware being huge, it's likely you can
> still do harm through that backdoor. - --
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "    +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXQIZeAAKCRATq98t3AMG
79tcAQD5+tKHzYenoVxAFzYm8noVJfbEO/qM/7AOxM7AKZZCUwEA8Hri9xFzWEZj
fuguxJEm1rHIiNBkerWLJWdd08bX9gk=
=t14P
-END PGP SIGNATURE-



Re: [mark.kette...@xs4all.nl: Check your machdep.allowaperture setting]

2019-06-12 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi,

In the french documentation on obsd4a's wiki, I wrote:

"When to add this option?
When you see into xorg.log:
$ head /var/log/Xorg.0.log
[33.839] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
(...)
"
It's right?

You mention security risks and others problems.
Which?
Could you explain simply, please?


On 6/12/19 12:58 AM, Marc Espie wrote:
> I think this is generic enough to belong on misc@ - Forwarded 
> message from Mark Kettenis  -
> 
> Date: Tue, 11 Jun 2019 19:54:04 +0200 (CEST) From: Mark Kettenis 
>  To: t...@openbsd.org Subject: Check your 
> machdep.allowaperture setting
> 
> These days most OpenBSD users should have the machdep.allowaperture
> sysctl set to 0 (the default).  Having it set to seomething else
> poses security risks and can actually cause problems, in particular
> on systems that have multiple GPUs where one of tha GPUs is
> supported by inteldrm(4) or radeondrm(4) and the other isn't.
> 
> You'll only need to set machdep.allowaperture to a non-zero value 
> if inteldrm(4) or radeordrm(4) doesn't attach on your machine and 
> you can't use efifb(4) either.
> 
> - End forwarded message -
> 


- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXQEmVgAKCRATq98t3AMG
76k0AQDLAsK4JZEbe3jJAjP3APQP8UQMjkrB7D2qynFROiwzaAEA0CDCIIXFvwDC
K58yeah0+01gzm2M6HDpRnl7tytBAQ8=
=j7Rz
-END PGP SIGNATURE-



Samba rlimit on OpenBSD 6.5

2019-05-22 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, all.

How resolve 'rlimit' in Samba on OpenBSD 6.5?

$ testparm

rlimit_max: increasing rlimit_max (512) to minimum Windows limit (16384)
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (512) to minimum Windows limit (16384)
(...)

However:
$ grep kern.maxfiles /etc/sysctl.conf
kern.maxfiles=16384
$ tail -n8 /etc/login.conf
samba:\
   :openfiles=1024:\
   :openfiles-max=16384:\
   :tc=daemon:
(...)

Machine rebooted after!

One idea?

- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- ----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXOUEPwAKCRATq98t3AMG
73ajAQDqmDmHZF32h5tJtX09o435f7maaSjj7AAMjZUiYJeZEQD/clne4QIVi6A1
NkTv78Wx04tLjE+U5b/m9x9XLD35Pgg=
=+Zjs
-END PGP SIGNATURE-



diff to macppc page

2019-05-01 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, I submit this diff:

===
RCS file: /cvs/www/macppc.html,v
retrieving revision 1.264
diff -u -p -r1.264 macppc.html
- --- macppc.html   24 Apr 2019 04:00:39 -  1.264
+++ macppc.html 1 May 2019 08:37:44 -
@@ -489,7 +489,7 @@ There are several installation media pro
   procedure.
   Alternatively, the CD can be booted at the Open Firmware prompt, with
 
- -  boot cd:,ofwboot 6.3/macppc/bsd.rd
+  boot cd:,ofwboot 6.5/macppc/bsd.rd
 
   Mac OS based boot
   


- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- ----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXMlb7gAKCRATq98t3AMG
75WkAP0WUAC/v6eW2eyvboPS9M7dKk5X+rQfKNM1Dyxo3/JONAD9GuvfIDaFkCds
GRtRrtgVP157X5t592uI2z4qq/lfsgI=
=cEvS
-END PGP SIGNATURE-



Re: [6.5] Cups + Gutenprint: file rastertogutenprint not found

2019-04-29 Thread Stephane HUC &quot;PengouinBSD"


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, Excuse me if I'm expressing myself badly!

NO.

After the upgrading, by necessity, I attempt to print PDF or OD*
documents, and my printer not reply.

I opened the Webadmin Cups, and I saw this error message on job files.

Into the log /var/log/Cups/error_log, same messages:

E [28/Apr/2019:07:31:57 +0200] BX525WD: File
\"/usr/local/libexec/cups/filter/rastertogutenprint.5.2\" not available:
No such file or directory
E [28/Apr/2019:07:31:57 +0200] [Job 77] Unable to start filter
"rastertogutenprint.5.2" - No such file or directory.
E [28/Apr/2019:07:31:57 +0200] [Job 77] Stopping job because the
scheduler could not execute a filter.
E [28/Apr/2019:07:34:46 +0200] BX525WD: File
\"/usr/local/libexec/cups/filter/rastertogutenprint.5.2\" not available:
No such file or directory
E [28/Apr/2019:07:34:46 +0200] [Job 78] Unable to start filter
"rastertogutenprint.5.2" - No such file or directory.
E [28/Apr/2019:07:34:46 +0200] [Job 78] Stopping job because the
scheduler could not execute a filter.

Then I have verified the number version with the tool pkg_info. And I
saw 5.3.
so I had the idea to change the printer settings by choosing the new driver.

I use root to set parameters. And, I print with my right users.


On 4/28/19 11:18 PM, Predrag Punosevac wrote:
> Stephane HUC wrote: >> > Hi, (just FYI) > > After upgrading OpenBSD from 6.4 
> to 6.5, I had
this problem to print. > The Webadmin of Cups informs me with this
message: > > "/usr/local/libexec/cups/filter/rastertogutenprint.5.2 not
found!" > > On the parameters about my printer, (an MFP Epson BX525WD on
my local > network), I change with the new version of Gutenprint's
driver. (v5.3.x) > > Did you notice that you changed the driver into
v5.3 but Webadmin > > complains about missing
rastertogutenprint.5.2..That doesn't make sense > > at all. I would
expect that Webadmin complain about missing > > rastertogutenprint.5.3.
Did you check if you do have > > rastertogutenprint.5.3 on your system?
Did you check if > > rastertogutenprint.5.3 is in CVS source Gutenprint
5.3 which you just > > installed. > > > Anything in the log files? What
is the username you are using for CUPS? > > I neither use CUPS nor
Gutenprint but searching for similar problems as > > yours turns a dozen
or so leads. > > > IMHO ports list might be a better suitable for
further discussion if > > this turns out to be the case of the missing
file from a package > > (happened before due to the upstream). > > >
Cheers, > > Predrag > > > . > > And, that's run correctly! > > >> >> - --
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "    +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXMbDngAKCRATq98t3AMG
7/lOAP0WJS7OccARSWpO8h8JZBkYImXnGERmBLNc0fC7kzKHrgD9G9uIGr+jTpOU
x6kF/+VdJshOQk8+tcYoJHEMaHutqAw=
=qg7I
-END PGP SIGNATURE-



Re: [6.5] Xfce: problem with shutdown menu

2019-04-28 Thread Stephane HUC &quot;PengouinBSD"


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512


Hi, Tom. Ty for your reply.

On my file /etc/doas.conf, i've only one line, as:

"permit nopass setenv { ENV PS1 SSH_AUTH_SOCK } :wheel"

And, my userinfo:

(...)
groups    *** wheel operator wsrc _saned
(...)


On 4/28/19 11:09 PM, Tom Smyth wrote:
> Hi Stephane > > I would imagine it is because you dont have shutdown 
> privilege as
the > user in Xfce, > > check your doas config ... > > BTW i was just
lazy and opened a privleged shell and ran halt -p > > > > > On Sun, 28
Apr 2019 at 22:05, Stephane HUC "PengouinBSD" > 
wrote: >> > Hi, (just FYI) > > After upgrading OpenBSD from 6.4 to 6.5,
I cant anymore to stop my > machine when I click on menu shutdown into
Xfce session. > The result is a logout, and not shutdown. > > As see,
the reply by Landry to one user, on forum "Daemons - BSD", it > seems
necessary to add the id user at the group operator. > I try this
solution, log me out, and login new... and the menu run > correctly! > >
http://daemonforums.org/showthread.php?t=10971#post66453 > > >> > > - --
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "    +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXMYYWwAKCRATq98t3AMG
72ksAP4/elW7kNVyJ1H8UF2HpmPaFvUpzw/zV/TCHZ6ProMoLgEAkNDObtHrHGrs
zLHNSLU944CForBJoU197/TzhkQFIAk=
=7kjS
-END PGP SIGNATURE-



[6.5] Xfce: problem with shutdown menu

2019-04-28 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, (just FYI)

After upgrading OpenBSD from 6.4 to 6.5, I cant anymore to stop my
machine when I click on menu shutdown into Xfce session.
The result is a logout, and not shutdown.

As see, the reply by Landry to one user, on forum "Daemons - BSD", it
seems necessary to add the id user at the group operator.
I try this solution, log me out, and login new... and the menu run
correctly!

http://daemonforums.org/showthread.php?t=10971#post66453


- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXMYS4QAKCRATq98t3AMG
7yGlAQCt0p1qRZD/Szt0Yw4sli9RaIu/2LLwfZOQ6zMK1uleUwEAyeBxvoV2onST
Q0qLG5L7nAGxZJEJl7r1pKkYzAfL7Ak=
=BQ3J
-END PGP SIGNATURE-



[6.5] Cups + Gutenprint: file rastertogutenprint not found

2019-04-28 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi, (just FYI)

After upgrading OpenBSD from 6.4 to 6.5, I had this problem to print.
The Webadmin of Cups informs me with this message:

"/usr/local/libexec/cups/filter/rastertogutenprint.5.2 not found!"

On the parameters about my printer, (an MFP Epson BX525WD on my local
network), I change with the new version of Gutenprint's driver. (v5.3.x)
.

And, that's run correctly!


- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXMYQ0gAKCRATq98t3AMG
78/hAQDHE2kdDyXuuXxpuAbrgPkoVd32HjhmFC05zF56YsJvFAD+L5Q4oxzBIull
qbouLJ8o1tOcdgbtTo1gZDhfC6NVggk=
=izfF
-END PGP SIGNATURE-



[6.5] minidlna error: accept(http): Too many open files

2019-04-28 Thread Stephane HUC &quot;PengouinBSD"
ub0 port 3 configuration 1 interface 0 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z and W dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev1: iclass 3/0, 6 report ids
ukbd0 at uhidev1 reportid 1: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
uhid2 at uhidev1 reportid 6: input=3, output=0, feature=0
uhidev2 at uhub0 port 3 configuration 1 interface 2 "E-Signal USB
Gaming Mouse" rev 2.00/1.42 addr 3
uhidev2: iclass 3/0
uhid3 at uhidev2: input=32, output=32, feature=8
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN036P597248751HABEMA00 Integrated_Webcam_FHD" rev 2.00/47.18 addr 4
video0 at uvideo0
uhidev3 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13"
rev 0.02/0.00 addr 5
uhidev3: iclass 3/0, 2 report ids
uhid4 at uhidev3 reportid 1: input=8, output=0, feature=0
uhid5 at uhidev3 reportid 2: input=0, output=8, feature=0
ugen0 at uhub0 port 8 "Atheros Communications product 0x3004" rev
1.10/0.01 addr 6
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ef1ea0f909e0b8d8.a) swap on sd0b dump on sd0b


- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXMYOiAAKCRATq98t3AMG
72doAQCZDcY9/9kdkLyIOVeAu4XAAuEZHL8SVzfpzjH6p1DJZQEArAvAvUub4Znx
ijOG9lbv1g0iYR52pIiOVrNDQsmFCQs=
=ldWS
-END PGP SIGNATURE-



diff to FAQ17

2019-03-13 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi...

a cvs diff for a little error on typo on FAQ17?

Index: faq/faq17.html
===
RCS file: /cvs/www/faq/faq17.html,v
retrieving revision 1.4
diff -u -p -r1.4 faq17.html
- --- faq/faq17.html2 Mar 2019 22:40:04 -   1.4
+++ faq/faq17.html  13 Mar 2019 10:41:55 -
@@ -629,7 +629,7 @@ ike dynamic esp transport proto udp from
 

 Once the IKEv1 tunnel is up and running, the L2TP tunnel need to be
configured.
- -OpenBSD doesn't provide and L2TP client by default, so installing
+OpenBSD doesn't provide an L2TP client by default, so installing
 xl2tpd is required.

 

- 

Bye.

- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- ----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXIjfaAAKCRATq98t3AMG
72SqAP9SKPFn9S5Nh2+n+8lqZUUxZF/fqyyQIZX4Y52X7gUgngD+O1y10IntDZ+1
A+M1oOy2oczpC7Mw1XhZSnKYyQe5oAw=
=mODO
-END PGP SIGNATURE-



Re: Introducing pf-badhost and unbound-adblock

2019-02-06 Thread Stephane HUC &quot;PengouinBSD"
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Just FYI!

I develop a similar project, host on:
https://framagit.org/DenyLabels/BlockZones

And the lists are availables, day after day, on my webserver:
https://stephane-huc.net/share/BlockZones/lists/
(just download the correct list and use it either with PF, with
unbound or hosts...)

And a cron example file:
https://framagit.org/DenyLabels/BlockZones/blob/dev/cron/monthly.local


On 2/5/19 2:47 PM, Johan wrote:
> On 2019-02-05 14:03, Ales Tepina wrote:
>> On Mon, Aug 06, 2018 at 04:52:04PM -0700, Jordan Geoghegan
>> wrote:
>>> 
>>> On 08/06/18 10:24, Scott Bonds wrote:
>>>> On 08/05, Jordan Geoghegan wrote:
>>>>> Hi everyone,
>>>>> 
>>>>> I thought I would share a couple scripts I wrote to block
>>>>> ads and bad hosts. I have found them to increase
>>>>> web-browsing speed and reduce battery consumption,
>>>>> especially on mobile devices. They also help reduce pop ups
>>>>> and fake sites, especially on mobile/in apps.
>>>>> 
>>>>> I have also found pf-badhost to reduce noise in my
>>>>> httpd/ssh auth logs. I used to get over 10,000 ssh attempts
>>>>> per day on my router, now I usually get less than 100 a
>>>>> day. Another added benefit of pf-badhost is that it blocks
>>>>> Shodan scans, which may appeal to some.
>>>>> 
>>>>> I shared a similar script on misc@ earlier this year and
>>>>> received positive feedback, so I thought I would clean up
>>>>> the scripts and write a how-to guide.
>>>>> 
>>>>> Enjoy!
>>>>> 
>>>>> https:/www.geoghegan.ca
>>>>> 
>>>>> https://www.geoghegan.ca/pfbadhost.html
>>>>> 
>>>>> https://www.geoghegan.ca/unbound-adblock.html
>>>>> 
>>>> 
>>>> Very nice, thank you for sharing and for the nicely written
>>>> guides.
>>> Thanks Scott! I plan to update pf-badhost to also support
>>> geoblocking by country / region in the near future. Stay
>>> tuned.
>>> 
>>> Cheers,
>>> 
>>> Jordan
>>> 
>> 
>> Jordan, hi!
>> 
>> Any news/progress on the geoblocking by country part? Looking
>> forward to it.
>> 
>> Regards, Ales
> 
> Hi I wrote a shell script that uses source addresses from
> ipdeny.com:
> 
> https://github.com/elasmo/misc-scripts/blob/master/geoipblock.sh
> 
> Regards Johan
> 

- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXFr4vQAKCRATq98t3AMG
7xyaAQDKVkK4eB289w++oCg88CrSp/nivV/Wqs62Upy1B+T+MAEAuk1HeMFz/OAk
EDHCf4o7Fd7sjKBapdIEBFaVndGHeQQ=
=lljC
-END PGP SIGNATURE-



OpenBSD Errata: January 27th, errata63.html

2019-01-26 Thread Stephane HUC &quot;PengouinBSD"
Hi all.

It seems the errata63.html page is not modified with thoses new
informations about mincore and nfs patches.

normal?!

;)

On 1/26/19 10:51 PM, T.J. Townsend wrote:
> Errata patches for the kernel have been released for OpenBSD 6.3 
> and 6.4.
> 
> The mincore() system call can be used to observe memory access 
> patterns of other processes.
> 
> Binary updates for the amd64, i386, and arm64 platforms are 
> available via the syspatch utility. Source code patches can be 
> found on the respective errata page:
> 
> https://www.openbsd.org/errata63.html 
> https://www.openbsd.org/errata64.html
> 
> As these affect the kernel, a reboot will be needed after 
> patching.
> 

- -- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
- 
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
-BEGIN PGP SIGNATURE-

iHUEARYKAB0WIQScTRXz7kMlZfGpDZMTq98t3AMG7wUCXE1dHwAKCRATq98t3AMG
75HIAQCZLt/0+u4jGk3hrRC46zM/QWx/WYOvIXJ+5Skhqfk+BwEA/NPrG7kFgjxP
MCXhtIdYGK1qRoFafI1Rd/h1d71n6Q4=
=bNx3
-END PGP SIGNATURE-



Re: Live iso with 6.4

2019-01-24 Thread Stephane HUC &quot;PengouinBSD"
See the FuguIta Project:

http://fuguita.org/?FuguIta

6.4 on amd64, i386 and arm64!

On 1/24/19 7:15 PM, Flipchan wrote:
> Has anyone been able to create a live iso of 6.4?
> 
> Cant seem to find any scripts/documentation about it 
> 
> 
> 
> 
> Cheers
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Warning applying latest syspatch

2018-11-02 Thread Stephane HUC &quot;PengouinBSD"
Hi, @Theo

And this message is normal?!

Get/Verify syspatch64-002_syspatch.tgz
Installing patch 002_syspatch
syspatch updated itself, run it again to install missing patches
!!! syspatch failed; please run syspatch manually

???

On 11/2/18 6:18 PM, Theo de Raadt wrote:
> Carlos Lopez  wrote:
> 
>>   Applying syspatch today, returns me the following warning:
>>
>> root@obsd-fw-per01:~# syspatch
>> ln: /usr/X11R6/bin/X: No such file or directory
>>
>>   I guess it's an expected error since I don't have X11 installed. Correct?
> 
> Yes.
> 
> The syspatch patch to syspatch (say that three times fast) isn't quite
> perfect for that case, but at least the warning it gives isn't a big deal.
> You can ignore it.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: USB Ethernet adapter

2018-09-25 Thread Stephane HUC &quot;PengouinBSD"
Hi, Bogdan

I'm using every day, the Wii USB Lan Ethernet Adapter RVL-015; it's
managed by axe driver:

$ dmesg | grep axe

axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:**:**:**:**:**
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000ec6, model 0x0001

see https://man.openbsd.org/OpenBSD-current/man4/axe.4

I maintain a webpage information about USB-Eth Adaptateur (in French),
here: https://wiki.obsd4a.net/hardware:network:usb_eth ;)


Le 09/25/18 à 02:00, Bogdan Kulbida a écrit :
(...)
> Anyway, what USB network interface would you recommend that would run
> smoothly with the OBSD 6.3?
> (...)
-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Keyboard repeats characters way to often

2018-09-19 Thread Stephane HUC &quot;PengouinBSD"
Hi, all

I'm happy; this solves my problem too, on my Dell Alienware 13 (Intel
CPU). Now, I can use 6.3 correctly!

Thanks. :D

Le 09/19/18 à 02:59, Carlos Cardenas a écrit :
> On Wed, Sep 19, 2018 at 12:27:29AM +0200, Leo Unglaub wrote:
>> Hi,
>> today I got my new Laptop. A Lenovo ThinkPad E485 with an AMD Ryzen CPU. I
>> installed the latest OpenBSD -current on the device and a lot of stuff work
>> very well. I used the traditional installation method without EFI. Only Wifi
>> and Hybernate/Suspend don't work, but that was expected and is okay.
>>
>> The only big problem I have is that as soon as I start X I cannot use the
>> keyboard correctly. Every time I type a character on the keyboard it gets
>> repeated multiple times. Most often it gets repeated between 3 and 7 times.
>> Do you have any idea what I could to in order to fix/debug this?
>>
> 
> Leo,
> 
> Change your clock source:
> 
> sysctl kern.timecounter.hardware=acpihpet0
> 
> I've had to do this on later AMD gear (kaveri, carrizo, etc..).
> 
> +--+
> Carlos
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: shell hosting

2018-09-16 Thread Stephane HUC &quot;PengouinBSD"
https://openbsd.amsterdam/

Le 09/16/18 à 13:40, Friedrich Locke a écrit :
> Hi,
> 
> May you suggest me a shell + www + mysql hosting service (with OBSD, of
> course) ?
> 
> Thanks a lot.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: The wireless card TL-WN725N version 3 works fine

2018-06-15 Thread Stephane HUC &quot;PengouinBSD"
Please, add your dmesg as explain into FAQ:

https://www.openbsd.org/faq/faq4.html#SendDmesg

;)

Le 06/15/18 à 15:12, Guillaume DUALÉ a écrit :
> Hello,
> I just bought this card : TP-LINK TL-WN725N(EU) Ver:3.0
> And it works fine !
> 
> In the man of the used driver «urtwn» : http://man.openbsd.org/urtwn only
> the version 2 is listed.
> So you can add this new version in the list.
> 
> If you want I do tests, I can, just ask.
> 
> Regards,
> Guillaume.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Date of yesterday

2018-04-10 Thread Stephane HUC &quot;PengouinBSD"
this will be my final answer - and which certainly does not want to be a
polemic:

No, at school I wasn't told about an'leap second', an intercalar second!
But, I only went in third - some here will be able to tell you what this
level is, personally I don't know the correspondence, with other
cultures, but it's pretty low... then I became "computer self-taught",
until I could do a developer training (Java, SQL, Web) where even there,
we weren't spoken to.
My wife, who has a master's degree in history, just learned today by me
what it is!

I had no idea it was so complex!

I thank those who responded decently, such as :

 - Daniel Ouellet for his link on "timezones" where I learned that some
had a duration of 45, even 30".
 - Tom Smyth, with his reference to summer time - which I did not
understand in Philip Guenther's initial message, nor that he had THE
right answer!
 - Philip Guenther, himself, who tried to be explicit.
 - and, also Theo Buethler...

I don't have to be ashamed to ask questions,
I don't have to be ashamed not to know things...
I appreciate learning, and I'm sorry I don't know so much, and not "in
control" - that is, the degree of knowledge and practice of few persons.
On the other hand, I am ashamed of some messages that came to insult me
personally... directly!
Knowledge and mastery are not necessary and useful reasons for despising
others, or those who know less!

Now, if I am such a disgrace to you, in my interventions, in my
participations, all you have to do is banish me, remove me from the
list... which would be in no way constructive, and even less positive.

i.e: I have learned some things, such as the use of CVS, thanks to the
intelligent cooperation of some here on this list... and certainly,
others...

Personally, I stay, because learning from others doesn't scare me...
That, to participate, even if I know much less than others does not
frighten me, and will never proccur me of shame!
Even if I'm wrong, in my participations!

Thanks all.
"Have a nice day"

Le 04/09/18 à 23:31, Martin Schröder a écrit :
> 2018-04-09 20:58 GMT+02:00 Stephane HUC "PengouinBSD" <b...@stephane-huc.net>:
>> get the current timestamp, subtracting 86400 seconds is not reliable to
>> get yesterday's date to the nearest second?
> 
> Did they teach leap seconds in your school yet?
> 
> Best
> Martin
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Date of yesterday

2018-04-09 Thread Stephane HUC &quot;PengouinBSD"
Excuse-me, but i dont really understand this!
(perhaps, because it's in english).

Le 04/09/18 à 22:45, Philip Guenther a écrit :
> On Mon, Apr 9, 2018 at 1:36 PM, Stephane HUC "PengouinBSD" <
> b...@stephane-huc.net> wrote:
> 
>> what?
>>
>> please, explain-me!
>>
> As I wrote before, and you quoted before:
> 
>> | Did you test that after 11pm on the day when daylight-saving time ends
> and
>> | the clock is turned back, resulting in a 25 hour long day?
> 
> On the day when daylight-saving time ends, the clock is turned back an hour
> resulting in a day which is 25 hours long!
> 
>  : morgaine; date -r $((1541403000))
> Sun Nov  4 23:30:00 PST 2018
> : morgaine; date -r $((1541403000 - 86400))
> Sun Nov  4 00:30:00 PDT 2018
> : morgaine;
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Date of yesterday

2018-04-09 Thread Stephane HUC &quot;PengouinBSD"
what?

please, explain-me!


Le 04/09/18 à 22:34, Philip Guenther a écrit :
> On Mon, Apr 9, 2018 at 11:58 AM, Stephane HUC "PengouinBSD"
> <b...@stephane-huc.net <mailto:b...@stephane-huc.net>> wrote:
>
> get the current timestamp, subtracting 86400 seconds is not
> reliable to
> get yesterday's date to the nearest second?
> terrible!
>
>
> Yes, some days are 9 seconds long.
>

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Date of yesterday

2018-04-09 Thread Stephane HUC &quot;PengouinBSD"
get the current timestamp, subtracting 86400 seconds is not reliable to
get yesterday's date to the nearest second?
terrible!


Le 04/09/18 à 20:48, Philip Guenther a écrit :
> On Mon, Apr 9, 2018 at 2:04 AM, Stephane HUC "CIOTBSD" <b...@stephane-huc.net
>> wrote:
> 
>> as: date -r $(( $(date +%s) - 86400)) +%F
>> ;)
> 
> ...
> 
>>> On Sun, Apr 08, 2018 at 11:12:43PM -0700, Philip Guenther wrote:
>>> | Did you test that after 11pm on the day when daylight-saving time ends
>> and
>>> | the clock is turned back, resulting in a 25 hour long day?
>>
> 
> 
> The best part about top-posting is that you don't have to read the earlier
> comments which already explained why the solution you're proposing isn't
> reliable...
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



X: WaitForSomething(): poll: Invalid argument

2018-04-04 Thread Stephane HUC &quot;PengouinBSD"
 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi,
AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD5000BPKX-0, 01.0> SCSI3
0/direct fixed naa.50014ee6aefdae07
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic
2 int 18
iic1 at ichiic0
iic1: addr 0x29 07=ff 0f=33 10=08 11=05 12=8f 13=54 14=a0 15=31 16=28
17=1f 18=22 19=b9 1a=60 1b=65 1c=c0 1e=20 20=7f 22=40 27=ff 29=f6 2b=fe
2d=4d 2f=20 30=95 31=26 32=0e 33=10 87=ff 8f=33 90=08 91=05 92=8f 93=54
94=a0 95=31 96=28 97=1f 98=22 99=b9 9a=60 9b=65 9c=c0 9e=20 a0=7f a2=40
a7=ff a9=f3 ab=fe ad=42 af=20 b0=95 b1=25 b2=0e b3=10 words 00=
01= 02= 03= 04= 05= 06= 07=
spdmem0 at iic1 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic1 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.1, 0x1e2b1 0x840300
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000ec6, model 0x0001
uhidev0 at uhub0 port 3 configuration 1 interface 0 "HOLTEK Wireless USB
Device" rev 1.10/3.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "HOLTEK Wireless USB
Device" rev 1.10/3.01 addr 3
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
ums0 at uhidev1 reportid 3: 5 buttons, Z dir
wsmouse1 at ums0 mux 0
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN036P597248751HABEMA00 Integrated_Webcam_FHD" rev 2.00/47.18 addr 4
video0 at uvideo0
uhidev2 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13" rev
0.02/0.00 addr 5
uhidev2: iclass 3/0, 2 report ids
uhid2 at uhidev2 reportid 1: input=8, output=0, feature=0
uhid3 at uhidev2 reportid 2: input=0, output=8, feature=0
ugen0 at uhub0 port 8 "Atheros Communications product 0x3004" rev
1.10/0.01 addr 6
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ef1ea0f909e0b8d8.a) swap on sd0b dump on sd0b
axe0: usb errors on rx: IOERROR
ukphy0 detached
axe0 detached
axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000ec6, model 0x0001
hw.sensors.cpu0.temp0=42.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)
hw.sensors.acpibat0.volt0=14.80 VDC (voltage)
hw.sensors.acpibat0.volt1=17.16 VDC (current voltage)
hw.sensors.acpibat0.current0=65.53 A (rate)
hw.sensors.acpibat0.amphour0=3.18 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.31 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.09 Ah (low capacity)
hw.sensors.acpibat0.amphour3=3.18 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=3.54 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=0 (discharge cycles)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibtn0.indicator0=On (lid open)


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



X: WaitForSomething(): poll: Invalid argument

2018-04-04 Thread Stephane HUC &quot;PengouinBSD"
 0 "Intel EHCI root hub" rev
2.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel 8 Series LPC" rev 0x04
ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi,
AHCI 1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD5000BPKX-0, 01.0> SCSI3
0/direct fixed naa.50014ee6aefdae07
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic
2 int 18
iic1 at ichiic0
iic1: addr 0x29 07=ff 0f=33 10=08 11=05 12=8f 13=54 14=a0 15=31 16=28
17=1f 18=22 19=b9 1a=60 1b=65 1c=c0 1e=20 20=7f 22=40 27=ff 29=f6 2b=fe
2d=4d 2f=20 30=95 31=26 32=0e 33=10 87=ff 8f=33 90=08 91=05 92=8f 93=54
94=a0 95=31 96=28 97=1f 98=22 99=b9 9a=60 9b=65 9c=c0 9e=20 a0=7f a2=40
a7=ff a9=f3 ab=fe ad=42 af=20 b0=95 b1=25 b2=0e b3=10 words 00=
01= 02= 03= 04= 05= 06= 07=
spdmem0 at iic1 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
spdmem1 at iic1 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pms0: Synaptics clickpad, firmware 8.1, 0x1e2b1 0x840300
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000ec6, model 0x0001
uhidev0 at uhub0 port 3 configuration 1 interface 0 "HOLTEK Wireless USB
Device" rev 1.10/3.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "HOLTEK Wireless USB
Device" rev 1.10/3.01 addr 3
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
ums0 at uhidev1 reportid 3: 5 buttons, Z dir
wsmouse1 at ums0 mux 0
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN036P597248751HABEMA00 Integrated_Webcam_FHD" rev 2.00/47.18 addr 4
video0 at uvideo0
uhidev2 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13" rev
0.02/0.00 addr 5
uhidev2: iclass 3/0, 2 report ids
uhid2 at uhidev2 reportid 1: input=8, output=0, feature=0
uhid3 at uhidev2 reportid 2: input=0, output=8, feature=0
ugen0 at uhub0 port 8 "Atheros Communications product 0x3004" rev
1.10/0.01 addr 6
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (ef1ea0f909e0b8d8.a) swap on sd0b dump on sd0b
axe0: usb errors on rx: IOERROR
ukphy0 detached
axe0 detached
axe0 at uhub0 port 1 configuration 1 interface 0 "ASIX Electronics
AX88772" rev 2.00/0.01 addr 2
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000ec6, model 0x0001
hw.sensors.cpu0.temp0=42.00 degC
hw.sensors.acpitz0.temp0=27.80 degC (zone temperature)
hw.sensors.acpitz1.temp0=29.80 degC (zone temperature)
hw.sensors.acpibat0.volt0=14.80 VDC (voltage)
hw.sensors.acpibat0.volt1=17.16 VDC (current voltage)
hw.sensors.acpibat0.current0=65.53 A (rate)
hw.sensors.acpibat0.amphour0=3.18 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.31 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.09 Ah (low capacity)
hw.sensors.acpibat0.amphour3=3.18 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=3.54 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=0 (discharge cycles)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpibtn0.indicator0=On (lid open)


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



X: WaitForSomething(): poll: Invalid argument

2018-04-04 Thread Stephane HUC &quot;PengouinBSD"
ms, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr  3 17:06:54 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
xenodm info (pid 80557): sourcing /home/zou/.config/xenodm/Xsetup_0
xenodm info (pid 80557): sourcing /home/zou/.config/xenodm/GiveConsole
xenodm info (pid 4308): executing session /etc/X11/xenodm/Xsession
WaitForSomething(): poll: Invalid argument
WaitForSomething(): poll: Invalid argument
WaitForSomething(): poll: Invalid argument


=> Xorg.0.log:

$ tail -n25 /var/log/Xorg.0.log


[ 18934.693] WaitForSomething(): poll: Invalid argument
[ 18934.693] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net




Xorg: [ 18934.694] WaitForSomething(): poll: Invalid argument

2018-04-04 Thread Stephane HUC &quot;PengouinBSD"
Hi all.

I run OpenBSD 6.3 with Xfce on my laptop.

Something fill the log /var/log/Xorg.0.log. with the repeted message
"WaitForSomething(): poll: Invalid argument", as :

$ tail -n25 /var/log/Xorg.0.log


[ 18934.693] WaitForSomething(): poll: Invalid argument
[ 18934.693] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument
[ 18934.694] WaitForSomething(): poll: Invalid argument

the file grow up!

$ ls -al /var/log/Xorg.0.log


-rw-r--r--  1 root  wheel  5521735640 Apr  3 22:55 /var/log/Xorg.0.log

i use a custom xorg.conf:

Section "InputDevice"
Identifier"Generic Keyboard"
Driver"kbd"
Option"CoreKeyboard"
Option"XkbRules""xorg"
Option"XkbModel""pc105"
Option"XkbLayout"   "fr"  # "fr-oss" pour Feisty et +
#Option"XkbVariant" "latin9"
EndSection

Section "InputDevice"
Identifier"Configured Mouse"
Driver"mouse"
Option"CorePointer"
Option"Device""/dev/input/mice"
Option"Protocol""ExplorerPS/2"
Option"ZAxisMapping""4 5"
Option"Emulate3Buttons""true"
EndSection

Section "Device"
Identifier  "intel" #modesetting, or Intel Graphics
Driver  "intel" #modesetting
Option  "AccelMethod"   "sna"   #sna by default
Option  "DDC"   "true"  #true by default
Option  "DRI"   "true"
Option  "HotPlug"   "true"
Option  "NoAccel"   "false" #false by default
Option  "RelaxedFencing""true"  #true if G33 Model & >
Option  "SwapbuffersWait"   "true"  #true by default (avoid
tearing)
Option  "TearFree"  "true"  #false by default
(avoid tearing)
Option  "Throttle"  "true"  #true by default
Option  "Tiling""true"  #true by default
Option  "TripleBuffer"  "true"  #true by default
#Option "VideoRAM"  ???
Option  "VSync" "true"  #true by default
(avoid tearing)
EndSection

#Section "Extensions"
# fixes tearing with vdpau/vsync
#   Option  "Composite" "Disable"
#EndSection

Section "Monitor"
Identifier "Monitor0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "intel"
Monitor"Monitor0"
DefaultDepth   24 #Choose the depth (16|24)
SubSection "Display"
    Depth  16
Modes  "1920x1080" "1400x1050" "1290X1024"
"1280X960" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1920x1080" "1400x1050"
"1290X1024" "1280X960" "1024x768" "800x600"
EndSubSection
EndSection

Section "ServerLayout"
Identifier"Default Layout"
Screen"Screen0"
#InputDevice   "Generic Keyboard"
#InputDevice   "Configured Mouse"
EndSection


How can identify where is the problem?



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: OT strange nsd behavior

2018-03-16 Thread Stephane HUC &quot;PengouinBSD"
Are you sure your zonefile is really good?

Have you tested with nsd-checkzone tool?
idem for your nsd config with nsd-checkconf tool?

Le 03/16/18 à 18:55, Ivo Chutkin a écrit :
> Hi to all there,
> 
> I am running authoritative dns servers on 5.9 and nsd.
> 
> I add new domain but I got these errors:
> 
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:9: SOA
> record with invalid domain name
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:11: out of
> zone data
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:12: out of
> zone data
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:14: out of
> zone data
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:16: out of
> zone data
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:17: out of
> zone data
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:18: out of
> zone data
> Mar 16 19:29:16 dns11 nsd[7480]: master/clients/proprevod.com:19: zone
> configured as 'propervod.com' has no SOA record.
> Mar 16 19:29:16 dns11 nsd[7480]: zone propervod.com file
> master/clients/proprevod.com read with 8 errors
> 
> Domain is valid, dns records point to my dns servers (dns11.bg1.eu and
> dns12.bg1.eu).
> 
> The zone file looks like this:
> 
> /var/nsd/zones/master # cat ./clients/proprevod.com
> 
> $ORIGIN proprevod.com.
> $TTL 86400
> 
> @   3600SOA dns11.bg1.eu. support.bg1.eu. (
> 2018031601  ; serial
> 1800; refresh
> 7200; retry
> 1209600 ; expire
> 3600 )  ; negative
> 
> NS  dns11.bg1.eu.
> NS  dns12.bg1.eu.
> 
> MX  0 mail.dih.bg.
> 
> www A   91.235.248.25
> proprevod.com.  A   91.235.248.25
> mailCNAME   mail.dih.bg.
> 
> What could be wrong here?
> 
> Exactly the same zone but with different TLD loads and work as it should.
> 
> The only problem I could imagine is that I added this zone before my
> servers were authoritative for this domain.
> 
> I will appreciate your help.
> 
> Thanks,
> Ivo
> 
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: USB Firewall

2018-01-16 Thread Stephane HUC &quot;PengouinBSD"
Perhaps, using hotplugd and file /etc/hotplug/attach?

Le 01/16/18 à 18:39, Charlie Eddy a écrit :
> Hello,
> 
> Is there a method to detect and halt additional USB devices being added
> after initializing connections? Concerned about widespread vulnerability of
> keystroke injection.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: cvs diff FAQ Ports Testing

2017-11-22 Thread Stephane HUC &quot;PengouinBSD"


Le 11/22/17 à 19:57, Theo Buehler a écrit :
> (...)
> it would be more helpful if you said what you intend to do, like "remove
> an extra closing parenthesis".

if I understand correctly: provide a short explanation, isn't-it?!

> (...)
>
>> Previously, i mailed other diff, who has remained unanswered.
> yeah, the spacing around = in that file is somewhat arbitrary and
> inconsistent. i'll have to think a bit what to do there. this one patch
> doesn't really solve the problem, so i won't commit it as-is.
OK.
How can i help?

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



cvs diff FAQ Ports Testing

2017-11-22 Thread Stephane HUC &quot;PengouinBSD"
Hi, all...

A new diff for page FAQ > Ports > Testing.

Index: faq/ports/testing.html
===
RCS file: /cvs/www/faq/ports/testing.html,v
retrieving revision 1.37
diff -u -p -r1.37 testing.html
--- faq/ports/testing.html  16 Oct 2017 21:21:27 -  1.37
+++ faq/ports/testing.html  22 Nov 2017 17:55:43 -
@@ -196,7 +196,7 @@ that all files can be easily packaged up

 
 The port should never install files outside of the fake directory
-such as into /usr/local).
+such as into /usr/local.

 
 GNU libtool occasionally has trouble relinking libraries during the fake



Previously, i mailed other diff, who has remained unanswered.

Is correct|normal the tabulation in TT text?
(into FAQ > Ports > SpecialTopics)

Index: faq/ports/specialtopics.html
===
RCS file: /cvs/www/faq/ports/specialtopics.html,v
retrieving revision 1.71
diff -u -p -r1.71 specialtopics.html
--- faq/ports/specialtopics.html12 Oct 2017 16:44:00 -  1.71
+++ faq/ports/specialtopics.html22 Nov 2017 17:55:43 -
@@ -325,7 +325,7 @@ Make sure you read the section about tro

 This script is normally run during the configure stage of ports building.
 To invoke the configure script, one only has to set
-CONFIGURE_STYLE=   gnu
+CONFIGURE_STYLE=gnu
 which will automatically invoke ${WRKSRC}/configure.

 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Not able to copy files to / from Android device

2017-11-19 Thread Stephane HUC &quot;PengouinBSD"


Le 11/19/17 à 22:21, Stuart Henderson a écrit :
> On 2017-11-19, Venu Chakravorty <c.v...@aol.com> wrote:
>> Hello there,
>> I am trying to copy files to / form my android device using "simple-mtpfs". 
>> However, I am not able to mount the file system of the Android device. On 
>> the phone, the "Media Device (MTP)" check-box is checked. The following is 
>> what I have tried:
>>
>> $ mkdir mnt
>> $ simple-mtpfs -l
>>   
>> 1: MotorolaMoto G (ID2)
>> $ simple-mtpfs --device 1 ./mnt
>> $ ls ./mnt
>> $ 
>>
>> I can't see any files in "./mnt". I was expecting to see the files from the 
>> Android device in "./mnt", but it is just empty. Please help. Is there any 
>> other way (other than using "simple-mtpfs") to do this?
> 
> This might not be the only problem, but you at least need to be root
> to mount.

:D

Just, to use adb, it's not need to be root, only as user!


~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Not able to copy files to / from Android device

2017-11-19 Thread Stephane HUC &quot;PengouinBSD"
Hi, Venu

First, see into this page, if your android device is recognized:
http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/dev/usb/usbdevs

If yes, after, you can attempt to use directly adb tool ;)

=> install adb

Check if your device is really recognized:

=> adb devices

If adb result as:

$ adb devices
List of devices attached
0123456789ABCDEF  device

is good!

To copy from computer to android, use:

=> adb push -p /dir_into_computer/file /dir_into_android

To copy from android to computer, use:

=> adb pull -a -p /dir_into_android/file /dir_into_computer

Assume directories exists! ;)



Enjoy-IT!
Enjoy-ID!


Le 11/19/17 à 19:19, Venu Chakravorty a écrit :
> Hello there,
> I am trying to copy files to / form my android device using "simple-mtpfs". 
> However, I am not able to mount the file system of the Android device. On the 
> phone, the "Media Device (MTP)" check-box is checked. The following is what I 
> have tried:
> 
> $ mkdir mnt
> $ simple-mtpfs -l 
>  
> 1: MotorolaMoto G (ID2)
> $ simple-mtpfs --device 1 ./mnt
> $ ls ./mnt
> $ 
> 
> I can't see any files in "./mnt". I was expecting to see the files from the 
> Android device in "./mnt", but it is just empty. Please help. Is there any 
> other way (other than using "simple-mtpfs") to do this?
> 
> Thanks in advance.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: cups changes in 6.2 and printing from libreoffice

2017-11-17 Thread Stephane HUC &quot;PengouinBSD"
Hi Allan,

Have you change specifically your .kshrc as wrote into the guide?
and restarting your session?

This run correctly. And i use my Printer - Epson BX525WD, by network,
with Cups, without any problem.



Le 11/17/17 à 18:44, Allan Streib a écrit :
> The Upgrade Guide for 6.2 mentions that "The CUPS binaries (lpr, lpq,
> lprm) are no longer symlinked into /usr/bin"
> 
> Amyone know specifically how to get libreoffice to use
> /usr/local/bin/lpr to print?
> 
> Allan
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



CVS diff for FAQ Ports SpecialTopics

2017-11-16 Thread Stephane HUC &quot;PengouinBSD"
Hi, all.

Is normal this tabulation into TT text?

If not, i suggest this diff:

Index: faq/ports/specialtopics.html
===
RCS file: /cvs/www/faq/ports/specialtopics.html,v
retrieving revision 1.71
diff -u -p -r1.71 specialtopics.html
--- faq/ports/specialtopics.html12 Oct 2017 16:44:00 -  1.71
+++ faq/ports/specialtopics.html16 Nov 2017 17:54:00 -
@@ -325,7 +325,7 @@ Make sure you read the section about tro

 This script is normally run during the configure stage of ports building.
 To invoke the configure script, one only has to set
-CONFIGURE_STYLE=   gnu
+CONFIGURE_STYLE=gnu
 which will automatically invoke ${WRKSRC}/configure.

 


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: CVS Diff : FAQ Ports Guide (3)

2017-11-11 Thread Stephane HUC &quot;PengouinBSD"

Le 11/11/17 à 15:25, Stuart Henderson a écrit :
> On 2017-11-11, Stephane HUC "PengouinBSD" <b...@stephane-huc.net> wrote:
>> This is a multi-part message in MIME format.
>> --E3282A62CBBAFE07DF2ABE41
>> Content-Transfer-Encoding: 7bit
>> Content-Type: text/plain; charset=utf-8
>>
>> Hi, all...
>>
>> A new diff for this same page : A very small modification for a better
>> pagination... into section "Generic Porting Hints".
>>
>>
>
> Hmm, this doesn't change anything?
>
>

if you can't see the difference, I'm sorry for you, I can't help you.
I hope: Others will see it. see the attached images.

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net


Re: CVS Diff : FAQ Ports Guide 2

2017-11-11 Thread Stephane HUC &quot;PengouinBSD"
(...)
> Also, it would be better to send diffs inline, not as mime.
> 
> 
What the hell is that again?!
It's never good, it always need more... :(

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



CVS Diff : FAQ Ports Guide (3)

2017-11-11 Thread Stephane HUC &quot;PengouinBSD"
Hi, all...

A new diff for this same page : A very small modification for a better
pagination... into section "Generic Porting Hints".


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net

Index: faq/ports/guide.html
===
RCS file: /cvs/www/faq/ports/guide.html,v
retrieving revision 1.76
diff -u -p -r1.76 guide.html
--- faq/ports/guide.html	10 Nov 2017 21:13:12 -	1.76
+++ faq/ports/guide.html	11 Nov 2017 13:01:54 -
@@ -1487,8 +1487,9 @@ that prevent all kinds of nastiness.
 If some broken system needs you to write the prototype, don't impose on all
 other systems.
 Roll-your-own prototypes will break because they may use types that are
-equivalent on your system, but are not portable to other systems (unsigned
-long instead of size_t), or get some const status wrong.
+equivalent on your system, but are not portable to other systems 
+(unsigned long instead of size_t), or get some 
+const status wrong.
 Also, some compilers, such as OpenBSD's own gcc, are able to do a better job
 with some very frequent functions such as strlen if you include the
 right header file.


CVS Diff : FAQ Ports Guide 2

2017-11-10 Thread Stephane HUC &quot;PengouinBSD"
Hi, all.

I attach a patch for the FAQ "Ports Guide" ;)



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net
Index: faq/ports/guide.html
===
RCS file: /cvs/www/faq/ports/guide.html,v
retrieving revision 1.75
diff -u -p -r1.75 guide.html
--- faq/ports/guide.html	10 Nov 2017 15:37:41 -	1.75
+++ faq/ports/guide.html	10 Nov 2017 17:43:02 -
@@ -1206,10 +1206,10 @@ the following for you (ask on
 upstreamed patches).
 Check the output of cvs -n up -d.
 New files should be marked A, deleted files should be marked
-D and changed files should be maked M.
+D and changed files should be marked M.
 Look for files marked ? - did you mean to cvs add them?
-If all is well, commit the new/deleted/changed files using cvs
-commit.
+If all is well, commit the new/deleted/changed files using 
+cvs commit. 
 When invoking cvs commit, you can either list the files individually,
 or if you provide no filenames, CVS will recursively commit (be careful with
 this feature).


signature.asc
Description: OpenPGP digital signature


Re: Error : page Ports - Working with Ports

2017-11-07 Thread Stephane HUC &quot;PengouinBSD"

(...)
> This will:
>
> a) indicate clearly what you are talking about without you having to
>scramble to explain what you mean
> b) force you to propose a solution, so it's easy to understand what you
>think is wrong
> c) allow me (or someone else) to apply, tweak and commit the fix if it
>makes sense.
>
> In the long run, this will save a lot of headache and time.

I apologize for the noise.

I'm not going to submit a diff when I'm trying to understand if what i'm
higlighting it's normal... really, sorry!

I'm not ready to collaborate as you want. Sorry!

Bye. Have a good day! :D

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Error : page Ports - Working with Ports

2017-11-07 Thread Stephane HUC &quot;PengouinBSD"


Le 11/07/17 à 12:34, Rodrigo Mosconi a écrit :
(...)
>> "
>> By twice: "make install will only install the main subpackage". Normal?
>>
> 
> [make install] is a command that is writen in the shell.  realize that is
> in mono-spaced font, so it is something from terminal
> 
> 

I'm sorry, but you didn't understand me.
I like to point out that it is written twice, as an unfortunate
repetition. Normal?



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Error : page Ports - Working with Ports

2017-11-07 Thread Stephane HUC &quot;PengouinBSD"
Hi, all...

Into page "Ports - Working with Ports", in "Using flavors and
subpackages" section,
https://www.openbsd.org/faq/ports/ports.html#PortsFlavors

It's wrote:
" Summary: Some ports are split into several packages. make install will
only install the main subpackage.

To list the different packages built by a port, use:

$ make show=PKGNAMES

make install will only install the main subpackage. To install them all,
use:
"
By twice: "make install will only install the main subpackage". Normal?



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: error: [drm:pid81687:intel_pipe_update_start]

2017-11-05 Thread Stephane HUC &quot;PengouinBSD"
ate failure on pipe A
error: [drm:pid74373:intel_pipe_update_start] *ERROR* Potential atomic
update failure on pipe A
error: [drm:pid74373:intel_pipe_update_start] *ERROR* Potential atomic
update failure on pipe A
error: [drm:pid74373:intel_pipe_update_start] *ERROR* Potential atomic
update failure on pipe A
error: [drm:pid74373:intel_pipe_update_start] *ERROR* Potential atomic
update failure on pipe A


Le 11/05/17 à 05:48, Predrag Punosevac a écrit :
> I just notice on xconsole of my ThinkPad X201
> 
> error: [drm:pid81687:intel_pipe_update_start] *ERROR* Potential atomic update 
> failure on pipe A
> 
> 
> Has anybody else seen this on 6.2 stable?
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: How help about to review FAQ?

2017-11-04 Thread Stephane HUC &quot;PengouinBSD"


Le 11/04/17 à 22:59, Marc Espie a écrit :
> On Sat, Nov 04, 2017 at 10:49:57PM +0100, Stephane HUC "PengouinBSD" wrote:
>> Thank you! :D
>>
>> Do I have to create a new mail with just the page name to put the
>> corrections proposals I was talking about "OpenBSD/macppc" page?
>>
> if you're familiar with cvs and diff, best way is to cook an actual
> diff, because relevant people will just have to apply it.
It's not the case.
I know git, a little. it's pretty similar, right?

>
> Otherwise, well, typos are typos and will be fixed if you draw
> attentions to them.
OK! :D

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Errors into "OpenBSD/alpha" page?

2017-11-04 Thread Stephane HUC &quot;PengouinBSD"
Hi, all

Into OpenBSD/alpha, it seems to be a mistake into "Getting and
installing OpenBSD/alpha" section.

For the "CD Image" subsection, it wrote:

"It contains support for the on-board devices found on these machines,
however due to lack of space there are only a few other drivers. In
particular, this floppy lacks cdrom support and will not allow
installation from cdrom media."

Normal?
I think not, but i may be wrong.



And, into "Floppy B" subsection, at the end of the same mentions, it
appear some symbols, as:

" --> "

This is not normal. :p


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: How help about to review FAQ?

2017-11-04 Thread Stephane HUC &quot;PengouinBSD"
Thank you! :D

Do I have to create a new mail with just the page name to put the
corrections proposals I was talking about "OpenBSD/macppc" page?


Le 11/04/17 à 22:15, Marc Espie a écrit :
> On Sat, Nov 04, 2017 at 09:54:32PM +0100, Stephane HUC "PengouinBSD" wrote:
>> Hi.
>>
>> My question is how help about to review FAQ. Where submit corrections?
>>
>> Example with https://www.openbsd.org/macppc.html
>>
>> => Into "Getting and installing OpenBSD/macppc" section, it wrote:
>> boot cd:,ofwboot 6.1/macppc/bsd.rd
>>
>> isn't that more like it?
>> boot cd:,ofwboot 6.2/macppc/bsd.rd
>>
>> => Into "Boot device considerations:" section, it wrote:
>> ultra1 is valid as a root disk, as long as ultra0 is a hard drive, not a
>> non-hard disk ATAPI device).
>>
>> Doesn't it miss one '(', or maybe, the final ')' is more?
>>
> This list is perfectly suitable.
>
> either that or bugs@
>
> Sooner or later, people with commit access and interest in the FAQ
> will notice and interact with you.
>
> I'm betting you'll bet pleasantly surprised.

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



How help about to review FAQ?

2017-11-04 Thread Stephane HUC &quot;PengouinBSD"
Hi.

My question is how help about to review FAQ. Where submit corrections?

Example with https://www.openbsd.org/macppc.html

=> Into "Getting and installing OpenBSD/macppc" section, it wrote:
boot cd:,ofwboot 6.1/macppc/bsd.rd

isn't that more like it?
boot cd:,ofwboot 6.2/macppc/bsd.rd

=> Into "Boot device considerations:" section, it wrote:
ultra1 is valid as a root disk, as long as ultra0 is a hard drive, not a
non-hard disk ATAPI device).

Doesn't it miss one '(', or maybe, the final ')' is more?



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: FAQ14: Growing disk partitions: fdisk

2017-11-03 Thread Stephane HUC &quot;PengouinBSD"

Le 11/03/17 à 07:27, Otto Moerbeek a écrit :
(...)
> 
> My guess is that if you use duids in fstab then you should call it by
> that name withc fsck (which uses fstab). Alternatively, specify the
> mount point.
> 
>   -Otto
> 
> 

Interesting point of view, but:

1/ I've not change the writing of the fstab file. It is the fact of the
installer OpenBSD.

2/ Normally, fsck uses fstab. But, as i wrote in my first message, it
seems it not doing it.

> # fsck sd0d
> fsck: sd0d: unknown special file or file system.

3/ By using duids, how i call fsck?

# fsck /tmp

???

4/ And, yes, calling fsck as:

# fsck /dev/sd0d

seems run correctly!

=> But then why is it written in the FAQ this below, since it doesn't
seem to work? (at least with stable amd64 OpenBSD)

"Before the partition can be mounted again, its integrity must be
checked with fsck(8):

# fsck sd0h
"



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


FAQ14: Growing disk partitions: fdisk

2017-11-02 Thread Stephane HUC &quot;PengouinBSD"
Hi...

there seems to be a problem with fsck command on OpenBSD 6.2 amd64 -stable.

Into the FAQ14, "Growing disk partitions" section, it's written:

"Before the partition can be mounted again, its integrity must be
checked with fsck(8):

# fsck sd0h
"

but one of our forum members obsd4a.net asks us if it's normal that it
doesn't work.

I read the FAQ, and attempt with my laptop.

My disklabel:

[code]
#disklabel -E sd0
Label editor (enter '?' for help at any prompt)
> p
OpenBSD area: 64-976768065; size: 976768001; free: 194252529
#size   offset  fstype [fsize bsize   cpg]
  a: 10486016104780352  4.2BSD   2048 16384 12958 # /
  b: 17100976  2097216swap# none
  c:9767731680  unused
  d: 10474368115266368  4.2BSD   2048 16384 12958 # /tmp
  e: 20964832125740736  4.2BSD   2048 16384 12958 # /var
  f:  4194304 69128768  4.2BSD   2048 16384 12958 # /usr
  g:  2097152 73323072  4.2BSD   2048 16384 12958 #
/usr/X11R6
  h: 20971520 75420224  4.2BSD   2048 16384 12958 #
/usr/local
  i:  4194304 96391744  4.2BSD   2048 16384 12958 # /usr/src
  j: 20964832817772736  4.2BSD   2048 16384 12958 # /usr/obj
  k: 20964832146705568  4.2BSD   2048 16384 12958 # /var/log
  l:629137472167670400  4.2BSD   4096 32768 26062 # /home
  m: 20964864796807872  4.2BSD   2048 16384 12958 #
/usr/ports
> q
No label changes.
[/code]

Ok, i attempt to check only my slide /tmp... fstype: 4.2BSD

My fstab file is:
$ cat /etc/fstab

ef1ea0f909e0b8d8.b none swap sw
ef1ea0f909e0b8d8.a / ffs rw,softdep 1 1
ef1ea0f909e0b8d8.l /home ffs rw,nodev,nosuid,softdep 1 2
ef1ea0f909e0b8d8.d /tmp ffs rw,nodev,nosuid,softdep 1 2
ef1ea0f909e0b8d8.f /usr ffs rw,nodev,softdep 1 2
ef1ea0f909e0b8d8.g /usr/X11R6 ffs rw,nodev,softdep 1 2
ef1ea0f909e0b8d8.h /usr/local ffs rw,wxallowed,nodev,softdep 1 2
ef1ea0f909e0b8d8.j /usr/obj ffs rw,nodev,nosuid,softdep 1 2
ef1ea0f909e0b8d8.m /usr/ports ffs rw,nodev,nosuid,softdep,wxallowed 1 2
ef1ea0f909e0b8d8.i /usr/src ffs rw,nodev,nosuid,softdep 1 2
ef1ea0f909e0b8d8.e /var ffs rw,nodev,nosuid,softdep 1 2
ef1ea0f909e0b8d8.k /var/log ffs rw,nodev,noexec,nosuid,softdep 1 2

The fs type /tmp seems to be good:
$ awk '/\/tmp/ { print $3 }' /etc/fstab
ffs

ffs = 4.2BSD! OK.

But if i attempt to fsck, with rights root:
# fsck sd0d
fsck: sd0d: unknown special file or file system.

???

If i use fsck_ffs, its OK!
# fsck_ffs sd0d
** /dev/sd0d (sd0d)
** File system is clean; not checking

Error into FAQ14 or fdisk's bug?

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: About WPA2 compromised protocol

2017-10-17 Thread Stephane HUC &quot;PengouinBSD"
Just for the fun:
http://www.commitstrip.com/en/2017/10/16/wpa2-vulnerability-just-a-small-update/


Le 10/16/17 à 15:53, Lampshade a écrit :
> Stefan Sperling:
>> Also this was *NOT* a protocol bug.
>> arstechnica claimed such nonesense without any basis in fact and
>> now everybody keeps repeating it :(
> 
> Actually, the researcher claimed that are in the standard itself.
> 
> https://www.krackattacks.com/
> The weaknesses are in the Wi-Fi standard itself, and not in individual 
> products or implementations. Therefore, any correct implementation of WPA2 is 
> likely affected.
> 
> Some paragraphs remarks about OpenBSD in a direct way.
> 
> Paper
> Although this paper is made public now, it was already submitted for review 
> on 19 May 2017. After this, only minor changes were made. As a result, the 
> findings in the paper are already several months old. In the meantime, we 
> have found easier techniques to carry out our key reinstallation attack 
> against the 4-way handshake. With our novel attack technique, it is now 
> trivial to exploit implementations that only accept encrypted retransmissions 
> of message 3 of the 4-way handshake. In particular this means that attacking 
> macOS and OpenBSD is significantly easier than discussed in the paper.
> 
> Some attacks in paper seem hard
> We have follow-up work making our attacks (against for example macOS and 
> OpenBSD) significantly more general and easier to execute. So although we 
> agree that some of the attack scenarios in the paper are rather impractical, 
> do not let this fool you into believing key reinstallation attacks cannot be 
> abused in practice.
> 
> How did you discover these vulnerabilities?
> When working on the final (i.e. camera-ready) version of another paper, I was 
> double-checking some claims we made regarding OpenBSD's implementation of the 
> 4-way handshake. In a sense I was slacking off, because I was supposed to be 
> just finishing the paper, instead of staring at code. But there I was, 
> inspecting some code I already read a hundred times, to avoid having to work 
> on the next paragraph. It was at that time that a particular call to 
> ic_set_key caught my attention. This function is called when processing 
> message 3 of the 4-way handshake, and it installs the pairwise key to the 
> driver. While staring at that line of code I thought “Ha. I wonder what 
> happens if that function is called twice”. At the time I (correctly) guessed 
> that calling it twice might reset the nonces associated to the key. And since 
> message 3 can be retransmitted by the Access Point, in practice it might 
> indeed be called twice. “Better make a note of that. Other vendors might also 
> call such a function twice. But let's first finish this paper...”. A few 
> weeks later, after finishing the paper and completing some other work, I 
> investigated this new idea in more detail. And the rest is history.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net


Re: rsa 4096 or ed25519 for ssh keys ?

2017-10-16 Thread Stephane HUC &quot;PengouinBSD"
Yes, of course.

Or RSA with option -o to use PKBDF and option -a to specify numbers
rounds (16, by defaults; 64, as paranoid), if you want to continue using
RSA.


Le 10/16/17 à 17:29, Joel Carnat a écrit :
> Hi,
>
> If both server and client are ed25519 compatible.
> When generating (user) SSH keys, is it recommended to use ed25519 rather
> than rsa 4096bits?
>
> Thank you.
>

-- 
Stéphane HUC | 06 66 84 24 76 | cons...@stephane-huc.net
"Shell : Serviable, Honnête & Efficace (LL) ... Ecce Homo"
 0xEBD72DA8C1C023F3 
 310D AA3C 5B35 AB97 7520  5ED4 EBD7 2DA8 C1C0 23F3

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Cups not run after Upgrade 6.2

2017-10-16 Thread Stephane HUC &quot;PengouinBSD"
Ok, i delete cups package.
And, after new install, cupsd run!

$ ls -al /etc/cups/
total 92
drwxr-xr-x   4 root  _cups512 Oct 16 08:58 ./
drwxr-xr-x  59 root  wheel   2560 Oct 16 09:21 ../
-rw---   1 root  _cups  0 Oct 16 08:58 classes.conf
-rw-r--r--   1 root  _cups  0 Oct 16 08:58 client.conf
-rw-r--r--   1 root  _cups936 Oct  9 19:30 command.types
-rw-r-   1 root  _cups   2979 Oct 16 08:58 cups-files.conf
-rw-r--r--   1 root  _cups  10802 Oct 16 08:58 cups-pdf.conf
-rw-r-   1 root  _cups   6278 Oct 16 08:58 cupsd.conf
-rw-r--r--   1 root  _cups  0 Oct 16 08:58 lpoptions
drwxr-xr-x   2 root  _cups512 Oct  9 19:30 ppd/
-rw-r--r--   1 root  _cups273 Sep 15 19:58 printcap
-rw---   1 root  _cups  0 Oct 16 08:58 printers.conf
-rw---   1 root  _cups886 Oct  9 15:39 printers.conf.O
-rw-r-   1 root  _cups142 Oct 16 08:58 snmp.conf
drwx--   2 root  _cups512 Oct 16 08:58 ssl/
-rw-r-   1 root  _cups111 Oct 10 13:28 subscriptions.conf
-rw-r-   1 root  _cups401 Oct  9 20:10 subscriptions.conf.O

$ doas /usr/local/sbin/cupsd -t
"/etc/cups/cups-files.conf" is OK.
"/etc/cups/cupsd.conf" is OK.

Ty!

Le 10/16/17 à 08:50, Stephane HUC "PengouinBSD" a écrit :
> Hi :p
> 
> Ok, i delete /var/cache/cups.
> 
> And, into /etc/cups/, i've not file cupsd.conf!
> 
> $ ls -al /etc/cups/
> total 64
> drwxr-xr-x   4 root  _cups512 Oct 10 13:28 .
> drwxr-xr-x  59 root  wheel   2560 Oct 16 01:10 ..
> -rw-r--r--   1 root  _cups936 Oct  9 19:30 command.types
> -rw-r--r--   1 root  _cups  10802 Oct  9 17:41 cups-pdf.conf
> -rw-r--r--   1 root  _cups  0 Oct  9 16:34 lpoptions
> drwxr-xr-x   2 root  _cups512 Oct  9 19:30 ppd
> -rw-r--r--   1 root  _cups273 Sep 15 19:58 printcap
> -rw---   1 root  _cups886 Oct  9 15:39 printers.conf.O
> drwx--   2 root  _cups512 Aug 29 20:37 ssl
> -rw-r-   1 root  _cups111 Oct 10 13:28 subscriptions.conf
> -rw-r-   1 root  _cups401 Oct  9 20:10 subscriptions.conf.O
> 
> 
> Le 10/16/17 à 08:45, Robert Klein a écrit :
>> Hi,
>>
>> On Mon, 16 Oct 2017 08:10:41 +0200
>> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
>>
>>> The output is none:
>>>
>>> [08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t
>>> [08:07:05] :root@ptb-zou: ~ $
>>>
>>
>> I'd have expected something like
>>
>> "/etc/cups/cupsd.conf" is OK.
>>
>>
>> but you probably don't need cupsd.conf/
>>
>>
>>> And about file log:
>>>
>>> $ cat
>>> /var/log/cups/error_log 
>>>   
>>>
>>> E [09/Oct/2017:20:10:22 +0200] Unable to create
>>> "/var/cache/cups/job.cache.N": No such file or directory
>>> E [10/Oct/2017:13:28:09 +0200] Unable to create
>>> "/var/cache/cups/job.cache.N": No such file or directory
>>>
>>> $ ls -al /var/cache/ | grep cups
>>> drwxr-xr-x   2 root  wheel   512 Oct 15 21:24 cups
>>>
>>> do i need _cups user rights?
>>>
>>
>> yes.  You can just delete the directory, cups recreates it on start.
>>
>>
>> Best regards
>> Robert
>>
>>
>>
>>
>>
>>
>>>
>>> Le 10/16/17 à 08:01, Robert Klein a écrit :
>>>> Hi,
>>>>
>>>> On Sun, 15 Oct 2017 21:35:30 +0200
>>>> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
>>>>  
>>>>> Hi,
>>>>>
>>>>> After upgrade to 6.2 (amd64), Cups not run!
>>>>>
>>>>> $ doas rcctl start cupsd
>>>>> cupsd(failed)  
>>>>
>>>> What is the output of 
>>>>
>>>> /usr/local/sbin/cupsd -t
>>>>
>>>> run as root?
>>>>
>>>>
>>>> Is there anything in the /var/log/cups/error_log logfile?
>>>>
>>>>
>>>> Best regards
>>>> Robert  
>>>
>>
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Cups not run after Upgrade 6.2

2017-10-16 Thread Stephane HUC &quot;PengouinBSD"
Hi :p

Ok, i delete /var/cache/cups.

And, into /etc/cups/, i've not file cupsd.conf!

$ ls -al /etc/cups/
total 64
drwxr-xr-x   4 root  _cups512 Oct 10 13:28 .
drwxr-xr-x  59 root  wheel   2560 Oct 16 01:10 ..
-rw-r--r--   1 root  _cups936 Oct  9 19:30 command.types
-rw-r--r--   1 root  _cups  10802 Oct  9 17:41 cups-pdf.conf
-rw-r--r--   1 root  _cups  0 Oct  9 16:34 lpoptions
drwxr-xr-x   2 root  _cups512 Oct  9 19:30 ppd
-rw-r--r--   1 root  _cups273 Sep 15 19:58 printcap
-rw---   1 root  _cups886 Oct  9 15:39 printers.conf.O
drwx--   2 root  _cups512 Aug 29 20:37 ssl
-rw-r-   1 root  _cups111 Oct 10 13:28 subscriptions.conf
-rw-r-   1 root  _cups401 Oct  9 20:10 subscriptions.conf.O


Le 10/16/17 à 08:45, Robert Klein a écrit :
> Hi,
> 
> On Mon, 16 Oct 2017 08:10:41 +0200
> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
> 
>> The output is none:
>>
>> [08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t
>> [08:07:05] :root@ptb-zou: ~ $
>>
> 
> I'd have expected something like
> 
> "/etc/cups/cupsd.conf" is OK.
> 
> 
> but you probably don't need cupsd.conf/
> 
> 
>> And about file log:
>>
>> $ cat
>> /var/log/cups/error_log  
>>  
>>
>> E [09/Oct/2017:20:10:22 +0200] Unable to create
>> "/var/cache/cups/job.cache.N": No such file or directory
>> E [10/Oct/2017:13:28:09 +0200] Unable to create
>> "/var/cache/cups/job.cache.N": No such file or directory
>>
>> $ ls -al /var/cache/ | grep cups
>> drwxr-xr-x   2 root  wheel   512 Oct 15 21:24 cups
>>
>> do i need _cups user rights?
>>
> 
> yes.  You can just delete the directory, cups recreates it on start.
> 
> 
> Best regards
> Robert
> 
> 
> 
> 
> 
> 
>>
>> Le 10/16/17 à 08:01, Robert Klein a écrit :
>>> Hi,
>>>
>>> On Sun, 15 Oct 2017 21:35:30 +0200
>>> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
>>>  
>>>> Hi,
>>>>
>>>> After upgrade to 6.2 (amd64), Cups not run!
>>>>
>>>> $ doas rcctl start cupsd
>>>> cupsd(failed)  
>>>
>>> What is the output of 
>>>
>>> /usr/local/sbin/cupsd -t
>>>
>>> run as root?
>>>
>>>
>>> Is there anything in the /var/log/cups/error_log logfile?
>>>
>>>
>>> Best regards
>>> Robert  
>>
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Cups not run after Upgrade 6.2

2017-10-16 Thread Stephane HUC &quot;PengouinBSD"
The output is none:

[08:07:05] :root@ptb-zou: ~ $ /usr/local/sbin/cupsd -t
[08:07:05] :root@ptb-zou: ~ $

And about file log:

$ cat
/var/log/cups/error_log 
  

E [09/Oct/2017:20:10:22 +0200] Unable to create
"/var/cache/cups/job.cache.N": No such file or directory
E [10/Oct/2017:13:28:09 +0200] Unable to create
"/var/cache/cups/job.cache.N": No such file or directory

$ ls -al /var/cache/ | grep cups
drwxr-xr-x   2 root  wheel   512 Oct 15 21:24 cups

do i need _cups user rights?


Le 10/16/17 à 08:01, Robert Klein a écrit :
> Hi,
>
> On Sun, 15 Oct 2017 21:35:30 +0200
> "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net> wrote:
>
>> Hi,
>>
>> After upgrade to 6.2 (amd64), Cups not run!
>>
>> $ doas rcctl start cupsd
>> cupsd(failed)
>
> What is the output of 
>
> /usr/local/sbin/cupsd -t
>
> run as root?
>
>
> Is there anything in the /var/log/cups/error_log logfile?
>
>
> Best regards
> Robert

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net




signature.asc
Description: OpenPGP digital signature


Fwd: Re: Cups not run after Upgrade 6.2

2017-10-15 Thread Stephane HUC &quot;PengouinBSD"


And?

About Cups information?

"The CUPS binaries (lpr, lpq, lprm) are no longer symlinked into /usr/bin."

What's the relationship betweeen this 3 binaries about Cups, and
dysfunctiong by starting the daemon with rcctl?

Please, explain-me; because i dont understand!



FIY: In fact, i translate in french those documentation:

https://wiki.obsd4a.net/doku.php?id=openbsd.org:faq:upgrade62


Le 10/15/17 à 23:50, Jacqueline Jolicoeur a écrit :
>> After upgrade to 6.2 (amd64), Cups not run!
>>
>> $ doas rcctl start cupsd
>> cupsd(failed)
>>
> Did you miss anything from here when you did your upgrade?
>
> https://www.openbsd.org/faq/upgrade62.html

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net





signature.asc
Description: OpenPGP digital signature


Cups not run after Upgrade 6.2

2017-10-15 Thread Stephane HUC &quot;PengouinBSD"
Hi,

After upgrade to 6.2 (amd64), Cups not run!

$ doas rcctl start cupsd
cupsd(failed)



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Gnome3 : can not connect to my session

2017-09-05 Thread Stephane HUC &quot;PengouinBSD"
Oh, yes, i read the pkg-readme. It's my first action,even!

i had not understood the relationship, or that's not possible to set it
despiste the locale.conf file or session seted!

I go to advertise our french communauty, obsd4a.net.

Le 09/05/17 à 18:49, Antoine Jacoutot a écrit :
> On Tue, Sep 05, 2017 at 06:40:00PM +0200, Stephane HUC "PengouinBSD" wrote:
>> Ok. How explain you?
>>
>> Before, installing, testing and using Gnome3.
>> I run my station without any problem, with Xfce and xenodm.
>>
>> My layout keyboard is french since install OpenBSD.
>> And my complicated pass is typed in FR, and run correctly.
>>
>> The problem is with GDM, despite the locale.conf and session gnome seted.
> On GNOME, kbd locale support is handled by... systemd.
>
> It is documented in the package by the way.
> Extract from /usr/local/share/doc/pkg-readmes/gnome-3.*:
> It is *not* possible to change the GDM greeter keyboard input layout due to 
> the
> lack of systemd-localed support on OpenBSD.
>

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Re: Gnome3 : can not connect to my session

2017-09-05 Thread Stephane HUC &quot;PengouinBSD"
Ok. How explain you?

Before, installing, testing and using Gnome3.
I run my station without any problem, with Xfce and xenodm.

My layout keyboard is french since install OpenBSD.
And my complicated pass is typed in FR, and run correctly.

The problem is with GDM, despite the locale.conf and session gnome seted.

Le 09/05/17 à 17:08, Mihai Popescu a écrit :
>> OK, it seems necessary to tape my password in EN! Amazing...
> 
> If your password has special ASCII, then it is obvious that if you set
> up the pasword with and EN keyboard, you should take care when you
> change it to FR.
> Not that I can understand very much what is wrong with Gnome from your 
> message.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



Gnome3 : can not connect to my session

2017-09-05 Thread Stephane HUC &quot;PengouinBSD"

Hi, all.

I installed gnome3 into my station (OpenBSD 6.1), as :

# pkg_add -iuv gnome gnome-extras

My /etc/rc.conf.local is:

apmd_flags=-A
hotplugd_flags=
multicast=YES
ntpd_flags=-s
pkg_scripts=messagebus avahi_daemon cupsd cups_browsed gdm
sshd_flags=NO
unbound_flags=

I changed /etc/gdm/locale.conf as:

# $OpenBSD: locale.conf,v 1.4 2014/01/08 14:07:48 ajacoutot Exp $
#
# Mimics Linux's /etc/locale.conf.
# See locale(1) for a list of supported locales (`locale -a`).

# OpenBSD setlocale(3) does not handle LANG
#LANG="en_EN.UTF-8"
LC_CTYPE="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"

After rebooting my computer, gdm appear into FR language, displaying my
userid.
I taping my password, and gdm reply-me:

"Désolé, ça n'a pas fonctionné. Veuillez réessayer"

Then, i cant connect into my session with GDM.

Of course, if y attempt to entry into tty1, i can log-me with same iduser.

OK, it seems necessary to tape my password in EN! Amazing...

What's wrong?



packages installed:
gnome-3.22.2p0 (installed)
gnome-autoar-0.2.2 (installed)
gnome-backgrounds-3.22.1 (installed)
gnome-builder-3.22.4p3
gnome-calculator-3.22.3 (installed)
gnome-calendar-3.22.4 (installed)
gnome-characters-3.22.0 (installed)
gnome-clocks-3.22.1 (installed)
gnome-code-assistance-3.16.1p3
gnome-color-manager-3.22.2p0 (installed)
gnome-colors-icon-theme-5.5.1p8 (installed)
gnome-contacts-3.22.1p1 (installed)
gnome-control-center-3.22.2 (installed)
gnome-desktop-3.22.2 (installed)
gnome-devel-docs-3.22.1
gnome-dictionary-3.20.0 (installed)
gnome-doc-utils-0.20.10p5
gnome-documents-3.22.2p0 (installed)
gnome-epub-thumbnailer-1.5p0 (installed)
gnome-extras-3.22.2 (installed)
gnome-font-viewer-3.22.0 (installed)
gnome-getting-started-docs-3.22.0 (installed)
gnome-icon-theme-3.12.0p3 (installed)
gnome-icon-theme-symbolic-3.12.0p2 (installed)
gnome-initial-setup-3.22.1p2 (installed)
gnome-keyring-3.20.0 (installed)
gnome-keyring-subversion-1.9.5
gnome-maps-3.22.2 (installed)
gnome-mastermind-0.3.1p13
gnome-menus-3.10.1p3 (installed)
gnome-mime-data-2.18.0p8 (installed)
gnome-mplayer-1.0.9p2v0
gnome-music-3.22.2p0 (installed)
gnome-online-accounts-3.22.5p0 (installed)
gnome-online-miners-3.22.0p0 (installed)
gnome-photos-3.22.5 (installed)
gnome-power-manager-3.22.2 (installed)
gnome-recipes-1.0.0 (installed)
gnome-screenshot-3.22.0 (installed)
gnome-session-3.22.3 (installed)
gnome-settings-daemon-3.22.2 (installed)
gnome-shell-3.22.3 (installed)
gnome-shell-extensions-3.22.2 (installed)
gnome-system-monitor-3.22.2 (installed)
gnome-terminal-3.22.2 (installed)
gnome-themes-standard-3.22.3 (installed)
gnome-todo-3.22.1p0 (installed)
gnome-tweak-tool-3.22.0 (installed)
gnome-user-docs-3.22.0 (installed)
gnome-vfs2-2.24.4p14 (installed)
gnome-weather-3.20.2 (installed)
libgnome-2.32.1p12
libgnome-keyring-3.12.0p4 (installed)
libgnomecanvas-2.30.3p6
libgnomecanvasmm-2.26.0p12
libgnomekbd-3.22.0.1 (installed)
libgnomeui-2.24.5p10
mono-gnome-2.24.2p8
pinentry-gnome3-0.9.7 (installed)


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net





signature.asc
Description: OpenPGP digital signature


Re: Amazon AWS, OpenBSD and IPv6

2017-09-05 Thread Stephane HUC &quot;PengouinBSD"
Hi...

Are you sure than AWS provide dhcpv6? or slaac?


Le 09/05/17 à 11:45, Zbyszek Żółkiewski a écrit :
> Thanks, but it also do not work:
> 
> cat /etc/hostname.xnf0
>   
>   
>
> dhcp
> inet6 autoconf
> 
> ksh /etc/netstart   
> DHCPREQUEST on xnf0 to 255.255.255.255
> DHCPACK from 172.30.0.1 (06:21:2f:5e:51:4d)
> bound to 172.30.0.120 -- renewal in 1800 seconds.
> 
> ifconfig xnf0
> xnf0: flags=208843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF6> mtu 1500
> lladdr 06:e2:3b:b3:f6:52
> index 1 priority 0 llprio 3
> groups: egress
> media: Ethernet manual
> status: active
> inet6 fe80::4e2:3bff:feb3:f652%xnf0 prefixlen 64 scopeid 0x1
> inet 172.30.0.120 netmask 0xff00 broadcast 172.30.0.255
> 
> as you can see only fe80 is there...
> 
> _
> Zbyszek Żółkiewski
> 
>> Wiadomość napisana przez Janne Johansson <icepic...@gmail.com> w dniu 
>> 05.09.2017, o godz. 11:30:
>>
>> That is not DHCPv6 but SLAAC. Perhaps that is why you get confused by people 
>> saying openbsd doesn't have dhcpv6 in base.
>>
>> https://en.wikipedia.org/wiki/IPv6#Stateless_address_autoconfiguration_.28SLAAC.29
>>
>> 2017-09-05 11:27 GMT+02:00 Zbyszek Żółkiewski <zbys...@onefellow.com>:
>> AWS uses DHCP, so i need DHCP to configure it, when i do manually:
>>
>> ifconfig xnf0 inet6 2a05:d018:501:3802:82b7:5ec2:6403:992b/64 autoconf up
>>
>> then:
>>
>> # ping6 google.com
>> PING google.com (2a00:1450:400b:c03::66): 56 data bytes
>> 64 bytes from 2a00:1450:400b:c03::66: icmp_seq=0 hlim=49 time=1.148 ms
>> 64 bytes from 2a00:1450:400b:c03::66: icmp_seq=1 hlim=49 time=1.219 ms
>>
>> any other place to look for possible misconfiguration of DHCP?
>>
>> _
>> Zbyszek Żółkiewski
>>
>>> Wiadomość napisana przez Stephane HUC PengouinBSD <b...@stephane-huc.net> w 
>>> dniu 05.09.2017, o godz. 11:20:
>>>
>>> Hi...
>>> Perhaps,  It is possible that I did not understand the question!
>>>
>>> But :
>>> - for OpenBSD 6.1, use 'ipv6 autoconf' into your iface file
>>> - for oldiers OpenBSD, use 'rtsol'.
>>>
>>>
>>> Le 09/05/17 à 11:12, Zbyszek Żółkiewski a écrit :
>>>>>
>>>>> Wiadomość napisana przez Peter Hessler <phess...@theapt.org> w dniu 
>>>>> 05.09.2017, o godz. 11:05:
>>>>>
>>>>> OpenBSD's dhclient is IPv4 only.  We do not have an IPv6 DHCP client in
>>>>> base.
>>>>
>>>> how does it works then on vultr for example where in same setup IPv6 is 
>>>> leased from DHCP? I do not see any other daemons running there...
>>>>
>>>> _
>>>> Zbyszek Żółkiewski
>>>>
>>>
>>> --
>>> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "   +=<<<
>>> 
>>> Stephane HUC as PengouinBSD or CIOTBSD
>>> b...@stephane-huc.net
>>>
>>
>>
>>
>>
>> -- 
>> May the most significant bit of your life be positive.
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Amazon AWS, OpenBSD and IPv6

2017-09-05 Thread Stephane HUC &quot;PengouinBSD"
Hi...
Perhaps,  It is possible that I did not understand the question!

But :
- for OpenBSD 6.1, use 'ipv6 autoconf' into your iface file
- for oldiers OpenBSD, use 'rtsol'.


Le 09/05/17 à 11:12, Zbyszek Żółkiewski a écrit :
>>
>> Wiadomość napisana przez Peter Hessler <phess...@theapt.org> w dniu 
>> 05.09.2017, o godz. 11:05:
>>
>> OpenBSD's dhclient is IPv4 only.  We do not have an IPv6 DHCP client in
>> base.
> 
> how does it works then on vultr for example where in same setup IPv6 is 
> leased from DHCP? I do not see any other daemons running there...
> 
> _
> Zbyszek Żółkiewski
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: binary updates on stable?

2017-09-01 Thread Stephane HUC &quot;PengouinBSD"
Yess, openup... amazing tool and call syspatch, too! :p

Le 09/01/17 à 11:58, GSO a écrit :
> M:Tier provide stable package updates https://stable.mtier.org/
> 
> On 1 September 2017 at 10:54, Aaron Marcher <m...@drkhsh.at> wrote:
>>> Yes, see: https://man.openbsd.org/syspatch
>>
>> I think he meant binary stable updates for packages. syspatch is only
>> for the base system.
>>
>> Regards,
>> Aaron
>>
>> --
>> Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
>> Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
>> GPG: 0x09e71697435bf54b
>> Fingerprint: 57D2 5F2C 9402 A6BD FEF9 B3B6 09E7 1697 435B F54B
>>
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: vmd errors

2017-08-06 Thread Stephane HUC &quot;PengouinBSD"
axe0: AX88772, address 00:19:fd:4d:f3:7d
ukphy0 at axe0 phy 16: Generic IEEE 802.3u media interface, rev. 1: OUI
0x000ec6, model 0x0001
uhidev0 at uhub0 port 3 configuration 1 interface 0 "HOLTEK Wireless USB
Device" rev 1.10/3.01 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 3 configuration 1 interface 1 "HOLTEK Wireless USB
Device" rev 1.10/3.01 addr 3
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
ums0 at uhidev1 reportid 3: 5 buttons, Z dir
wsmouse1 at ums0 mux 0
uvideo0 at uhub0 port 6 configuration 1 interface 0
"CN036P597248751HABEMA00 Integrated_Webcam_FHD" rev 2.00/47.18 addr 4
video0 at uvideo0
uhidev2 at uhub0 port 7 configuration 1 interface 0 "Alienware AW13" rev
0.02/0.00 addr 5
uhidev2: iclass 3/0, 2 report ids
uhid2 at uhidev2 reportid 1: input=8, output=0, feature=0
uhid3 at uhidev2 reportid 2: input=0, output=8, feature=0
ugen0 at uhub0 port 8 "Atheros Communications product 0x3004" rev
1.10/0.01 addr 6
uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching
Hub" rev 2.00/0.04 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (638cdaa08bd52d91.a) swap on sd0b dump on sd0b
error: [drm:pid13066:hsw_unclaimed_reg_clear] *ERROR* Unknown unclaimed
register before writing to 101008



Le 08/06/17 à 20:15, Mike Larkin a écrit :
(...)
>>
> 
> pkill -9 vmd
> vmd -dv   (will not detach from the console)
> vmctl log verbose
> 
> then try your vmctl again, and send the vmd log messages displayed in the
> window where vmd is running.
> 
> Also send a dmesg please.
> 
> We'll start there and see if we need more info.
> 
> Thanks for helping test vmd
> 
> -ml
>
> (...)
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


vmd errors

2017-08-06 Thread Stephane HUC &quot;PengouinBSD"
Hi all.

I have this problem to run vmctl:

$ doas vmctl start "webdev" -c -b bsd.rd -m 1024M -i 1 -d www.drive -d
install61.fs
vmctl: start vm command failed: Operation not permitted

I can use virtualization on my desktop; it's an Core i5 intel :

$ dmesg | grep vmm
vmm0 at mainbus0: VMX/EPT

I attempt to use on OpenBSD 6.1 -stable :

$ uname -a
OpenBSD ptb.stephane-huc.net 6.1 GENERIC.MP#19 amd64

The config seems correct:

$ doas vmd -n
configuration OK

ifconfig results:

(...)
vether0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr fe:e1:ba:d0:01:02
index 4 priority 0 llprio 3
groups: vether
media: Ethernet autoselect
status: active
inet 192.168.247.1 netmask 0xff00 broadcast 192.168.247.255
inet6 fe80::fce1:baff:fed0:102%vether0 prefixlen 64 scopeid 0x4
inet6 fd47:c107:b5d::247:1 prefixlen 64
(...)
bridge0: flags=41<UP,RUNNING>
description: switch1-h2g2
index 8 llprio 3
groups: bridge
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto
rstp
vether0 flags=3<LEARNING,DISCOVER>
port 4 ifpriority 0 ifcost 0
tap0 flags=3<LEARNING,DISCOVER>
port 9 ifpriority 0 ifcost 0
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
lladdr fe:e1:ba:d2:3d:0c
description: vm1-if0-webdev
index 9 priority 0 llprio 3
groups: tap
status: active

An idea to explain-me why vmctl failed to start?


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: Unable to create temporary file, Check permissions in temporary files directory.

2017-07-26 Thread Stephane HUC &quot;PengouinBSD"
Hi, all.

Sorry for the latence!

Yes, i'm sure all ENV* variables are absolute to the system root.
As explain on the php-fpm.conf, only few directives are relative to be
chroot.

[quote]
(...)
; Per pool prefix
; It only applies on the following directives:
; - 'access.log'
; - 'slowlog'
; - 'listen' (unixsocket)
; - 'chroot'
; - 'chdir'
; - 'php_values'
; - 'php_admin_values'
; When not set, the global prefix (or /usr/local) applies instead.
; Note: This directive can also be relative to the global prefix.
(...)
[/quote]

I modified the php-fpm.conf_user as:

env[TMP] = /var/www/tmp/$pool
env[TMPDIR] = /var/www/tmp/$pool
env[TEMP] = /var/www/tmp/$pool
(...)
php_admin_value[upload_tmp_dir]=/tmp/$pool

I created the directory /var/www/tmp/$pool, and chowned user_blog:www on
this!

In facts, i was wrong user.

Now, it's run correctly! ;)

Thank you all.


Le 07/26/17 à 01:50, Todd Mortimer a écrit :
> Hi Stephane,
> 
> Are you sure that the env[TMP], env[TMPDIR] and env[TEMP] variables are
> supposed to be relative to the real system root, or relative to the
> chroot? If I were to guess, I would bet that php is trying to create a
> file after chrooting itself, and inside the chroot, /var/www/tmp doesn't
> exist. Try setting those env vars to /tmp and see if that works. 
> 
> Todd
> 
> On Tue, Jul 25, 2017 at 09:03:38AM +0200, Stephane HUC "PengouinBSD" wrote:
>> Hi all.
>>
>> I have this error on my,OpenBSD server (6.1) :
>>
>> FastCGI sent in stderr: "PHP message: PHP Warning:  Unknown: Unable to
>> create temporary file, Check permissions in temporary files directory.
>> in Unknown on line 0
>>
>> I use nginx+php70_fpm !
>>
>> The php-fpm.conf for the instance:
>>
>>  file ***
>> [blog.stephane-huc.net]
>> prefix = /var/www
>>
>> user = user_blog
>> group = www
>>
>> listen.owner = www
>> listen.group = www
>> listen.mode = 0660
>>
>> listen = run/php-fpm.$pool.sock
>> listen.allowed_clients = 127.0.0.1
>>
>> chroot = $prefix
>> chdir = /
>>
>> env[HOSTNAME] = $HOSTNAME
>> ;env[PATH] = /usr/local/bin:/usr/bin:/bin
>> env[TMP] = /var/www/tmp
>> env[TMPDIR] = /var/www/tmp
>> env[TEMP] = /var/www/tmp
>>
>> php_admin_value[upload_tmp_dir] = /tmp
>> php_admin_value[upload_max_filesize] = 8M
>> *** EOF ***
>>
>> Rights on /var/www/tmp:
>>
>> $ ls -al /var/www/
>>
>>
>> total 68
>> drwxr-xr-x  17 root  daemon   512 Jul  5 04:59 ./
>> drwxr-xr-x  25 root  wheel512 Jul  5 19:50 ../
>> drwxr-xr-x  10 www   daemon   512 Jul  9 10:31 .ht/
>> drwxr-xr-x  11 root  daemon   512 Jul  9 10:31 acme/
>> drwxr-xr-x   2 root  daemon   512 Jun 25 13:51 bin/
>> drwx-T  16 www   daemon   512 Jul  9 10:31 cache/
>> drwxr-xr-x   2 root  daemon   512 Apr  1 21:38 cgi-bin/
>> drwxr-xr-x  10 root  daemon   512 Jul  9 10:31 conf/
>> drwxr-xr-x   3 root  daemon   512 Jun 25 13:48 etc/
>> drwxr-xr-x  12 root  daemon   512 Jul  9 10:29 htdocs/
>> drwxr-xr-x   2 root  daemon   512 Jun 24 22:59 html/
>> drwxr-xr-x  11 root  daemon  1024 Jul 23 00:00 logs/
>> drwxr-xr-x   2 root  daemon   512 Jun 28 18:11 modules/
>> drwxr-xr-x  11 root  daemon  1024 Jul 25 08:39 run/
>> drwxr-xr-x  10 www   www 2048 Jul  9 10:31 tmp/
>> drwxr-xr-x   3 root  daemon   512 Jun 24 20:44 usr/
>> drwxr-xr-x   3 root  daemon   512 Jun 24 21:17 var/
>>
>>
>> where is the problem?
>>
>>
>> -- 
>> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "  +=<<<
>> 
>> Stephane HUC as PengouinBSD or CIOTBSD
>> b...@stephane-huc.net
>>
> 
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


FastCGI sent in stderr: "PHP message: PHP Warning: Unknown: Unable to create temporary file, Check permissions in temporary files directory.

2017-07-25 Thread Stephane HUC &quot;PengouinBSD"
Hi all.

I have this error on my,OpenBSD server (6.1) :

FastCGI sent in stderr: "PHP message: PHP Warning:  Unknown: Unable to
create temporary file, Check permissions in temporary files directory.
in Unknown on line 0

I use nginx+php70_fpm !

The php-fpm.conf for the instance:

 file ***
[blog.stephane-huc.net]
prefix = /var/www

user = user_blog
group = www

listen.owner = www
listen.group = www
listen.mode = 0660

listen = run/php-fpm.$pool.sock
listen.allowed_clients = 127.0.0.1

chroot = $prefix
chdir = /

env[HOSTNAME] = $HOSTNAME
;env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /var/www/tmp
env[TMPDIR] = /var/www/tmp
env[TEMP] = /var/www/tmp

php_admin_value[upload_tmp_dir] = /tmp
php_admin_value[upload_max_filesize] = 8M
*** EOF ***

Rights on /var/www/tmp:

$ ls -al /var/www/


total 68
drwxr-xr-x  17 root  daemon   512 Jul  5 04:59 ./
drwxr-xr-x  25 root  wheel512 Jul  5 19:50 ../
drwxr-xr-x  10 www   daemon   512 Jul  9 10:31 .ht/
drwxr-xr-x  11 root  daemon   512 Jul  9 10:31 acme/
drwxr-xr-x   2 root  daemon   512 Jun 25 13:51 bin/
drwx-T  16 www   daemon   512 Jul  9 10:31 cache/
drwxr-xr-x   2 root  daemon   512 Apr  1 21:38 cgi-bin/
drwxr-xr-x  10 root  daemon   512 Jul  9 10:31 conf/
drwxr-xr-x   3 root  daemon   512 Jun 25 13:48 etc/
drwxr-xr-x  12 root  daemon   512 Jul  9 10:29 htdocs/
drwxr-xr-x   2 root  daemon   512 Jun 24 22:59 html/
drwxr-xr-x  11 root  daemon  1024 Jul 23 00:00 logs/
drwxr-xr-x   2 root  daemon   512 Jun 28 18:11 modules/
drwxr-xr-x  11 root  daemon  1024 Jul 25 08:39 run/
drwxr-xr-x  10 www   www 2048 Jul  9 10:31 tmp/
drwxr-xr-x   3 root  daemon   512 Jun 24 20:44 usr/
drwxr-xr-x   3 root  daemon   512 Jun 24 21:17 var/


where is the problem?


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Using signify into shell script

2017-07-15 Thread Stephane HUC &quot;PengouinBSD"


Le 07/15/17 à 14:30, Stuart Henderson a écrit :
> On 2017-07-15, Stephane HUC "PengouinBSD" <b...@stephane-huc.net> wrote:
>> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
>> --96VlOUuKePF5djM1twvqfOX9BiuExBLDd
>> From: "Stephane HUC \"PengouinBSD\"" <b...@stephane-huc.net>
>> Reply-To: b...@stephane-huc.net
>> To: misc@openbsd.org
>> Message-ID: <bb0f15c9-8fb1-c94d-e757-05b48db30...@stephane-huc.net>
>> Subject: Using signify into shell script
>> Content-Type: text/plain; charset=utf-8
>> Content-Transfer-Encoding: quoted-printable
>> Content-Language: fr-xx-classique+reforme1990
>>
>> Hi, all.
>>
>> I  use signify tool on few projects, into ksh script.
>>
>> When i use as:
>>
>> signify -S -s "${dir_sec_key_signify}" -m "ProjectName.sha512" -e -x
>> "ProjectName.sha512.sig"
>>
>> the invite ask the passphrase. normal!
>>
>> If i use cron task, how can i inject passphrase for signify?
> 
> Is there any advantage to doing that - wouldn't it be equally safe
> to just use a key with no passphrase?
> 
> 

Because:

$ signify -G -p Test.pub -s Test.sec
passphrase:
signify: please provide a password
$ ls -al | egrep Test
$

If not entry password, key files are not created!


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Using signify into shell script

2017-07-15 Thread Stephane HUC &quot;PengouinBSD"
Hi, all.

I  use signify tool on few projects, into ksh script.

When i use as:

signify -S -s "${dir_sec_key_signify}" -m "ProjectName.sha512" -e -x
"ProjectName.sha512.sig"

the invite ask the passphrase. normal!

If i use cron task, how can i inject passphrase for signify?



-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: [OpenBSD 6.1] acme-client + nginx

2017-07-06 Thread Stephane HUC &quot;PengouinBSD"


Le 07/06/17 à 12:03, Stuart Henderson a écrit :
(...)
> 
> /usr/local/www seems unlikely on OpenBSD.
> 
> I just have
> 
> location /.well-known/acme-challenge { root /var/www/letsencrypt/; }
> 
> and
> 
> challengedir "/var/www/letsencrypt/.well-known/acme-challenge"
>  
> but there are several ways you can configure this. (e.g. you might want
> to use a different directory layout if you have anything else that uses
> the RFC5785 .well-known URIs). It doesn't matter what you use as long as
> letsencrypt can fetch the file that acme-client wrote.
> 
> 

OK, it's run correctly as you wrote.

I changed nginx:

location ^~ /.well-known/acme-challenge {
allow all;
#default_type "text/plain";
root /var/www/acme/test.obsd4a.net/;
}

I changed acme-client.conf:

challengedir "/var/www/acme/test.obsd4a.net/.well-known/acme-challenge"

And, the result is:

$ doas acme-client -vAD test.obsd4a.net
acme-client: /etc/ssl/acme/private/test.obsd4a.net-privkey.pem: domain
key exists (not creating)
acme-client: /etc/acme/letsencrypt-privkey.pem: account key exists (not
creating)
acme-client: https://acme-v01.api.letsencrypt.org/directory: directories
acme-client: acme-v01.api.letsencrypt.org: DNS: 184.87.72.109
acme-client: https://acme-v01.api.letsencrypt.org/acme/new-authz:
req-auth: test.obsd4a.net
acme-client:
/var/www/acme/test.obsd4a.net/.well-known/acme-challenge/cugIljWXyalHSHnsOa51W4BoBEW5n0_JctHP8Y59l8U:
created
acme-client:
https://acme-v01.api.letsencrypt.org/acme/challenge/_8nN0V__nplwfEcqpwa698yd4bKBywHRWrOj8Hl33I8/1489582140:
challenge
acme-client:
https://acme-v01.api.letsencrypt.org/acme/challenge/_8nN0V__nplwfEcqpwa698yd4bKBywHRWrOj8Hl33I8/1489582140:
status
acme-client: https://acme-v01.api.letsencrypt.org/acme/new-cert: certificate
acme-client: http://cert.int-x3.letsencrypt.org/: full chain
acme-client: cert.int-x3.letsencrypt.org: DNS: 88.221.234.34
acme-client: /etc/ssl/acme//test.obsd4a.net-chain.pem: created
acme-client: /etc/ssl/acme/test.obsd4a.net-cert.pem: created
acme-client: /etc/ssl/acme//test.obsd4a.net-fullchain.pem: created

Thank you! :D


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


[OpenBSD 6.1] acme-client + nginx

2017-07-06 Thread Stephane HUC &quot;PengouinBSD"
Hi, I attempt to use acme-client on server OpenBSD 6.1, with nginx runing.

But it fail with a bad response.


doas acme-client -vAD test.obsd4a.net
acme-client: /etc/ssl/acme/private/test.obsd4a.net-privkey.pem: domain
key exists (not creating)
acme-client: /etc/acme/letsencrypt-privkey.pem: account key exists (not
creating)
acme-client: https://acme-v01.api.letsencrypt.org/directory: directories
acme-client: acme-v01.api.letsencrypt.org: DNS: 23.206.21.80
acme-client: https://acme-v01.api.letsencrypt.org/acme/new-authz:
req-auth: test.obsd4a.net
acme-client:
/var/www/htdocs/test.obsd4a.net/www/L-pjGy6umVejj6q78_P_gW7rbhyJrV0AuLhjfsqI3aU:
created
acme-client:
https://acme-v01.api.letsencrypt.org/acme/challenge/hf0gCJFBvVlSBRp877_PVmTYLGNYmZDXC9eH2E_I0GE/1485696367:
challenge
acme-client:
https://acme-v01.api.letsencrypt.org/acme/challenge/hf0gCJFBvVlSBRp877_PVmTYLGNYmZDXC9eH2E_I0GE/1485696367:
status
acme-client:
https://acme-v01.api.letsencrypt.org/acme/challenge/hf0gCJFBvVlSBRp877_PVmTYLGNYmZDXC9eH2E_I0GE/1485696367:
bad response
acme-client: transfer buffer: [{ "type": "http-01", "status": "invalid",
"error": { "type": "urn:acme:error:unauthorized", "detail": "Invalid
response from
http://test.obsd4a.net/.well-known/acme-challenge/L-pjGy6umVejj6q78_P_gW7rbhyJrV0AuLhjfsqI3aU:
\"\u003chtml\u003e\r\n\u003chead\u003e\u003ctitle\u003e404 Not
Found\u003c/title\u003e\u003c/head\u003e\r\n\u003cbody
bgcolor=\"white\"\u003e\r\n\u003ccenter\u003e\u003ch1\u003e404 Not
Found\u003c/h1\u003e\u003c/center\u003e\r\n\u003chr\u003e\u003ccenter\u003e\"",
"status": 403 }, "uri":
"https://acme-v01.api.letsencrypt.org/acme/challenge/hf0gCJFBvVlSBRp877_PVmTYLGNYmZDXC9eH2E_I0GE/1485696367;,
"token": "L-pjGy6umVejj6q78_P_gW7rbhyJrV0AuLhjfsqI3aU",
"keyAuthorization":
"L-pjGy6umVejj6q78_P_gW7rbhyJrV0AuLhjfsqI3aU.btIkQ8owertOE1LvXr1mezl9i5h6KptZrzIehfgwdcg",
"validationRecord": [ { "url":
"http://test.obsd4a.net/.well-known/acme-challenge/L-pjGy6umVejj6q78_P_gW7rbhyJrV0AuLhjfsqI3aU;,
"hostname": "test.obsd4a.net", "port": "80", "addressesResolved": [
"213.246.39.160" ], "addressUsed": "213.246.39.160", "addressesTried":
[] } ] }] (1149 bytes)
acme-client: bad exit: netproc(32816): 1


I try with this nginx config:

location ^~ /.well-known/acme-challenge {
#alias /var/www/acme;
#try_files $uri =404;
allow all;
default_type "text/plain";
proxy_redirect off;
root /var/www/acme;
}

or this:

location ^~ /.well-known/acme-challenge {
   alias /usr/local/www/acme;
  try_files $uri =404;
}

But, same result, bad status.



FIY, i can obtain certs - in mode test - with cerbot ;)
(and first setting location).


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Can't fuseFs as user: Operation not permitted

2017-06-21 Thread Stephane HUC &quot;PengouinBSD"


Le 06/21/17 à 16:24, Stefan Sperling a écrit :
> On Wed, Jun 21, 2017 at 04:09:54PM +0200, Stephane HUC "PengouinBSD" wrote:
>>>> On OpenBSD v6.1, i attempt to use fuse, by sshfs or encfs.
>>>>
>>>> But fuse reply by: 'fuse_mount on /home/my_user: Operation not permitted'
>>> You need to use doas. The usermount feature was removed.
>> I know about usermount;)
>>
>> Ok to mount with doas,
> Good.
>
>> but files permissions are only root, not user :(
> That sounds like a separate issue.
>
> It sounds like sshfs maps files to root, however you want it to
> map files to my_user instead?
>
> sshfs has several options which control user ID mapping.
>
> For encfs, the permissions depend on the underlying filesystem.
> What is the underlying filesystem?
>
> If it's FFS or ext2, just fix permissions with chown/chmod.
>
> If it is MSDOS, you can map permissions to a specific user with
> the -u option of mount_msdos(8), or by making sure the directory
> you're mounting at is owned by my_user.

Ok, FS is 4.2BSD :p

I fix my user permissions (chown -R my_user:my_user ...), umount,
remount encfs: it's ok!

Egual, no problem with sshfs.

Thank you. :D

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net




signature.asc
Description: OpenPGP digital signature


Re: Can't fuseFs as user: Operation not permitted

2017-06-21 Thread Stephane HUC &quot;PengouinBSD"


Le 06/21/17 à 15:57, Stefan Sperling a écrit :
> On Wed, Jun 21, 2017 at 03:51:45PM +0200, Stephane HUC "PengouinBSD" wrote:
>> Hi, all.
>>
>> On OpenBSD v6.1, i attempt to use fuse, by sshfs or encfs.
>>
>> But fuse reply by: 'fuse_mount on /home/my_user: Operation not permitted'
>>
>> => My user is onto wheel group.
>>
>> $ getent group wheel
>> wheel:*:0:root,my_user
>>
>> => And i chmoded 0660 on /dev/fuse0
>>
>> $ ls -al /dev/fuse0
>> crw-rw  1 root  wheel   92,   0 Apr 14 13:00 /dev/fuse0
>>
>> Egual, i've tried with chmod 664, 666; same bad result!
>>
>> How i use it, without rights admin?
> 
> You need to use doas. The usermount feature was removed.
> 

I know about usermount;)

Ok to mount with doas, but files permissions are only root, not user :(


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Can't fuseFs as user: Operation not permitted

2017-06-21 Thread Stephane HUC &quot;PengouinBSD"
Hi, all.

On OpenBSD v6.1, i attempt to use fuse, by sshfs or encfs.

But fuse reply by: 'fuse_mount on /home/my_user: Operation not permitted'

=> My user is onto wheel group.

$ getent group wheel
wheel:*:0:root,my_user

=> And i chmoded 0660 on /dev/fuse0

$ ls -al /dev/fuse0
crw-rw  1 root  wheel   92,   0 Apr 14 13:00 /dev/fuse0

Egual, i've tried with chmod 664, 666; same bad result!

How i use it, without rights admin?


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: Can I use OpenBSD as a desktop system?

2017-06-10 Thread Stephane HUC &quot;PengouinBSD"
Yes, u can!
And you can read the FAQ about X Window System:
https://www.openbsd.org/faq/faq11.html

;)

In fact, i use on Dell AlienWare AW13 :p

Le 06/09/17 à 21:39, SOUL_OF_ROOT 55 a écrit :
> Can I use OpenBSD as a desktop system?
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


EBNH's Artwork

2017-06-07 Thread Stephane HUC &quot;PengouinBSD"
Hi, all.

Just to share artworks of my alter-ego EsteBaN Hache:

- wallpapers
- firefox's themes
- others?

https://obsd4a.net/qa/viewtopic.php?pid=1037#p1037


-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<
----
Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature


Re: 6.1 syspatch installed SP kernel on MP system

2017-05-02 Thread Stephane HUC &quot;PengouinBSD"
Hi,

Please reboot your machine, and at the prompt bsd>,
specify 'boot bsd.mp' ...

As you see, with my station:
$ uname -a
OpenBSD *** 6.1 GENERIC.MP#2 amd64

;)


Le 05/03/17 à 03:00, Aaron Riekenberg a écrit :
> Have a 6.1 amd64 MP system running the generic MP kernel from the
> installation.  MP was automatically chosen by the installer - this is an
> Intel Atom 330 dual core box.
> 
> Ran syspatch today which installed 4 new patches:
> 
> $ syspatch -l
> 001_dhcpd
> 002_vmmfpu
> 003_libressl
> 004_softraid_concat
> 
> 
> One issue is, after installing patches with syspatch and rebooting I'm now
> running the SP kernel instead of MP:
> 
> $ uname -a
> OpenBSD server.localdomain 6.1 GENERIC#4 amd64
> 
> $ sysctl hw.ncpu
> hw.ncpu=1
> 
> 
> After the default installation - hw.ncpu was 2 and I was running the MP
> kernel.
> 
> Looking at rollback files in /var/syspatch (see below), it looks like 2
> patches updated the kernel - 002_vmmfpu and 004_softraid_concat.
> Interestingly 002_vmmfpu only seems to have updated /bsd (not /bsd.mp), but
> 004_softraid_concat updated both.
> 
> So I *think* if I moved /bsd.mp to /bsd manually I would have a fully
> patched MP kernel - since presumably the 004 kernel includes the 002
> patch.  Have not tried this yet.
> 
> This manual step seems like a bug.  Would imagine more people have MP
> machines than SP these days.
> 
> /var/syspatch$ tar ztvf ./61-002_vmmfpu/rollback.tgz
> -rw-r--r--  1 root wheel 10751939 Apr 22 05:26 ./bsd
> -r--r--r--  1 root bin   7321 Sep  4  2016
> ./usr/include/amd64/cpufunc.h
> -r--r--r--  1 root bin   1832 Mar 26  2015
> ./usr/include/amd64/fpu.h
> -r--r--r--  1 root bin  20593 Mar 23 12:58
> ./usr/include/amd64/vmmvar.h
> -r--r--r--  1 root bin   7321 Sep  4  2016
> ./usr/include/machine/cpufunc.h
> -r--r--r--  1 root bin   1832 Mar 26  2015
> ./usr/include/machine/fpu.h
> -r--r--r--  1 root bin  20593 Mar 23 12:58
> ./usr/include/machine/vmmvar.h
> 
> /var/syspatch$ tar ztvf ./61-004_softraid_concat/rollback.tgz
> -rw-r--r--  1 root wheel 10684150 May  2 19:34 ./bsd
> -rw-r--r--  1 root wheel 10756231 May  2 19:34 ./bsd.mp
> 
> $ ls -latrh /bsd*
> -rw-r--r--  1 root  wheel  10.2M Apr 22 05:26 /bsd.sp
> -rw-r--r--  1 root  wheel   9.0M Apr 22 05:26 /bsd.rd
> -rw-r--r--  1 root  wheel  10.2M May  2 19:35 /bsd
> -rw-r--r--  1 root  wheel  10.3M May  2 19:35 /bsd.mp
> 

-- 
~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD " +=<<<

Stephane HUC as PengouinBSD or CIOTBSD
b...@stephane-huc.net



signature.asc
Description: OpenPGP digital signature