Re: wifi

2024-05-25 Thread Otto Moerbeek
f that one. -Otto On Fri, May 24, 2024 at 08:54:40PM -0300, Gustavo Rios wrote: > Is there plan to add support ? > > Thanks a lot > > Em qui., 23 de mai. de 2024 às 04:10, Otto Moerbeek > escreveu: > > > On Thu, May 23, 2024 at 03:56:01AM -0300, Gustavo Rio

Re: wifi

2024-05-23 Thread Otto Moerbeek
On Thu, May 23, 2024 at 03:56:01AM -0300, Gustavo Rios wrote: > Here you have them: ... "Realtek 8821CE" rev 0x00 at pci2 dev 0 function 0 not configured That means there is no driver available in OpenBSD for that card. -Otto

Re: wifi

2024-05-22 Thread Otto Moerbeek
On Thu, May 23, 2024 at 01:44:57AM -0300, Gustavo Rios wrote: > Hi folks! > > I would like to setup my openbsd wifi but up to now, no success. > Here is my lspci output. May some one help me ? > > Thanks a lot. > > 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE >

Re: smtpd outgoing mail configuration

2024-05-17 Thread Otto Moerbeek
On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: > How to forward outgoing mail to a remote SMTP server with smtpd? > > I found this page, but it's out of date I think. > https://romanzolotarev.com/openbsd/smtpd-forward.html > > Tks > Pascal man smtpd.conf, first exmaple

Re: maximum file system size

2024-04-25 Thread Otto Moerbeek
On Thu, Apr 25, 2024 at 07:26:41AM +0200, Peter J. Philipp wrote: > On Thu, Apr 25, 2024 at 12:45:29AM -0300, Gustavo Rios wrote: > > Hi folks! > > > > What is the maximum file size in OpenBSD ? > > > > Thanks a lot. > > > > -- > > The lion and the tiger may be more powerful, but the wolves

Re: errors rebuilding binaries after sysupgrade to 7.5

