Re: Segmentation fault in ncurses

2017-05-07 Thread Otto Moerbeek
On Sat, May 06, 2017 at 09:45:22PM +0200, Carsten Kunze wrote: > Hello, > > I am not on this mailing list and I am not able to debug the following issue. > It is just for information since a segmentation fault may be an issue on a > OpenBSD base system library. The system I am using is very o

Re: Difficulties with the sh manual page

2017-05-25 Thread Otto Moerbeek
On Wed, May 24, 2017 at 04:27:06PM -0400, Choose a display name wrote: > I don't quite understand the description of the PPID in the sh manual. > > >PPID The shell's parent process ID. Subshells have the same > > PPID as the parent of the current shell. > > PPID is the shell's parent's pid, okay

Re: Difficulties with the sh manual page

2017-05-25 Thread Otto Moerbeek
On Thu, May 25, 2017 at 09:03:43AM +0200, Otto Moerbeek wrote: > On Wed, May 24, 2017 at 04:27:06PM -0400, Choose a display name wrote: > > > I don't quite understand the description of the PPID in the sh manual. > > > > >PPID The shell's parent process ID.

Re: Difficulties with the sh manual page

2017-05-25 Thread Otto Moerbeek
On Thu, May 25, 2017 at 09:47:08AM +0200, Theo Buehler wrote: > On Thu, May 25, 2017 at 09:03:43AM +0200, Otto Moerbeek wrote: > > On Wed, May 24, 2017 at 04:27:06PM -0400, Choose a display name wrote: > > > > > I don't quite understand the description

Re: /etc/mygate equivalent for IPv6?

2017-06-06 Thread Otto Moerbeek
On Tue, Jun 06, 2017 at 03:53:10PM -0400, mabi wrote: > Fantastic, that was an easy one. Somehow I missed that from the OpenBSD FAQ, > must have skimmed it too fast... > > So I guess here that I can have my IPv4 default gw and IPv6 default gw both > on two different lines in the /etc/mygate fil

Re: Files corrupted by one byte when downloading from my HTTPD server, any idea?

2017-06-07 Thread Otto Moerbeek
On Wed, Jun 07, 2017 at 06:10:43AM -0400, tec...@protonmail.com wrote: > Hello, > > I am using 6.1 Release - all patched, including packages with mtier. > > I'm running a PHP56 web server, I am initiating automatic downloads using > headers but whenever I download an image it cant be opened bec

Re: OpenBSD NFS: Windows 10 writes wrong uid

2017-06-12 Thread Otto Moerbeek
On Tue, Jun 13, 2017 at 01:24:19AM -0400, Rupert Gallagher wrote: > If a non-root user can delete a root owned file with read-only permissions, > then there is a security problem. Good luck to you if you are thinking > otherwise. This is not how unix permissions work. The directory permissions

Re: Doubts about the successors of OpenBSD leadership and development

2017-07-10 Thread Otto Moerbeek
On Tue, Jul 11, 2017 at 06:54:32AM +0200, Michele Curti wrote: > On Mon, Jul 10, 2017 at 11:16:36PM +0200, Stefan Sperling wrote: > > On Mon, Jul 10, 2017 at 06:04:53PM -0300, SOUL_OF_ROOT 55 wrote: > > > Who will succeed Theo de Raadt in the leadership and development of > > > OpenBSD? > > > >

Re: SSH: lost connection after restarting pf. [SOLVED]

2017-08-18 Thread Otto Moerbeek
On Sat, Aug 12, 2017 at 02:40:41PM +0200, Walter Alejandro Iglesias wrote: > In article <20170812123632.p7zgt2l4kz43y...@symphytum.spacehopper.org> you > wrote: > > On 2017/08/12 14:33, Walter Alejandro Iglesias wrote: > > > In article <5127ac707aa6f...@server.roquesor.com> you wrote: > > > > Hi

Re: How do you deal with many disks?

2017-09-01 Thread Otto Moerbeek
On Fri, Sep 01, 2017 at 11:46:05PM +0200, Paul de Weerd wrote: > I make extensive use of softraid crypto on two internal and a bunch of > external disks. This results in up to 32 sd(4) devices attaching to > my machine. However, by default MAKEDEV only creates 10 sd device > nodes in /dev. > >

Re: i386 or amd64 from small Cloud instance ?

2017-09-14 Thread Otto Moerbeek
On Thu, Sep 14, 2017 at 07:24:32PM +0200, Michael Hekeler wrote: > > The difference in RAM usage on boot is something around a dozen > > megabytes. You won't notice this. > > I think so, too > > > > The only good reason to run i386 is if your system doesn't support > > amd64. > > ++ Important

Re: requesting help

2017-09-20 Thread Otto Moerbeek
On Thu, Sep 21, 2017 at 02:18:30AM +, Jules Gilbert wrote: > Can someone at OpenBSD help?? > > I recently switched over from FreeBSD to OpenBSD, I needed the bump up in > security. > Anyway, the dlfunc routine seems not to work in OpenBSD.  You know, this is > part of the dynamic library st

Re: du algorithm to calculate diskspace

2017-10-02 Thread Otto Moerbeek
On Mon, Oct 02, 2017 at 12:11:21PM +0200, Peter Hessler wrote: > hardlinks will not duplicate disk space. > > scp doesn't understand hardlinks. > > > On 2017 Oct 02 (Mon) at 12:08:28 +0200 (+0200), rosjat wrote: > :hi there, > : > :I just noticed, while copying stuf from a very old OpenBSD 4.2

Re: Resize partitions?

2017-10-03 Thread Otto Moerbeek
On Tue, Oct 03, 2017 at 04:10:11PM +0200, Niels Kobschaetzki wrote: > On 17/10/03 13:48, Niels Kobschaetzki wrote: > > Hi, > > > > I am running currently constantly into the problem that I do not have > > enough space left for installing packages and today even upgrading a > > snapshot failed b

Re: NFS keeps crashing

2018-04-21 Thread Otto Moerbeek
On Sat, Apr 21, 2018 at 10:09:38AM +0100, Stuart Henderson wrote: > > On Sat, Apr 21, 2018, 1:24 AM Rupert Gallagher wrote: > > > > > This is what I observed on a controlled environment of three "windows 10 > > > pro" 1709 clients. > > > > > > The obsd nfs server had a single share: > > > > > >

Re: NFS keeps crashing

2018-04-21 Thread Otto Moerbeek
On Sat, Apr 21, 2018 at 07:20:18PM -0400, Rupert Gallagher wrote: > On Sat, Apr 21, 2018 at 19:58, Otto Moerbeek wrote: > > > What do you mean by "the server crashes"? Does the complete OS freeze? Or > > is the OS still working apart from NFS? Did one of te NF

Re: NFS keeps crashing

2018-04-21 Thread Otto Moerbeek
On Sat, Apr 21, 2018 at 07:33:06PM -0400, Rupert Gallagher wrote: > On Sat, Apr 21, 2018 at 17:38, IL Ka wrote: > > > I belive NFS is rarely used nowadays, especially with Windows clients. > > People use samba/smb to connect *nix to Windows in most cases. Samba should > > be pretty stable beca

Re: crash of OpenBSD 6.3 -stable (amd64 MP kernel) - unswapping kills connections

2018-04-27 Thread Otto Moerbeek
On Thu, Apr 26, 2018 at 11:21:57PM +0200, Infoomatic wrote: > Hi Stuart, > thanks for your input! Actually, I was never really satisfied with > the stability of ntopng, so this problem of the memory leak does not > really surprise me. However, when killing the process, which also > means freeing

Re: netstat: IPv6 addresses are cut off

2018-05-14 Thread Otto Moerbeek
On Mon, May 14, 2018 at 11:56:48AM +0200, Harald Dunkel wrote: > Hi folks, > > netstat cuts off the IPv6 addresses. Sample: > > # netstat -f inet6 -ln | cat > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address(state) > tcp6

Re: Is -current snapshot only used in current system?

2018-05-16 Thread Otto Moerbeek
On Wed, May 16, 2018 at 04:51:24PM +0800, Nan Xiao wrote: > Hi misc@, > > Greeting from me! > > Maybe a dumb question here. I want to use -current snapshot, and > my current OBSD is 6.3. So I download the newest -current bsd.rd, > and use it to upgrade. It prompts me the upgrade is success, but

Re: HPPA 720/60 and PS/2 Keyboard