2024-04-22 Thread Otto Moerbeek
On Mon, Apr 22, 2024 at 10:09:51PM +0100, Steve Fairhead wrote: > Hi folks, > > (Apologies if this is a dupe. Looks to me like this didn't originally get > far.) > > Pretty sure this is pilot error, so please be gentle. > > I sysupgraded 3 machines (all different) to 7.5; no problems. I then >

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-12 Thread Otto Moerbeek
On Fri, Apr 12, 2024 at 12:21:43PM +0200, Dan wrote: > > Really, I fear this value is due to a wrong tweak.. Fear is a bad advisor. If you look at man 3 sysctl, you'll see what vfs.ffs.dirhash_mem means: FFS_DIRHASH_MEM (vfs.ffs.dirhash_mem) The

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 05:29:14PM +0200, Otto Moerbeek wrote: > On Thu, Apr 11, 2024 at 05:20:24PM +0200, Otto Moerbeek wrote: > > > On Thu, Apr 11, 2024 at 05:08:01PM +0200, Federico Giannici wrote: > > > > > On 4/11/24 16:15, Claudio Jeker wrote: > > >

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 05:20:24PM +0200, Otto Moerbeek wrote: > On Thu, Apr 11, 2024 at 05:08:01PM +0200, Federico Giannici wrote: > > > On 4/11/24 16:15, Claudio Jeker wrote: > > > On Thu, Apr 11, 2024 at 03:36:29PM +0200, Federico Giannici wrote: > > > > On

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 05:08:01PM +0200, Federico Giannici wrote: > On 4/11/24 16:15, Claudio Jeker wrote: > > On Thu, Apr 11, 2024 at 03:36:29PM +0200, Federico Giannici wrote: > > > On 4/11/24 14:12, Nick Holland wrote: > > > > On 4/11/24 05:47, Federico Giannici wrote: > > > > > We have a

Re: Upgraded to 7.5: vfs.ffs.dirhash_dirsize no longer exists and large directory ere veeery slow

2024-04-11 Thread Otto Moerbeek
On Thu, Apr 11, 2024 at 04:15:19PM +0200, Claudio Jeker wrote: > On Thu, Apr 11, 2024 at 03:36:29PM +0200, Federico Giannici wrote: > > On 4/11/24 14:12, Nick Holland wrote: > > > On 4/11/24 05:47, Federico Giannici wrote: > > > > We have a server with A LOT of files in some directories (an email

Re: newfs fast, but newfs_msdos and newfs_ext2fs very slow

2024-04-10 Thread Otto Moerbeek
On Wed, Apr 10, 2024 at 08:31:26AM -, Stuart Henderson wrote: > On 2024-04-09, Stanislav Syekirin > wrote: > > Hi, > > > > I'm trying to figure out the best way to format a USB stick as FAT32. > > This is what I've tried: > > > > $ time doas newfs_msdos /dev/rsd1c > > /dev/rsd1c: 60007944

Re: Ping blocked by firewall

2024-04-09 Thread Otto Moerbeek
On Tue, Apr 09, 2024 at 10:52:45AM +0200, Karel Lucas wrote: > I defined the table as stated in your book (3rd edition, page 42). However, > that gives an error message. In the lines with that table: macro 'martians' > not defined. Moreover, I now also have a Syntax error in lines 38, 39 and >

Re: need help to access my machine after upgrade -- system immediately logs me out

2024-04-02 Thread Otto Moerbeek
On Wed, Apr 03, 2024 at 12:45:33AM +0530, Sandeep Gupta wrote: > Thank you for all the inputs. This is so useful. I am able to at least > access the file system and rescue the data. > However, I'm not able to restore the system yet. The command "pkg_add -u" > runs into "out of memory error". >

Re: unbound signature expired

2024-03-21 Thread Otto Moerbeek
On Mon, Mar 18, 2024 at 08:04:38PM +0100, Evan Sherwood wrote: > > Wild guess, your time is off. > > Huh, I think you're right. `date` shows me 7 hours ahead of my timezone. > > I restarted ntpd and I see no errors in /var/log/daemon, but the time is > still off. I should be 1200 PDT but it's

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 12:14:14PM -, beecdadd...@danwin1210.de wrote: > On Sun, March 3, 2024 12:07 pm, Otto Moerbeek wrote: > > On Sun, Mar 03, 2024 at 12:01:12PM -, beecdadd...@danwin1210.de > > wrote: > > > > > >> oh okay reserved for root? I ran

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
om the start). -Otto > > On Sun, March 3, 2024 11:57 am, Otto Moerbeek wrote: > > On Sun, Mar 03, 2024 at 11:48:01AM -, beecdadd...@danwin1210.de > > wrote: > > > > > >> > >> disklabel -h sd3 shows this > >> > >> # /dev/rsd3c: >

Re: disklabel and df -h don't show same size

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 11:48:01AM -, beecdadd...@danwin1210.de wrote: > > disklabel -h sd3 shows this > > # /dev/rsd3c: > type: SCSI > disk: SCSI disk > label: SR CRYPTO > duid: some-number > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 >

Re: mount not working as expected? and what are my default bioctl rounds?

2024-03-03 Thread Otto Moerbeek
On Sun, Mar 03, 2024 at 10:47:31AM -, beecdadd...@danwin1210.de wrote: > hi list > I want to know how many rounds my computer defaults to for bioctl -r, so I > can change it and know how stronger it is can you help me? > > after reading mount manual about DUID I realized that it is not

Re: Not getting any reply, are bug report fixed?

2024-02-18 Thread Otto Moerbeek
On Sun, Feb 18, 2024 at 05:13:23PM +0700, Discord is hell wrote: > The title says all, although it is somewhat offensive. I'm not > going to disregard OpenBSD developers' efforts. > > I saw many bug report sent to b...@openbsd.org but get > no reply. I saw some bug are silently fixed (not sure

Re: KeyTrap DNS vulnerability

2024-02-13 Thread Otto Moerbeek
On Wed, Feb 14, 2024 at 04:55:20AM +0100, b...@fea.st wrote: > “A single packet can exhaust the processing > capacity of a vulnerable DNS server, effectively > disabling the machine, by exploiting a > 20-plus-year-old design flaw in the DNSSEC > specification. > >

Re: ksh horizontal line scrolling

2024-02-08 Thread Otto Moerbeek
On Fri, Feb 09, 2024 at 01:17:06PM +1300, Jeremy Baxter wrote: > Hi all, I'm trying to disable the horizontal line scrolling feature in ksh, > enabled through `set -o vi' or `set -o emacs'. ksh(1) says this about it: > > In these editing modes, if a line is longer than the screen width (see

Re: socket core

2024-01-15 Thread Otto Moerbeek
On Tue, Jan 16, 2024 at 08:16:38AM +0100, Janne Johansson wrote: > Den tis 16 jan. 2024 kl 01:16 skrev Gustavo Rios : > > Hi folks. > > I have a simple question : How many cores does OBSD support ? > > amd64 says > > #define MAXCPUS 64 /* bitmask */ > > but different arches have different

Re: time keeping fallback mechanics during reboot on octeon

2024-01-14 Thread Otto Moerbeek
On Sun, Jan 14, 2024 at 09:32:10AM +0100, Alexander Hall wrote: > I don't have mine (EdgeRouter lite) running anymore, but IIRC, I had a cron > job poking the root fs to"resolve" this. > > Sth like "mkdir /bump && rmdir /bump && sync". I have no idea how this would solve the "boot sets last

Re: time keeping fallback mechanics during reboot on octeon

2024-01-13 Thread Otto Moerbeek
On Sat, Jan 13, 2024 at 11:47:44AM +0100, Christian Gut wrote: > > > > On 13. Jan 2024, at 10:03, Christian Gut wrote: > > > > > > > >> On 13. Jan 2024, at 00:58, Theo de Raadt wrote: > >> > >> I suspect this is due to how powerpc64 and octeon boot. Their bootblocks > >> are > >> a

Re: time keeping fallback mechanics during reboot on octeon

2024-01-13 Thread Otto Moerbeek
On Sat, Jan 13, 2024 at 10:03:20AM +0100, Christian Gut wrote: > > > > On 13. Jan 2024, at 00:58, Theo de Raadt wrote: > > > > I suspect this is due to how powerpc64 and octeon boot. Their bootblocks > > are > > a special kernel called BOOT which mounts the ffs filesystem diretly. I > >

Re: time keeping fallback mechanics during reboot on octeon

2024-01-12 Thread Otto Moerbeek
On Fri, Jan 12, 2024 at 07:15:43PM +0100, Christian Weisgerber wrote: > Otto Moerbeek: > > > http://man.openbsd.org/octrtc seems to suggest EdgeRouter does not have > > an RTC. A dmesg should give more certainty. > > I think the original poster is aware of this. >

Re: time keeping fallback mechanics during reboot on octeon

2024-01-12 Thread Otto Moerbeek
On Fri, Jan 12, 2024 at 04:47:06PM +0100, Christian Gut wrote: > Hi Otto, > > > > On 12. Jan 2024, at 15:52, Otto Moerbeek wrote: > > > > On Fri, Jan 12, 2024 at 02:35:47PM +0100, Christian Gut wrote: > > > >> Hi, > >> > >> Could

Re: time keeping fallback mechanics during reboot on octeon

2024-01-12 Thread Otto Moerbeek
On Fri, Jan 12, 2024 at 02:35:47PM +0100, Christian Gut wrote: > Hi, > > Could somebody point me to documentation or tell me where OpenBSD gets the > time from, when the system has no RTC and ntpd is not working? > > I am using an EdgeRouter / octeon and at every reboot, the date/time gets >

Re: Partition completely wiped out, why?

2024-01-09 Thread Otto Moerbeek
On Wed, Jan 10, 2024 at 12:21:12AM +0100, Jonas Bechtel wrote: > > > Dear "misc" list attendees, > > maybe someone of you has an idea what happened. > > Ten years ago I installed OpenBSD 5.[?] which included setting up a > small partition of 2 GB, including the full OS with kernel, programs,

Re: mountd

2024-01-09 Thread Otto Moerbeek
On Tue, Jan 09, 2024 at 10:13:56AM +0300, 4 wrote: > >> i'm quoting the man page for mountd: > >> The -n flag historically allowed clients to use non-reserved ports > >> when > >> communicating with mountd. In OpenBSD, a reserved port is always > >> used. > >> "reserved port".

Re: mountd

2024-01-08 Thread Otto Moerbeek
On Tue, Jan 09, 2024 at 04:16:43AM +0300, 4 wrote: > i'm quoting the man page for mountd: > The -n flag historically allowed clients to use non-reserved ports when > communicating with mountd. In OpenBSD, a reserved port is always used. > "reserved port". "always".. however the port is

Re: ignore dns dhcpleased

2024-01-03 Thread Otto Moerbeek
On Wed, Jan 03, 2024 at 12:15:04PM +0100, Peter Wens wrote: > Hi, > > I noticed that ignoring nameservers from leases only works > on IPv4 addresses. > > in /etc/dhcpleased.conf > > interface vio0 { > ignore dns > } > > resolvd still adds a IPv6 nameserver > > nameserver

Re: as cannot do endbr64 instructions (too old)

2024-01-03 Thread Otto Moerbeek
On Wed, Jan 03, 2024 at 08:50:43AM +0100, Lorenz (xha) wrote: > On Tue, Jan 02, 2024 at 08:32:00PM -, Stuart Henderson wrote: > > I can't say. Though I doubt there would much objection if it's clean and > > not a copy of a GPLv3-licensed upstream commit. > > what about this? > > i am not

Re: as cannot do endbr64 instructions (too old)

2024-01-02 Thread Otto Moerbeek
On Tue, Jan 02, 2024 at 08:56:55PM +1100, Alexis wrote: > > "Lorenz (xha)" writes: > > > On Mon, Jan 01, 2024 at 08:47:07PM +1100, Alexis wrote: > > > > > > "Lorenz (xha)" writes: > > > > > > > just out of couriosity, why is "as" in the base system if it > is > > > > outdated and is

Re: as cannot do endbr64 instructions (too old)

2024-01-01 Thread Otto Moerbeek
On Mon, Jan 01, 2024 at 10:00:34AM +0100, Lorenz (xha) wrote: > On Sun, Dec 31, 2023 at 03:39:14PM +0100, Otto Moerbeek wrote: > > On Sun, Dec 31, 2023 at 04:51:14AM +0100, Lorenz (xha) wrote: > > > > > hi misc@, > > > > > > like the subject says,

Re: as cannot do endbr64 instructions (too old)

2023-12-31 Thread Otto Moerbeek
On Sun, Dec 31, 2023 at 09:55:25AM -0700, Theo de Raadt wrote: > That's curious. > > We never invoke as directly these days. > > It feels like an upstream llvm bug, and I say that because noone else has > embraced BTI/IBT as much as we have, everyone else is still considering it > a thing for

Re: Recovery binary from lost+found

2023-12-31 Thread Otto Moerbeek
On Sun, Dec 31, 2023 at 03:01:10PM +0100, Kirill A. Korinsky wrote: > > > On 31. Dec 2023, at 11:02, Otto Moerbeek wrote: > > > > Amongst other things, fsck_ffs(8) looks for inodes not mentioned in > > any directory, i.e. files that are orphans. fsck_ffs links th

Re: as cannot do endbr64 instructions (too old)

2023-12-31 Thread Otto Moerbeek
On Sun, Dec 31, 2023 at 04:51:14AM +0100, Lorenz (xha) wrote: > hi misc@, > > like the subject says, `as` in the base system cannot do endbr64 > instructions. should it be updated? > > background: i am maintaining hare for openbsd and we always have > to install "gas" from the "binutils"

Re: Recovery binary from lost+found

2023-12-31 Thread Otto Moerbeek
On Sun, Dec 31, 2023 at 01:59:28AM +0100, Kirill A. Korinsky wrote: > Greetings, > > How can I recovery binary files from lost+found? > > I have: > island$ doas ls -l /usr/lost+found > total 7904 > -r--r--r-- 1 root bin 3680832 Dec 31 00:30 #1866245 > -r--r--r-- 1 root bin 317600 Dec 31

Re: self-hosted man.openbsd.org script?

2023-12-24 Thread Otto Moerbeek
On Sun, Dec 24, 2023 at 05:25:55AM -0800, Paul Pace wrote: > I have this vague memory of reading someone who posted a script, IIRC, to > convert the system's man pages to HTML, or similar, into somewhere under > /var/www and the pages worked just like the highly useful man.openbsd.org, > and not

Re: ntpd not adjusting clock in vm

2023-12-17 Thread Otto Moerbeek
On Mon, Dec 18, 2023 at 02:02:47AM +, Chris Narkiewicz wrote: > I'm running OpenBSD 7.4 in qemu VM on my laptop. After hibernation, > vm clock is delayed. > > ntpd works in background, but it fails to adjust the clock: > > reply from 162.159.200.1: offset 0.005599 delay 0.013842, next query

Re: ls in color

2023-12-08 Thread Otto Moerbeek
On Fri, Dec 08, 2023 at 07:45:06PM +0100, Karel Lucas wrote: > > > Op 08-12-2023 om 19:42 schreef Theo de Raadt: > > Karel Lucas wrote: > > > > > In openBSD V7.4 I would like to see the output of ls in color, and > > > therefore would like to know how to configure that. The output of "man > >

Re: Is Pip Available On OpenBSD?

2023-12-02 Thread Otto Moerbeek
On Sun, Dec 03, 2023 at 01:38:07AM -0600, Jay F. Shachter wrote: > > Esteemed Colleagues: > > I am trying to build some software which claims that it needs glad2. > Glad2 does not seem to exist as an OpenBSD package but it claims that > it can be installed with pip. There does not seem to be

Re: openbsd.org DNS problems

2023-11-16 Thread Otto Moerbeek
On Fri, Nov 17, 2023 at 07:14:58AM +, tux2bsd wrote: > I understand you're choosing to be ornery about > the SOA record. Seems to matter more to you lot > than to me, given the defense being run around it. You claim the SOA serial being a timestamp would have helped in diagnosis. It would

Re: openbsd.org DNS problems

2023-11-16 Thread Otto Moerbeek
On Fri, Nov 17, 2023 at 06:29:02AM +, tux2bsd wrote: > > > Stuart Henderson wrote: > > well, if you're nitpicking things which don't matter > > I would have rather not have needed to look at all. > > Useful: when was a change made, who to contact. > (strangely enough, easy to provide via

Re: openbsd.org DNS problems

2023-11-15 Thread Otto Moerbeek
On Wed, Nov 15, 2023 at 11:49:05AM +, Craig Skinner wrote: > Hello, > > OpenBSD's root A record was deliberately removed about 5-10 years ago. > > The website is http://www.openbsd.org, not http://openbsd.org > > I can't find the thread of complaints from the time it changed. > > Cheers,

Re: openbsd.org DNS problems

2023-11-15 Thread Otto Moerbeek
On Wed, Nov 15, 2023 at 08:43:06AM +, tux2bsd wrote: > > It'd be good to sort this, a bit of a meta remote hole... > > This = bad. Only people with necessary access can fix. > > $ host -t a openbsd.org 199.185.230.19 > Using domain server: > Name: 199.185.230.19 > Address:

Re: CVS checkout

2023-10-25 Thread Otto Moerbeek
r someone just > starting out? diffs for the base tree are handled on the t...@openbsd.org mailing list. http://www.openbsd.org/mail.html -Otto > -- > Google doesn't need to > know every time I fart. > > > On Oct 25, 2023, at 12:44, Otto Moerbeek wrote: > > >

Re: CVS checkout

2023-10-25 Thread Otto Moerbeek
On Wed, Oct 25, 2023 at 11:13:44AM +0600, Maria Morisot wrote: > I've been trying now for a month to download source via CVS as per > instructions on openbsd.org; I get operation timed out every time. I get no > ping from anoncvs.ca.openbsd.org > > I want to help work on the project in any way

malloc leak detection

2023-10-19 Thread Otto Moerbeek
Hello, I made a small tutorial with some usage notes for the new malloc leak detection which is available in OpenBSD 7.4: https://www.drijf.net/malloc/ While I have you attention, I'd like to mention that I can use a reasonably modern laptop as well, more detais in the last entry of

Re: OpenBSD 7.3 latest snaphots

2023-10-10 Thread Otto Moerbeek
On Tue, Oct 10, 2023 at 07:00:36AM +, jonathon575 wrote: > Hello everyone, > > How to get the latest openbsd 7.3 snapshot?! On the website, the snapshots > are showing for 7.4 beta version. > > Also would the security patches and bugs be integrated in the openbsd 7.3 > latest snapshots. >

Re: pkg_add -vV slow progression

2023-09-18 Thread Otto Moerbeek
On Sun, Sep 17, 2023 at 09:17:58PM +0300, Mihai Popescu wrote: > Hello, > > Is there any recent major change in base packages or pkg_add? > I ask because the pkg_add -vV is slower than usual at each package, > most of the time spent in Extracting ... phase. > I use amd64 recent snapshot. I

Re: X host-based access control token

2023-09-10 Thread Otto Moerbeek
On Sun, Sep 10, 2023 at 06:51:58PM +0200, Daniele B. wrote: > Hello, > > Trying to securing my X server beyond my pf conf, and sorry if I do > again the compliments to the quality of the X engineering (well beyond > OpenBSD devs effort, at X origins). > > 'man X' says: > > ACCESS CONTROL >

Re: unbound and root.hints

2023-09-09 Thread Otto Moerbeek
On Sat, Sep 09, 2023 at 04:45:51PM +0200, Alessandro Baggi wrote: > Hi list, > when using unbound on OpenBSD 6.5 in the default configuration unbound comes > with root.hints file. > > Upgrading to OpenBSD 7.3 I noticed that root.hints is not more supplied but > unbound manual page says: > >

Re: Both serial and pc consoles on Super Micro A1SRi-2758F machine

2023-08-28 Thread Otto Moerbeek
On Mon, Aug 28, 2023 at 10:33:23AM -0400, Christopher Sean Hilton wrote: > On Mon, Aug 28, 2023 at 07:41:19AM +0200, Otto Moerbeek wrote: > > On Sun, Aug 27, 2023 at 08:40:44PM -0400, Christopher Sean Hilton wrote: > > > > [ ...snip... ] > > > > I can solve my

Re: Both serial and pc consoles on Super Micro A1SRi-2758F machine

2023-08-27 Thread Otto Moerbeek
On Sun, Aug 27, 2023 at 08:40:44PM -0400, Christopher Sean Hilton wrote: > I run my firewall on a SuperMicro A1SRi-2758F. On this hardware, I've > noticed that I seem to have the choice of either a PC console or a > serial console. If I ask for a serial console *on this hardware* I get > a

Re: PF rate limiting options valid for UDP?

2023-07-20 Thread Otto Moerbeek
On Thu, Jul 20, 2023 at 05:52:07PM +, mabi wrote: > --- Original Message --- > On Wednesday, July 19th, 2023 at 10:58 PM, Stuart Henderson > wrote: > > > For rules that pass traffic to your authoritative DNS servers, > > I don't think you need much longer than the time taken to

Re: dhcpleased[59824]: sendto: Permission denied

2023-07-04 Thread Otto Moerbeek
On Mon, Jul 03, 2023 at 10:34:24AM -0600, Zack Newman wrote: > On 7/3/23 11:25, Mark wrote: > > I'm getting (I think once per day) "dhcpleased[59824]: sendto: Permission > > denied" error message in my daemon and messages log files. > > > > I think that's happening due to my PF configuration. >

recent malloc changes

2023-06-04 Thread Otto Moerbeek
Hi, no idea how many people run snapshots or current here, but if you do, please note https://marc.info/?l=openbsd-tech=168587666517667=2 -Otto

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
nes (except for the root fs, which whould be 1), unless you have a very good reason to use 0. -Otto > > On Wed, May 31, 2023 at 10:41 PM Otto Moerbeek wrote: > > > > On Wed, May 31, 2023 at 10:25:06PM +0800, Jazzi Hong wrote: > > > > > Thanks for all t

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
n your fstab, sd0i is marked ar "do not run fsck on it" (last zero in its fstab line). That is bad. Try running fsck on sd0i. It might be that the filesystem is damaged so mount does not like it, but fsck still has a chance to repair it. -Otto > > On Wed, May 31, 2023 at 7:56 PM

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
On Wed, May 31, 2023 at 11:21:15AM +0100, Zé Loff wrote: > On Wed, May 31, 2023 at 05:25:07PM +0800, Jazzi Hong wrote: > > You made the point, thank you Maksim. > > I checked /mnt/hdd and nothing there. > > > # cat /etc/fstab > > 1593ab2ee369c420.b none swap sw > > 1593ab2ee369c420.a / ffs rw 1 1

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Otto Moerbeek
On Wed, May 31, 2023 at 05:25:07PM +0800, Jazzi Hong wrote: > You made the point, thank you Maksim. > > I checked /mnt/hdd and nothing there. > > > # cat /etc/fstab > 1593ab2ee369c420.b none swap sw > 1593ab2ee369c420.a / ffs rw 1 1 > 1593ab2ee369c420.e /var ffs rw,nodev,nosuid 1 2 >

Re: Pkg_add Python version and LibreSSL seem to be incompatible in OpenBSD 7.3

2023-05-14 Thread Otto Moerbeek
On Sun, May 14, 2023 at 12:25:28PM -0400, Judah Kocher wrote: > After updating one of my routers to OpenBSD 7.3, my python scripts that > update various public DNS records when my public IP changes started failing > with generic segfaults. I did see the note in the OpenBSD Upgrade Guide > about

Re: OpenBSD Hackathons

2023-05-13 Thread Otto Moerbeek
On Sat, May 13, 2023 at 09:18:45AM +1000, David wrote: > On Fri, 2023-05-12 at 22:07 +0200, Anders Andersson wrote: > > On Fri, May 12, 2023 at 9:39 PM Katherine Mcmillan > > wrote: > > > > > > Hi Stuart, > > > > > > Thank you for your response.  The upcoming OpenBSD Hackathons > > > aren't

Re: dhcpleased losing route

2023-05-10 Thread Otto Moerbeek
ould try running dhcpleased manually like this to see details about > > what is going on: > > # dhcpleased -vv -d > > > > (But you???d need to stop the processes started by rc(8) first. E.g.: `# > > rcctl stop dhcpleased`. Don???t forget to `# rcctl start dhcpleased

Re: dhcpleased losing route

2023-05-09 Thread Otto Moerbeek
On Wed, May 10, 2023 at 01:17:05PM +1000, David Diggles wrote: > > Just to update, I've added the following to dhclient.conf but > it's still renewing every 5 minutes (approximately) and the > default route is disappearing for a couple of seconds. :( > > send dhcp-lease-time 86400; dhcpleased

malloc leak detection available in -current

2023-04-17 Thread Otto Moerbeek
If you're developing C or C++ code on OpenBSD, this might be of interest: https://marc.info/?l=openbsd-tech=168171382927798=2 -Otto

Re: Weird clang behavior

2023-03-02 Thread Otto Moerbeek
On Thu, Mar 02, 2023 at 12:00:18PM +, Ali Farzanrad wrote: > Hi, > > Is it normal to have such behavior? > > $ cat loop.c > int > main(void) > { > for (;;) > ; > } > $ clang -O1 -Wall -Wextra -S -o loop.c.s loop.c > $ clang++ -O1 -Wall -Wextra -S -o loop.cxx.s loop.c >

Re: Performance optimizing OpenBSD 7.2

2023-02-15 Thread Otto Moerbeek
On Tue, Feb 14, 2023 at 11:04:57PM +0100, Lars Bonnesen wrote: > What can be done to optimize obsd 7.2 running on top of ESXi 7 with > > 7 vmx "phys" ifs > 3 em "phys" ifs > 22 virtual ifs > > Very simply pf ruleset - the box is only running VPN solution between two > sites up against a similar

Re: Taring a "posix problemozauro"..

2023-02-10 Thread Otto Moerbeek
On Fri, Feb 10, 2023 at 11:24:55AM +0100, Peter N. M. Hansteen wrote: > On Fri, Feb 10, 2023 at 11:12:44AM +0100, Daniele Bonini wrote: > > > > But when it is matter to deliver things from OpenBSD eg. to other > > live destination taring the same stuff I get the following error: > > > > tar:

Re: permission denied when writing to mounted directory exported by NFS server

2023-02-10 Thread Otto Moerbeek
On Fri, Feb 10, 2023 at 09:10:55AM +0100, carsten.re...@t-online.de wrote: > On Fri, Feb 10, 2023 at 12:58:21PM +0530, Sandeep Gupta wrote: > > On test setup I got this fixed. I will try to see if it works on actual > > system. > > > > I made following changes: > > - modified /etc/exports entry

Re: permission denied when writing to mounted directory exported by NFS server

2023-02-08 Thread Otto Moerbeek
On Thu, Feb 09, 2023 at 11:41:12AM +0530, Sandeep Gupta wrote: > Following up on this. I looked into the /var/log/messages/ and > /var/log/daemon. Both are quite after starting the portmap, mountd, and > nfsd services. > > Here is verbose output from the client side when mounting the share: >

Re: hw.ncpuonline

2023-01-31 Thread Otto Moerbeek
On Wed, Feb 01, 2023 at 07:35:16AM +0100, Janne Johansson wrote: > Den ons 1 feb. 2023 kl 03:08 skrev Justin Muir : > > I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to > > enable the other 2. > > > > hw.ncpufound=4 btw > > Any ideas out there? > > OpenBSD disables

Re: Unbound fails to resolve some domains

2023-01-26 Thread Otto Moerbeek
On Fri, Jan 27, 2023 at 01:26:10AM +, Rodrigo Readi wrote: > It still happens. But when I kill unbound and start it again, then > resolves domains that previously did not resolve. > > BTW, I am using Wifi with weak signal. Perhaps this plays a role? > > Rod. > > > 2023-01-11 20:06 GMT,

Re: chmod change means dump(8) the file

2023-01-25 Thread Otto Moerbeek
On Thu, Jan 26, 2023 at 12:18:45AM +0100, Jan Stary wrote: > I have a large /media disk that I backup nightly using dump(8): > full level 0 on the Sun/Mon night, incrementals through the week. > The level 0 dump is huge, the incrementals are usualy trivial > unless I add something to /media. > >

Re: Is CRONTAB(5) random really random ?

2023-01-05 Thread Otto Moerbeek
On Fri, Jan 06, 2023 at 12:58:48AM +0100, Rachel Roch wrote: > > > > 5 Jan 2023, 18:24 by purushar...@gmx.com: > > > Namaste Rachel, Theo(s), > > > >> Sent: Thursday, January 05, 2023 at 5:50 PM > >> From: "Theo de Raadt" > >> To: "Theo Buehler" > >> Cc: "Rachel Roch" , "Misc" > >>

Re: fsck UNREF FILE

2023-01-02 Thread Otto Moerbeek
On Mon, Jan 02, 2023 at 05:53:25PM -0800, Randall wrote: > After my OpenBSD 7.2 box lost power, bootup halted when rc ran fsck which > reported problems with inodes. At the root prompt, I ran fsck and answered > 'y' to each prompt. Now, in normal mode, running fsck reports a few > unreferenced

Re: pf tcpdump rule def ?

2022-12-26 Thread Otto Moerbeek
On Tue, Dec 27, 2022 at 04:23:13AM +, Shadrock Uhuru wrote: > hi everyone > viewing my pf logs with > tcpdump -nettt -i pflog0 there are lines with no rule numbers > just rule def on the line instead, > i've tried googling without success, > need to know if they are wolf,sheep or

Re: How to set up a data disk of 4TB?

2022-12-09 Thread Otto Moerbeek
On Fri, Dec 09, 2022 at 04:19:49PM +, James Johnson wrote: > Hi all, > > I have installed an internal hard drive of 4TB. This drive will be used for > storing data only. It will not contain the OpenBSD system itself. > > Knowing the limitations of MBR, I have opted for a GPT partitioning

Re: Opensearch can't start if memory is ore than 4g

2022-11-22 Thread Otto Moerbeek
On Tue, Nov 22, 2022 at 09:31:19PM +, Mik J wrote: > i'm not sure I understand because I did write:datasize=8192M:\ > However > ...-Xms3g > -Xmx3g > Works > /etc/opensearch/jvm.options...-Xms4g > -Xmx4g > Doesn't work (mistake in my first message I mean't it doesn't work) > In login.conf I

Re: ntp(d) on Boot Behavior

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 05:06:57PM +, indivC wrote: > The ntpd man page says the following: > 'ntpd will stay for a maximum of 15 seconds in the foreground > and make efforts to verify and correct the time > if constraints are configured and satisfied or > if trusted servers or sensors return

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 07:00:19AM +, Jason McIntyre wrote: > On Sun, Nov 06, 2022 at 07:48:39AM +0100, Otto Moerbeek wrote: > > On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > > > > > I'm a little confused with the man page for ntpd. > > >

Re: Slight Confusion with ntpd(8)

2022-11-06 Thread Otto Moerbeek
On Sun, Nov 06, 2022 at 05:12:12AM +, indivC wrote: > I'm a little confused with the man page for ntpd. > > For the '-n' flag, it says: > 'Configtest mode. Only check the configuration file for validity.'. > I have no problem with this and understand it. > > However, the section below

Re: Syncthing permissions question

2022-10-26 Thread Otto Moerbeek
On Wed, Oct 26, 2022 at 10:38:04PM -0400, Jag Talon wrote: > Hello, > > I'm new to OpenBSD and I'm unfamiliar with permissions in general so I'm a > little lost. I installed syncthing, and it creates the default folder in > /var/syncthing/Sync which is owned by _syncthing and has the group >

Re: using netstat without terminal

2022-10-22 Thread Otto Moerbeek
On Sat, Oct 22, 2022 at 08:30:47AM +0200, Harald Dunkel wrote: > Hi folks, > > would it be possible to fix netstat for 7.3 wrt the assumed screen size, > even if there is no terminal involved? Something like > > netstat -f inet6 -ln > should not be restricted to 80 columns output,

Re: Named: max open files (7030) is smaller than max sockets (21000)

2022-09-22 Thread Otto Moerbeek
ust looks at the system value (kern.maxfiles)Yes > I do have kern.maxfiles=7030 on my system > > > Le jeudi 22 septembre 2022 à 14:53:51 UTC+2, Otto Moerbeek > a écrit : > > kern.maxfiles is a system wide max. openfiles is per user. > > Increase system wide limnit

Re: Named: max open files (7030) is smaller than max sockets (21000)

2022-09-22 Thread Otto Moerbeek
kern.maxfiles is a system wide max. openfiles is per user. Increase system wide limnit by puttting kern.maxfiles= in /etc/sysctl.conf -Otto On Thu, Sep 22, 2022 at 12:37:51PM +, Mik J wrote: > Hello, > When I restart ISC Bind I get this messagenamed[95122]: max open files

Re: Additional information required for cputime

2022-06-27 Thread Otto Moerbeek
On Mon, Jun 27, 2022 at 11:02:25AM -0400, Sven F. wrote: > Dear readers, > > Beside source code, > > # man login.conf | grep cputime > cputimetime CPU usage limit. > > Is there any other information or examples about that parameter ? > > SO far if found :

Re: aligned_alloc shouldn't require size to be a multiple of alignment

2022-06-08 Thread Otto Moerbeek
On Wed, Jun 08, 2022 at 01:15:48AM +, John Scott wrote: > Hi, > > On OpenBSD, aligned_alloc currently fails with EINVAL if the requested > size is not a multiple of the requested alignment. Indeed, this stems > from a botch in the original specification in the C11 standard. > > See Defect

Re: tar command

2022-05-25 Thread Otto Moerbeek
On Wed, May 25, 2022 at 12:32:19PM +, Dirty Dawn wrote: > Hi, > > in bsdtar and gtar is possible to select the format with --format flag. > It seems that openbsd tar uses the ustar (aka POSIX) format. > I wasn't able to find any information about. > It could be taken for granted that format

Re: chmod a mfs /tmp

2022-05-04 Thread Otto Moerbeek
On Wed, May 04, 2022 at 08:35:50PM +0300, Mihai Popescu wrote: > Hello, > > I want to map /tmp as a mfs type. I did this in my /etc/fstab: > > 0a4b310a4a014e04.b none swap sw > 0a4b310a4a014e04.a / ffs rw 1 1 > 0a4b310a4a014e04.l /home ffs rw,nodev,nosuid 1 2 > swap /tmp mfs

Re: Auto layout for disk partitions - a new user's perspective

2022-04-18 Thread Otto Moerbeek
On Mon, Apr 18, 2022 at 04:15:46PM +, James Mintram wrote: > Thanks for all of the very useful replies, I have managed to get > everything working. > > For context, I need erlang 24 + elixir 13 and the current packages > are older than that. Which is why I have found myself working > with

Re: Github/Bitbucket free alternative

2022-04-03 Thread Otto Moerbeek
On Mon, Apr 04, 2022 at 01:07:49PM +0800, Tito Mari Francis Escaño wrote: > Hi everyone, > I'm trying to develop web apps on OpenBSD but Github and even Bitbucket > seems to think that only Windows and/or Linux are the platforms so I feel > forced to use VS Code that runs only on those systems. >

Re: Why is disk full?

2022-03-29 Thread Otto Moerbeek
source disk. Sparse files contain blocks of all zeroes that are not stored as data blocks. I think by default rsync does not (re)create those as sparse (see rsync option -S). -Otto > > On Tue, Mar 29, 2022 at 11:07 AM Otto Moerbeek wrote: > > > On Tue, Mar 29, 2022 at 10

Re: Why is disk full?

2022-03-29 Thread Otto Moerbeek
rsync to copy files. df -i reports 483707 inodes used for both > > partitions. > > sudo rsync -anv --delete /mnt/wd1l/ /mnt/wd2l/ > > reports no changes required (runtime under 3 minutes). > > sudo diff -r /mnt/wd1l/ /mnt/wd2l/ > > reports no difference (runtime 10 h

Re: Why is disk full?

2022-03-29 Thread Otto Moerbeek
On Tue, Mar 29, 2022 at 10:25:34AM -0400, F Bax wrote: > I copied all files from /mnt/wd1l to /mnt/wd2l > > wd2l is slightly larger than wd1l; yet wd2l is full! > > $ df -h /mnt/wd1l /mnt/wd2l > Filesystem Size Used Avail Capacity Mounted on > /dev/wd1l 1020G 952G 16.5G 98% /mnt/wd1l >

Re: Please put vi in base

2022-03-13 Thread Otto Moerbeek
On Sat, Mar 12, 2022 at 10:37:51PM +0100, i...@tutanota.com wrote: > > Here's just the book for you: > > Michael W. Lucas, Ed Mastery > > https://mwl.io/nonfiction/tools#ed > > I already have that book, which is why I KNOW I will never want to use > ed :) It takes less than half an hour to

Re: PF bi-nat

2022-02-24 Thread Otto Moerbeek
On Thu, Feb 24, 2022 at 02:14:55PM +, Laura Smith wrote: > Thanks David for your comprehesive reply. It looks like perhaps the match > trick is the cleanest way. BTW, IMO the descriptin and example in the man page of pf.conf is more clear than the FAQ. -Otto > > > ---

  1   2   3   4   5   6   7   8   9   10   >