2018-05-21 Thread Otto Moerbeek
On Mon, May 21, 2018 at 12:29:13PM +0200, Markus Hennecke wrote: > I tried updating my HPPA box from 6.2 to 6.3, but when booting the release > or -current bsd.rd kernel the keyboard repeats the last key pressed. The > 6.2 release did not show this behaviour. Is there anyone out there running >

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Otto Moerbeek
On Thu, Jun 21, 2018 at 07:38:49AM +0200, Daniel Hartmeier wrote: > On Thu, Jun 21, 2018 at 12:11:52AM +0200, Maximilian Pichler wrote: > > > I'm just wondering what these other utilities might be. > > hexdump -v -n 1234567 -e '"%c"' > > If the input doesn't contain backslashes (or something el

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Otto Moerbeek
On Thu, Jun 21, 2018 at 03:08:10PM +0200, Jan Stary wrote: > On Jun 20 17:32:51, maxim.pich...@gmail.com wrote: > > dd bs=1 count=1234567 will copy 1234567 bytes and then stop, but it's slow. > > $ dd bs=1 count=1234567 < /dev/zero > /dev/null > 1234567+0 records in > 1234567+0 records out > 1234

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Otto Moerbeek
On Thu, Jun 21, 2018 at 08:06:46PM +0200, Vincent Legoll wrote: > Hello, > > The man page did not say bs has to be a power of 2. > > On a very old macppc openbsd box: > > vince@mini:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin > 1+0 records in > 1+0 records out > 123456789 bytes transferre

Re: "Cannot allocate memory" error when memory is enough

2018-07-07 Thread Otto Moerbeek
On Sat, Jul 07, 2018 at 03:52:44PM +0100, Tom Smyth wrote: > Hello Nan, > you need to set the PKG_path as Stuart suggested to install packages using > > pkg_add command > > for example to use fastly cdn mirror you would set your pkg_path variable as > shown below > > export PKG_PATH=https://fa

Re: Not able to boot from softraid :(

2018-07-24 Thread Otto Moerbeek
On Tue, Jul 24, 2018 at 02:07:15PM +0300, kasak wrote: > > > 24.07.2018 10:24, kasak пишет: > > Hello everybody. > > > > I'm trying to install OpenBSD 6.3 on softraid. > > > > My configuration is simple: > > > > Asus z170-k motherboard, with i7-6700 cpu, and 16 gb ram. no external > > vga or

Re: Not able to boot from softraid :(

2018-07-24 Thread Otto Moerbeek
On Tue, Jul 24, 2018 at 03:13:10PM +0300, kasak wrote: > > > 24.07.2018 14:30, kasak пишет: > > > > > > 24.07.2018 14:18, Otto Moerbeek пишет: > > > On Tue, Jul 24, 2018 at 02:07:15PM +0300, kasak wrote: > > > > > > > > &g

Re: want.html: Unifi wifi gear for interop debugging

2018-10-06 Thread Otto Moerbeek
On Sat, Oct 06, 2018 at 09:52:18AM +, Tim Jones wrote: > ‐‐‐ Original Message ‐‐‐ > On Saturday, October 6, 2018 9:21 AM, Marcus MERIGHI > wrote: > > > Dear all, > > > > not everyone is reading want.html every day, therefore I wanted to hint > > at: https://www.openbsd.org/want.html

Re: want.html: Unifi wifi gear for interop debugging

2018-10-06 Thread Otto Moerbeek
Tim Jones schreef op 6 oktober 2018 13:12:19 CEST: >> That's the nature of a donation: it comes with >> no strings attached for the party receiving. > >Evidently you have not heard of restricted funds. > >If a donor gives on a restricted funds basis (happens all the time), >then its black and

Re: ksh equivalent to shell-expand-line

2018-10-07 Thread Otto Moerbeek
On Sun, Oct 07, 2018 at 08:48:52AM +0200, Tomasz Rola wrote: > On Sun, Oct 07, 2018 at 12:03:31AM +0200, Klemens Nanni wrote: > > On Sat, Oct 06, 2018 at 09:38:42PM +0200, John Ankarström wrote: > [...] > > And yet, it disregards quoting and will errornously expand the following > > example into m

Re: Clarification about mfs/tmpfs on /tmp

2018-10-10 Thread Otto Moerbeek
On Wed, Oct 10, 2018 at 12:59:27PM +0200, Eivind Eide wrote: > I was not able to get correct permissions on my mfs /tmp until I put > the following in /etc/rc.securelevel, which solved the problem. > /bin/chmod 1777 /tmp That is not the right solution. The right one is to unmount /tmp (boot to si

Re: Dell PowerEdge R410 not booting 6.4

2018-10-26 Thread Otto Moerbeek
On Fri, Oct 26, 2018 at 07:57:50AM +, Stuart Henderson wrote: > Using one big "a" partition means: > > - higher risk of filesystem damage to system partitions after an > unsafe restart (crash, power failure): if a partition isn't actively > written to, it's less likely to suffer damage > > -

malloc.conf heads up

2018-11-06 Thread Otto Moerbeek
Hi, We are moving away from the /etc/malloc.conf symbolic link to a new sysctl: $ sysctl vm.malloc_conf vm.malloc_conf=C This will allow unveiled and chrooted processes to access the malloc options without having to do anything special in the code or chroot dir. A

Re: malloc.conf heads up

2018-11-06 Thread Otto Moerbeek
On Wed, Nov 07, 2018 at 07:26:21AM +0100, Otto Moerbeek wrote: > Hi, > > We are moving away from the /etc/malloc.conf symbolic link to a new sysctl: > > $ sysctl vm.malloc_conf > vm.malloc_conf=C > > This will allow unveiled and chrooted

Re: mail doesn't read mail from /var/mail/root

2018-11-08 Thread Otto Moerbeek
On Thu, Nov 08, 2018 at 07:18:57AM -0800, ivp...@eml.cc wrote: > I also tested on 6.4-release, and can confirm the same behavior. Is you MAIL environment var set? -Otto > > On Thu, Nov 8, 2018, at 7:13 AM, ivp...@eml.cc wrote: > > On Thu, Nov 8, 2018, at 6:03 AM, TronDD wrote: > > > O

Re: daily cron not starting

2018-11-12 Thread Otto Moerbeek
On Tue, Nov 13, 2018 at 06:35:11AM +0100, Tony Boston wrote: > Hi misc@, > > the daily cron is not running anymore although I can execute '/bin/sh > /etc/daily' by hand just fine. I don't see anything in the logs and I > don't have any clue what else to check. > Do you guys have any idea? Check

Re: Possible Typo in ntpctl(8)

2018-11-13 Thread Otto Moerbeek
On Tue, Nov 13, 2018 at 01:51:58PM +0100, r...@tutanota.com wrote: > Skimming through ntpctl(8), I noticed that among the options (peers | Sensors > | status), only "Sensors" is capitalized. Is this intentional, or in fact a > typo? The word is never capitalized in ntpd(8), nor in ntpd.conf(5).

Re: Changing kern.nprocs and kern.nfiles

2018-11-16 Thread Otto Moerbeek
On Fri, Nov 16, 2018 at 10:55:23AM +0100, Martijn van Duren wrote: > On 11/16/18 10:24 AM, Mik J wrote: > > Hello, > > > > Does anyone know how to change these values ? > > > > # sysctl kern.nprocs=52 > > sysctl: kern.nprocs: Operation not permitted > > # sysctl kern.nfiles=575 > > sysctl: kern.

Re: Changing kern.nprocs and kern.nfiles

2018-11-16 Thread Otto Moerbeek
On Fri, Nov 16, 2018 at 10:46:12AM +, Mik J wrote: > Hello, > Thank you to both of you. > I had already changed openfiles-max=65536 in login.conf and > kern.maxproc=16384 in sysctl.conf. > Have a nice day But why? -Otto > > Le vendredi 16 novembre 2018 à

Re: Missing LVM (Logical Volume Manager)

2018-11-17 Thread Otto Moerbeek
On Sat, Nov 17, 2018 at 01:35:05AM +0100, Willi Rauffer wrote: > Hello, > > we want to make one logical volume out of several physical volumes, but there > is no LVM (Logical Volume Manager) in OpenBSD! > > Will there be a LVM in OpenBSD in the future? > > Thanks...Willi Rauffer, UNOBank.org

Re: A small newfs puzzle.

2018-11-18 Thread Otto Moerbeek
On Sat, Nov 17, 2018 at 07:55:33PM -0500, R. Clayton wrote: > I'm on this > > # uname -a > OpenBSD AngkorWat.rclayton.net 6.4 GENERIC.MP#364 amd64 > > # > > and I'm trying to write some file systems on this > > # disklabel -p g sd1 > # /dev/rsd1c: > type: SCSI > disk: SCSI disk

Re: A small newfs puzzle.

2018-11-18 Thread Otto Moerbeek
On Sun, Nov 18, 2018 at 09:37:53AM +0100, Otto Moerbeek wrote: > On Sat, Nov 17, 2018 at 07:55:33PM -0500, R. Clayton wrote: > > > I'm on this > > > > # uname -a > > OpenBSD AngkorWat.rclayton.net 6.4 GENERIC.MP#364 amd64 > > > > # > &

Re: current snapshot breaks ports? (strange libc versioning)

2018-11-22 Thread Otto Moerbeek
On Thu, Nov 22, 2018 at 10:24:02AM +0100, Karel Gardas wrote: > > Hello, > > in an attempt to update today from ftp.spline.de I've been kicked out > after -current update with pkg_add -u complaining about wrong libc > versions. Packages complains like: > > Can't install png-1.6.35 because of li

Re: heads up: amd64 snap

2020-03-09 Thread Otto Moerbeek
On Mon, Mar 09, 2020 at 03:56:53PM +, Anthony Campbell wrote: > On 07 Mar 2020, Amit Kulkarni wrote: > [snip] > > > > > will do as you suggest. > > > > Thanks > > > > > > This discussion is very interesting. The same thing happened to me > on 6 March, when after completing the upgrade m

Re: nmea0 huge timedelta while system clock is in sync

2020-03-22 Thread Otto Moerbeek
On Sun, Mar 22, 2020 at 12:19:39PM +, Martin wrote: > hw.sensors.nmea0.indicator0=On (Signal), OK > hw.sensors.nmea0.timedelta0=619313970.981246 secs (GPS autonomous), OK, Sun > Mar 22 12:47:08.981 >^^ > hw.sensors.nmea0.angle0=10.0 degrees (Latitude), OK > hw.sensors.nmea

Re: nmea0 huge timedelta while system clock is in sync

2020-03-22 Thread Otto Moerbeek
skew appeared. Just system clock was changed > significantly to incorrect value. Now ntpd.conf set to NTP pool, but hope I > can fix radioclocks. > > Martin > > ‐‐‐ Original Message ‐‐‐ > On Sunday, March 22, 2020 12:54 PM, Otto Moerbeek wrote: > > > On S

Re: nmea0 huge timedelta while system clock is in sync

2020-03-22 Thread Otto Moerbeek
age is important. But I give up, you are only making things difficult. -Otto > Any way to perform manual 'reset' timedelta to any 'default' value? > > Martin > > ‐‐‐ Original Message ‐‐‐ > On Sunday, March 22, 2020 3:28 PM, Otto Moerbeek wrote: &g

Re: Unusual threading behavior on single processes

2020-03-28 Thread Otto Moerbeek
On Fri, Mar 27, 2020 at 09:03:40PM +, Stefmorino wrote: > I have question about a performance quirk on OpenBSD, but I'm not really sure > how to address it, or what the root cause even is; that being how > multithreaded > applications (libpthread?) behave (notably, games). > > I have tested

Re: Failed to install bootblocks. You will not be able to boot OpenBSD

2020-04-03 Thread Otto Moerbeek
On Fri, Apr 03, 2020 at 07:11:12AM -0700, Justin Noor wrote: > Hello OpenBSD Community, > > Hope you all are staying safe during these crazy times. > > I am looking for any feedback on an installation error that occurred using > the custom-layout partition option across two SSDs. > > ERROR: >

Re: Failed to install bootblocks. You will not be able to boot OpenBSD

2020-04-03 Thread Otto Moerbeek
On Fri, Apr 03, 2020 at 05:03:23PM +0200, Otto Moerbeek wrote: > On Fri, Apr 03, 2020 at 07:11:12AM -0700, Justin Noor wrote: > > > Hello OpenBSD Community, > > > > Hope you all are staying safe during these crazy times. > > > > I am looking for any fe

Re: OpenBSD/sparc64 6.7-beta not working on silver Blade 2500

2020-04-07 Thread Otto Moerbeek
On Tue, Apr 07, 2020 at 06:25:30PM -0600, Theo de Raadt wrote: > Well, that definately looks like the filesystem blowing up. my bet would be a hardware issue. -Otto > > Installing bsd.rd 100% |**| 8560 KB00:00 > Installing base67.tgz66% |**

Re: OpenBSD/sparc64 6.7-beta not working on silver Blade 2500

2020-04-07 Thread Otto Moerbeek
On Wed, Apr 08, 2020 at 01:11:29AM +0200, Sigi Rudzio wrote: > Hello misc@, > > while testing the FFS2 patches by otto@ I noticed that I was unable > to install -current on my silver Blade 2500. > > tar fails while unpacking the sets, although the files are ok, if I rename > base67.tgz to base66

Re: OpenBSD/sparc64 6.7-beta not working on silver Blade 2500

2020-04-09 Thread Otto Moerbeek
On Wed, Apr 08, 2020 at 07:03:29PM +0200, Sigi Rudzio wrote: > Am Mi., 8. Apr. 2020 um 08:37 Uhr schrieb Otto Moerbeek : > > > > On Wed, Apr 08, 2020 at 01:11:29AM +0200, Sigi Rudzio wrote: > > > > > Hello misc@, > > > > > > while testing the F

Re: 6.7-BETA on Thinkpad P1 with two drives : (won't boot)

2020-04-09 Thread Otto Moerbeek
On Thu, Apr 09, 2020 at 11:39:08PM +1200, Derek Sivers wrote: > 6.7-BETA (today's snapshot). > > Lenovo ThinkPad P1 2nd gen with two NVMe inside. > > Windows on /dev/sd1 > Installed OpenBSD on /dev/sd0 (a 1TB Samsung 970 pro) > /dev/sd0 has had FreeBSD and Arch Linux on it successfully. > > Ins

Re: Does Intel driver supports 3d acceleration?

2020-04-11 Thread Otto Moerbeek
On Sat, Apr 11, 2020 at 03:52:34PM +0600, Nikita Stepanov wrote: > Does Intel driver supports 3d acceleration? What prevents you from looking up the man page and reading it? -Otto

Re: openbsd.org down?

2020-04-13 Thread Otto Moerbeek
On Mon, Apr 13, 2020 at 10:13:47AM -0500, Eric Zylstra wrote: > ezylstra ~ % traceroute openbsd.org > traceroute to openbsd.org (129.128.5.194), 64 hops max, 52 byte packets > 1 dslrouter (192.168.0.1) 0.811 ms 0.405 ms 0.295 ms > 2 stpl-dsl-gw13.stpl.qwest.net (207.109.2.13) 10.595 ms 10

Re: S3 Virge support on IBM T23 for 6.6

2020-04-15 Thread Otto Moerbeek
On Wed, Apr 15, 2020 at 04:55:04PM +0200, Paolo Aglialoro wrote: > Hello, > > I read from the 6.5 to 6.6 upgrade guide that the following files: > > > */usr/X11R6/lib/modules/drivers/s3_drv.la > /usr/X11R6/lib/modules/drivers/s3_drv.so > /usr/X11R6/lib/modules/drivers/s3virge

Re: Double fault trap in rtable_l2

2020-04-19 Thread Otto Moerbeek
On Sun, Apr 19, 2020 at 10:26:20AM +0200, Thomas de Grivel wrote: > Hello, > > I got this error last night on an OpenBSD 6.6-stable amd64 on which I > recently enabled IKEv2 : > > > kernel: double fault trap, code=0 > > Stopped atrtable_l2+0x27: callq srp_enter+0x4 > > I'm a bit puzzl

Re: Double fault trap in rtable_l2

2020-04-19 Thread Otto Moerbeek
ext2fs partitions though I don't see how > it could be related ? First retest with a kervel without diffs. If you collect more information you can file a bug report, see http://www.openbsd.org/report.html -Otto > > Le dim. 19 avr. 2020 à 17:30, Otto Moerbeek a écrit :

Re: timegm()

2020-04-21 Thread Otto Moerbeek
On Tue, Apr 21, 2020 at 10:51:54AM +, Roderick wrote: > > Acording to the man page: "timegm() is a deprecated interface that > converts [...]" > > O.K., deprecated. And what is the alternative? > > Thanks for any hint > Rodrigo > The paragraph above it (discussing timelocal()) suggests it

Re: MIdnight Commander won't run

2020-04-21 Thread Otto Moerbeek
On Wed, Apr 22, 2020 at 05:15:30AM +, slackwaree wrote: > That's why you never upgrade ... rather migrate. I still find it hard to > believe that obsd added a tool to upgrade the system. Strange, upgrading saves lots of time and work and works for a tonne of people. I suspect sysclean (a to

Re: _types.h: increase size of size_t

2020-04-24 Thread Otto Moerbeek
On Thu, Apr 23, 2020 at 10:45:38PM -0400, Ian Sutton wrote: > Following the revalations made by a misc@ poster, I am happy to present > the following patch which increases the width of size_t from "long" to > "long long", which is twice the width as before, on all platforms. This > has the effect

Re: /bin/sh echo \n

2020-04-26 Thread Otto Moerbeek
On Sun, Apr 26, 2020 at 12:27:24PM +0200, Thomas de Grivel wrote: > Hello, > > I was testing some scripting using /bin/sh and I could not find this > behaviour in the documentation : > > > $ /bin/sh > > $ echo -n '\n' > > > > $ > > It seems that ksh even in sh (posix ?) mode does expansion of \

Re: /bin/sh echo \n

2020-04-26 Thread Otto Moerbeek
On Sun, Apr 26, 2020 at 01:04:05PM +0200, Otto Moerbeek wrote: > On Sun, Apr 26, 2020 at 12:27:24PM +0200, Thomas de Grivel wrote: > > > Hello, > > > > I was testing some scripting using /bin/sh and I could not find this > > behaviour in the documentation : > &

Re: OpenBSD/sparc64 6.7-beta not working on silver Blade 2500

2020-05-02 Thread Otto Moerbeek
On Thu, Apr 09, 2020 at 12:24:17PM +0200, Otto Moerbeek wrote: > On Wed, Apr 08, 2020 at 07:03:29PM +0200, Sigi Rudzio wrote: > > > Am Mi., 8. Apr. 2020 um 08:37 Uhr schrieb Otto Moerbeek : > > > > > > On Wed, Apr 08, 2020 at 01:11:29AM +0200, Sigi Rudzio w

Re: Convert ffs1 to ffs2?

2020-05-20 Thread Otto Moerbeek
On Wed, May 20, 2020 at 11:30:00AM +0300, Михаил Попов wrote: > > "Possible" is irrelevant. Lots of things are _possible_ but not done. > > Then only rsyncing? > > Why not adding at least one of a well tested journaled FS like XFS to OpenBSD? > Is XFS too fat and complex to be secure? > > Does

Re: Unable to sysupgrade to 6.7!

2020-05-23 Thread Otto Moerbeek
On Sat, May 23, 2020 at 09:33:59AM +0200, Federico Giannici wrote: > I was unable to upgrade my amd64 6.6 workstation to 6.7. > > Here is what happens: https://www.neomedia.it/tmp/67.jpg > > Then system reboot in an infinite loop (finally I changed the boot image to > "bsd" and returned to previ

Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-24 Thread Otto Moerbeek
On Sun, May 24, 2020 at 08:26:43PM +0900, John Mettraux wrote: > On Sun, May 24, 2020 at 5:36 PM Stuart Henderson wrote: > > > > On 2020-05-23, John Mettraux wrote: > > > > > > (...) > > > > > > Hard power down is the only way out, but rebooting still leads > > > immediately to the > > > "entry

Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-24 Thread Otto Moerbeek
On Sun, May 24, 2020 at 09:46:09PM +0900, John Mettraux wrote: > On Sun, May 24, 2020 at 8:38 PM Otto Moerbeek wrote: > > > > On Sun, May 24, 2020 at 08:26:43PM +0900, John Mettraux wrote: > > > > > On Sun, May 24, 2020 at 5:36 PM Stuart Henderson > > &g

Re: Message WARNING: CHECK AND RESET THE DATE! in kvm guests

2020-05-25 Thread Otto Moerbeek
On Mon, May 25, 2020 at 07:53:47AM +, Carlos Lopez wrote: > Hi all, > > After upgrading four kvm guests to OpenBSD 6.7, I see the following messages > when these guests starts: > > WARNING: clock gained 2 days > WARNING: CHECK AND RESET THE DATE! This means the clock compared to the last

Re: 6.7 boot crashes on "entry point at" X1 Carbon gen7 i7-10510U

2020-05-25 Thread Otto Moerbeek
On Mon, May 25, 2020 at 08:29:56AM +0200, Otto Moerbeek wrote: > On Sun, May 24, 2020 at 09:46:09PM +0900, John Mettraux wrote: > > > On Sun, May 24, 2020 at 8:38 PM Otto Moerbeek wrote: > > > > > > On Sun, May 24, 2020 at 08:26:43PM +0900, John Mettraux wrote

Re: Kernel relinking on old boxen at every boot

2020-05-25 Thread Otto Moerbeek
On Mon, May 25, 2020 at 05:35:17PM +0200, ULF wrote: > Hello Devs, > > I followed, some time ago, the proposal of a user who suggested a diff for > an "opt out" of KARL to be placed in /etc/rc.conf.local, proposal which > which wasn't welcomed well. > > While agreeing that on servers and modern

OpenBSD 6.7 and ffs2 FAQs

2020-05-27 Thread Otto Moerbeek
I got some questions on ffs2 in 6.7. This is to set the record straight, feel free to share on forums like reddit that I do not read, let alone post on. 1. Using 6.7, the *installer* defaults to ffs2 for new filesystems for almost all platforms. 2. Using 6.7, a newfs "by hand" still gets you f

Re: OpenBSD 6.7 and ffs2 FAQs

2020-05-27 Thread Otto Moerbeek
On Thu, May 28, 2020 at 07:48:57AM +0200, Matthias wrote: > On a fresh 6.7 installation, mount(8) shows 'type ffs'. Is there any way > to figure out the version number? dumpfs /dev/rsdXY | head -1 -Otto > > > On 2020-05-27 22:54, Otto Moerbeek wrote: > &g

Re: OpenBSD 6.7 and ffs2 FAQs

2020-05-28 Thread Otto Moerbeek
On Wed, May 27, 2020 at 10:54:59PM +0200, Otto Moerbeek wrote: > I got some questions on ffs2 in 6.7. This is to set the record > straight, feel free to share on forums like reddit that I do not read, > let alone post on. > > 1. Using 6.7, the *installer* defaults to ffs2 for new

Re: Message WARNING: CHECK AND RESET THE DATE! in kvm guests

2020-06-02 Thread Otto Moerbeek
0.081ms20.071ms 0.387ms > 162.159.200.1 from pool pool.ntp.org > 1 10 3 11s 30s 1.502ms 2.442ms 0.134ms > 147.156.7.18 from pool pool.ntp.org > 1 10 2 3005s 3154s 1.199ms19.994ms 0.321ms > > On 25/05/2020, 10:20, &qu

Re: Filling a 4TB Disk with Random Data

2020-06-04 Thread Otto Moerbeek
On Thu, Jun 04, 2020 at 08:39:24PM -0700, Justin Noor wrote: > Thanks you @misc. > > Using dd with a large block size will likely be the course of action. > > I really need to refresh my memory on this stuff. This is not something we > do, or need to do, everyday. > > Paul your example shows: >

Re: OpenBSD 6.6/amd64 kernel crash: softdep_deallocate_dependencies: unrecovered I/O error

2020-06-07 Thread Otto Moerbeek
On Sun, Jun 07, 2020 at 02:18:50PM +0200, Antonius Bekasi wrote: > Hi Misc, > > > > This is just a report. My lovely OpenBSD firewall crashed lately too much. So > here kernel debugger output. > > I was using softdep in every partition. Now i removed every softdep from > fstab. I think using

Re: Stuck in Needbuf state, trying to understand (6.7)

2020-06-25 Thread Otto Moerbeek
On Thu, Jun 25, 2020 at 09:51:41PM -0400, sven falempin wrote: > Hello, > > I have a script that mostly untar stuff on a vnd device. > And i have the same problem with syspatch > > The program state gets into needbuf forever, ( the top state ). > > I'm trying to figure out what is happening, >

Re: disklabel: autoalloc failed

2020-06-26 Thread Otto Moerbeek
On Fri, Jun 26, 2020 at 05:53:24PM +, Rupert Gallagher wrote: > Ref. disklabel(8) > > The maximum disk and partition size is 64PB. > > Is that so? Let see... > > OpenBSD 6.7 (GENERIC.MP) #2: Thu Jun  4 09:55:08 MDT 2020 > > $> doas dmesg | grep sd3 > sd3 at scsibus2 targ 2 lun 0: > naa.50

Re: strlcpy version speed tests?

2020-07-04 Thread Otto Moerbeek
On Sat, Jul 04, 2020 at 09:07:35AM -0400, Brian Brombacher wrote: > > >> On Jul 1, 2020, at 1:14 PM, gwes wrote: > >> > >> On 7/1/20 8:05 AM, Luke Small wrote: > >> I spoke to my favorite university computer science professor who said > >> ++n is faster than n++ because the function needs to s

Re: NSD Problems (Reverse Direction)

2020-07-08 Thread Otto Moerbeek
On Thu, Jul 09, 2020 at 01:19:47AM +, ken.hendrick...@l3harris.com wrote: > What am I doing wrong??? I'm using nsd on OpenBSD. > > > > > > nsd works only in the forward direction: from a name to an IP address. > I'm using my named zone files from way back. > nsd-checkzone says that the z

Re: grow a filesystem on a softraid

2020-07-22 Thread Otto Moerbeek
On Wed, Jul 22, 2020 at 02:20:41PM +0200, Leo Unglaub wrote: > Hey, > i have the following setup: I have the drive sd1 with 20GB and on there i > have one partition "a" with the type RAID. On that raid i have used bioctl > to create an encrypted partition. When i decrypt sd1a it becomes sd3 and on

Re: Confused by adjfreq(2)

2020-08-10 Thread Otto Moerbeek
On Sun, Aug 09, 2020 at 09:46:00PM +0100, Julian Smith wrote: > I've just used adjfreq() directly to correct my hardware clock, which > was running an hour ahead of UTC (due to my hardware previously running > Windows). > > But i've struggled to understand the adjfreq(2) man page, so ended up > f

Re: explicit_bzero vs. alternatives

2020-08-10 Thread Otto Moerbeek
On Tue, Aug 11, 2020 at 08:13:24AM +0200, Philipp Klaus Krause wrote: > Am 11.08.20 um 02:52 schrieb Theo de Raadt: > > > > But no, WG14 are the lords and masters in the high castle, and now 6 > > years after the ship sailed something Must Be Done, it must look like > > They Solved The Problem, a

Re: explicit_bzero vs. alternatives

2020-08-10 Thread Otto Moerbeek
On Tue, Aug 11, 2020 at 08:20:32AM +0200, Otto Moerbeek wrote: > On Tue, Aug 11, 2020 at 08:13:24AM +0200, Philipp Klaus Krause wrote: > > > Am 11.08.20 um 02:52 schrieb Theo de Raadt: > > > > > > But no, WG14 are the lords and masters in the high castle, and no

Re: How many IPs can I block before taking a performance hit?

2020-08-12 Thread Otto Moerbeek
On Wed, Aug 12, 2020 at 08:11:14AM -0400, Alan McKay wrote: > Hey folks, > > This is one that is difficult to test in a test environment. > > I've got OpenBSD 6.5 on a relatively new pair of servers each with 8G RAM. > > With some scripting I'm looking at feeding block IPs to the firewalls > to

Re: Confused by adjfreq(2)

2020-08-15 Thread Otto Moerbeek
On Sat, Aug 15, 2020 at 09:10:26AM +0100, Julian Smith wrote: > On Mon, 10 Aug 2020 09:53:10 +0200 > Otto Moerbeek wrote: > > > On Sun, Aug 09, 2020 at 09:46:00PM +0100, Julian Smith wrote: > > > > > I've just used adjfreq() directly to correct my hardwar

Re: Crashing 64bit (AMD) 6.7 kernel on APU2

2020-08-30 Thread Otto Moerbeek
On Sun, Aug 30, 2020 at 03:33:17PM +1000, Damian McGuckin wrote: > > Hi, > > For the first time ever, we have seen a crashing kernel. Having never > experienced this before on any OpenBSD release for over 20 years, I have no > debugging experience. We have simply reverted to 32bit to see it that

Re: Troubleshooting pf congestion

2020-09-14 Thread Otto Moerbeek
On Mon, Sep 14, 2020 at 11:19:46AM -0400, Scott Reese wrote: > Greetings: > > I am troubleshooting an issue: users complaining about network performance. > The firewall > is an OpenBSD 6.7 system with patches applied. I've traced the issue and I'm > seeing the > congestion counter incrementing

Re: Does DNS need TCP?

2020-09-19 Thread Otto Moerbeek
On Sun, Sep 20, 2020 at 12:43:41AM -0400, Predrag Punosevac wrote: > > > Hi Misc, > > I have been a double as a system admin for our small university research > group for a number of years now but every now and then I get reminded of > my own ignorance. One of those moments happened a month and

Re: Does DNS need TCP?

2020-09-20 Thread Otto Moerbeek
On Sun, Sep 20, 2020 at 10:17:47PM -0400, Predrag Punosevac wrote: > Nicolai wrote : > > > On Sun, Sep 20, 2020 at 12:43:41AM -0400, Predrag Punosevac wrote: > > > > > For number of years I had in my /var/unbound/etc/unbound.conf line > > > > > > do-tcp: no > > > > > To make things worse I wa

Re: dump LOB status

2020-09-21 Thread Otto Moerbeek
On Mon, Sep 21, 2020 at 10:23:55PM +0300, Juha Erkkilä wrote: > > > > On 16. Sep 2020, at 20.27, Juha Erkkilä wrote: > > > > > >> On 16. Sep 2020, at 0.18, Kenneth Gober wrote: > >> I took a very quick look at the source and it appears that 213 is shown in > >> octal. I believe that the 200

Re: dump LOB status

2020-09-24 Thread Otto Moerbeek
On Tue, Sep 22, 2020 at 08:37:22PM +0300, Juha Erkkilä wrote: > > > On 22. Sep 2020, at 15.04, Juha Erkkilä wrote: > > > >> On 22. Sep 2020, at 9.00, Otto Moerbeek wrote: > >> Maybe by hand, but not by using patch(1), the context differs a bit. > >>

Re: dump LOB status

2020-09-24 Thread Otto Moerbeek
On Fri, Sep 25, 2020 at 08:42:38AM +0300, Juha Erkkilä wrote: > > > On 24. Sep 2020, at 15.36, Otto Moerbeek wrote: > > > > On Tue, Sep 22, 2020 at 08:37:22PM +0300, Juha Erkkilä wrote: > >> Actually, I tested this again and now it appears > >> dump and

Re: dump LOB status

2020-09-25 Thread Otto Moerbeek
On Fri, Sep 25, 2020 at 07:49:20AM +0200, Otto Moerbeek wrote: > On Fri, Sep 25, 2020 at 08:42:38AM +0300, Juha Erkkilä wrote: > > > > > > On 24. Sep 2020, at 15.36, Otto Moerbeek wrote: > > > > > > On Tue, Sep 22, 2020 at 08:37:22PM +0300, Juha Erkkil

Re: Disable touchpad acceleration? (wsmouse)

2020-10-13 Thread Otto Moerbeek
On Tue, Oct 13, 2020 at 11:38:11PM -0400, Brennan Vincent wrote: > Hello, > > I am using the wsmouse driver with x11, and no amount of googling or reading > man pages has helped me figure out how to disable acceleration and have > completely flat/linear response. Is this possible? > > I know tha

Re: getaddrinfo(3) in CGI program

2020-10-22 Thread Otto Moerbeek
On Thu, Oct 22, 2020 at 10:16:28AM -0400, ben wrote: > Hello, Misc; > > I'm attempting to write a CGI progam in C which uses getaddrinfo(3), however > upon running the script getaddrinfo doesn't seem to run. I have a feeling this > is due to linking issues as other have experienced a similar issu

Re: search contains unknown domain in resolv.conf

2020-10-27 Thread Otto Moerbeek
On Tue, Oct 27, 2020 at 02:32:46PM +0300, Andreas X wrote: > Greetings. On OpenBSD 6.8, I have unbound enabled in my server, (server > gets its IP via DHCP from my server provider) > In resolv.conf I have a "search your-server.de" line and I don't know what > hostname is that. > My own hostname is

Re: Dig on openbsd too old ?

2019-07-17 Thread Otto Moerbeek
On Thu, Jul 18, 2019 at 06:41:12AM +, Mik J wrote: > Hello, > I'm using Openbsd 6.5 and have DiG 9.4.2-P2 provided with it.This version > seems to be old (from 2009) but I couldn't find exactly when it dates. > However new DNS records appeared in 2013 such as CAA in RFC 6844When I dig > the

  1   2   3   4   5   6   7   8   9   10   >