Re: Pf congestion troubleshooting

2024-09-17 Thread Marc Boisis
Hi, thank you very much for your help, it was a NAS sending 4000pps of "arp who-as" to all of this clients. Marc > On 13 Sep 2024, at 12:16, Peter N. M. Hansteen wrote: > > Hi, > > As Tom mentioned, one of the least resource consuming ways to identify sources > and

Pf congestion troubleshooting

2024-09-12 Thread Marc Boisis
bc:97:e1:d8:55:b0 841039615 0 1905162366 31036 0 Thanks for your help. Marc

Re: Missing vlan interfaces in OPENBSD-PF-MIB::pfIfTable

2024-06-11 Thread Marc Boisis
gt; wrote: > > On Tue, 2024-06-11 at 14:56 +0300, Kapetanakis Giannis wrote: >> On 10/06/2024 18:43, Marc Boisis wrote: >>> Hello, >>> >>> I've a 7.5 openBSD router, when I'm asking OPENBSD-PF-MIB I have only 64 >>> physicals and carp in

Missing vlan interfaces in OPENBSD-PF-MIB::pfIfTable

2024-06-10 Thread Marc Boisis
st all interfaces (carp and vlan). Is there a setting or a limit to configure to see vlan interfaces in OPENBSD-PF-MIB and especialy in OPENBSD-PF-MIB::pfIfTable ? Ps: In openbsd 6.5, OPENBSD-PF-MIB::pfIfTable contain all interfaces Regards Marc

Re: ubnt edgerouter 8

2024-04-30 Thread Marc Peters
Am Tue, Apr 30, 2024 at 12:03:10PM UTC, schrieb Stuart Henderson: > Do be aware that they often have less airflow than the original fans. > > Sometimes that is not a problem, but sometimes you might want to think > twice (especially in, say, the power supply in poe switches, which might > end up g

Re: ubnt edgerouter 8

2024-04-30 Thread Marc Peters
eg. https://noctua.at/en/nf-a4x10-flx hth, Marc

Re: mountd

2024-01-09 Thread Marc Espie
On Tue, Jan 09, 2024 at 07:27:47AM +0100, Otto Moerbeek wrote: > resreved means that the port number is below 1024. The RPC system, > (which is used to implement NFS) iuses portmapper to determine which > service runs on which port. What problem are you trying to solve? I'm not a fan of that termi

Re: cumbersome mtree

2023-11-28 Thread Marc Espie
We used to use mtree for packages at well. At some point, it was simpler to just give up and roll our own format for the same thing. There are many many limitations to mtree

Re: Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-19 Thread Marc Chantreux
else >&2 echo "$awk don't" fi <<-% baaab baab % for awk in gawk mawk "busybox awk"; do does done which leads me to gawkdoes mawkdon't busybox awk does Sorry about the fake news :/ Regards, Marc

Re: Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-17 Thread Marc Chantreux
, causing > a great deal of confusion. It would be nice to compare all those langages. I just googled and found this: https://gist.github.com/CMCDragonkai/6c933f4a7d713ef712145c5eb94a1816 Regards and thanks again for enlightening me today. Marc

Why is BRE still around? (Re: Porting shell scripts from Tiny Tools)

2023-11-17 Thread Marc Chantreux
r good reason for BRE to be still alive? (perfomance, simplicity, or anything else). Regards. Marc

Re: Upgrading, release by release, from 6.8 to 7.4 -- my experience

2023-11-16 Thread Marc Espie
On Wed, Nov 15, 2023 at 03:12:09PM -0700, Austin Hook wrote: > One little glitch from all the process is that somehow I must have lost a > file or failed to delete a file that has something to do the default > character set files or pointers for xterm under "fvwm". A new xterm > starts automati

Re: __dead

2023-11-07 Thread Marc Espie
On Tue, Nov 07, 2023 at 03:08:18PM +, Lucretia wrote: > I've seen __dead a few places in the source code, does this mean it isn't > functional anymore, or maybe just deprecated? > It's the old non-standard representation for __attribute__(__noreturn__) in code, to stop the compiler whining

Re: mount softdep — does it improve the situation for unexpected shutdowns?

2023-11-05 Thread Marc Espie
Not quite sure how much has been discussed publically, but we don't currently have the manpower to handle lots of complicated parts, and it seems that softdep, in its current state, needs the hand of Kirk McKusick to work. So the current strategy has been to make the moving parts simpler (softdep,

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Marc Espie
On Wed, Oct 18, 2023 at 09:38:32PM +0200, Theo Buehler wrote: > On Thu, Oct 19, 2023 at 01:39:00AM +0900, Yoshihiro Kawamata wrote: > > From: Marc Espie > > Subject: Re: ldd error with setuid/setgid binaries > > Date: Wed, 18 Oct 2023 18:04:45 +0200 > > > > &

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Marc Espie
On Wed, Oct 18, 2023 at 11:41:12PM +0900, Yoshihiro Kawamata wrote: > From: "Theo de Raadt" > Subject: Re: ldd error with setuid/setgid binaries > Date: Wed, 18 Oct 2023 06:35:51 -0600 > > > You don't explain why you need to do this. You just completely skipped > > that. > > You don't justify w

Re: Understanding -current as 7.4 is released

2023-10-06 Thread Marc Espie
On Thu, Oct 05, 2023 at 12:45:56PM -0400, Ronald Dahlgren wrote: > Hello friends, > > I’ve been running -current for several months now. Recently I started using > “-D snap” when updating packages with pkg_add. > > I ask the list to help me understand what, if anything, I need to do with > my mac

Re: undocumented command switches -OR- fix documentation fully

2023-09-25 Thread Marc Espie
On Mon, Sep 25, 2023 at 09:05:40PM +0200, Rudolf Leitgeb wrote: > If you document a switch, you are basically required to keep that > functionality around forever. Given that the OpenBSD devs don't like > these --options all that much, I don't see that happening. Submitting > a patch won't change t

Re: undocumented command switches -OR- fix documentation fully

2023-09-25 Thread Marc Espie
Don't rant that long. Sometimes, documentation and code get out-of-synch for a lot of reasons. - trying out stuff and documenting later. - plain forgetting to update the documentation. - having some stuff for a transition period, and then killing it. Your point that stuff that stays around, shou

Re: undocumented command switches -OR- fix documentation fully

2023-09-23 Thread Marc Espie
Apart from the obvious troll, I believe there is a point. >From time to time, I go to other projects and try to figure out how far we are from compatibility... Not documenting compat options means that somebody outside the project would have to guess at stuff, instead of just reading the manpage

Re: pkg_add -vV slow progression

2023-09-19 Thread Marc Espie
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 checked

Re: Update from 6.5 to 7.3

2023-09-08 Thread Marc Espie
On Fri, Sep 08, 2023 at 06:36:57PM +0200, Alessandro Baggi wrote: > > > Il 08/09/23 18:24, Peter N. M. Hansteen ha scritto: > > On Fri, Sep 08, 2023 at 10:01:45AM +0200, Alessandro Baggi wrote: > > > I've a problem. I need to upgrade OpenBSD from 6.5 to 7.3 on an APU2D. > > > This > > > is a fir

Re: Why does `pkg_info -m` show quirks?

2023-08-20 Thread Marc Espie
On Sat, Aug 19, 2023 at 07:21:58PM +0200, Ingo Schwarze wrote: > Hi, > > Stuart Henderson wrote on Fri, Aug 18, 2023 at 05:52:07PM -: > > On 2023-08-18, l...@ena.re wrote: > > >> Also, what is the reason the quirks package does not have a man page? > > Usually, there is no manual page docum

Re: error when pkg_add'ing

2023-07-02 Thread Marc Espie
On Tue, Jun 27, 2023 at 08:56:41PM +0100, li...@xza.fr wrote: > > Having A LOTS of problems in pkg_check usually means something in your > > process is REALLY BAD. > > > > As the guy who wrote (most of) pkg_add/pkg_check, I don't need pkg_check > > all that often. > > > Just wanted to say: thank

Re: error when pkg_add'ing

2023-06-25 Thread Marc Espie
On Sat, Jun 24, 2023 at 06:44:11PM +0200, Pau A.S. wrote: > thanks so much, Marcus; pkg_check helped to identify a LOT of corrupted > files, which I deleted; after that I ran pkg_add -vu and it looks that one > file survived: Having A LOTS of problems in pkg_check usually means something in your p

ifconfig vs lladdr

2022-11-25 Thread Marc Espie
Maybe I'm stupid, but the way we proceeded with disks was with making euids integral part of mount(8). Why not do the same with lladdr and ifconfig (and lower parts) (possibly with an option, though 60a44ce81465 is rather recognizable as a MAC) ?

Re: xine's ffmpegaudio doesn't downmix, sio_getpar() reports 6 channels instead of 2

2022-10-03 Thread Marc Espie
On Mon, Oct 03, 2022 at 09:26:31AM +0200, Alexandre Ratchov wrote: > On Thu, Sep 22, 2022 at 04:31:58PM +, adr wrote: > > Hi, > > > > first of all, I've never contributed to the xine project, and > > I don't have any experience with sndio, so bear with me... > > > > Frustrated with the bad so

inaccuracy in the faq regarding ntpd

2022-09-26 Thread Marc Beste
t; message will appear in /var/log/daemon' it should say: 'a "clock is now synced" message will appear in /var/log/daemon' I have observed this on OpenBSD 7.1 amd64. Thank you very much for your time and effort. Best regards, Marc

Re: A minimal browser in base

2022-09-14 Thread Marc Espie
We used to have lynx in the base system. It was removed because of security concerns and no-one willing to audit/replace it. This is a fairly common pattern in OpenBSD. Considering the complexity of the web, I don't see this ending any differently with any other text browser.

Re: port builds with inline source

2022-07-05 Thread Marc Espie
On Wed, Jun 29, 2022 at 04:51:49PM -0700, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > We have a number of in-house utilities that we push out as packages. > Right now these are built using the standard make framework, with > a bunch of hand-crafted glue to build and sign the packages before > pushin

reminder: ports snapshots go with base snapshots

2022-06-04 Thread Marc Espie
If you don't update base first (as you should always do), recent package snapshots will break. Code to parse the hash after @option always-update was added on May 26. Package snapshots built after May 28 use that new syntax. You will notice fairly early, as quirks uses @option always-update th

Re: broken Compress::Bzip2 module in OpenBSD 7.1

2022-05-31 Thread Marc Espie
On Mon, May 30, 2022 at 08:22:27PM -0300, Alceu Rodrigues de Freitas Junior wrote: > Hello folks, > > I think I might have found a bug with OpenBSD 7.1 (7.1 GENERIC.MP#465 amd64) > default perl, but first I would like to at least investigate a bit further. > > During a execution of a CPAN Smoker

Re: OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-08 Thread Marc Espie
On Sun, May 08, 2022 at 10:42:52AM +0200, Hiltjo Posthuma wrote: > On Sat, May 07, 2022 at 10:13:40PM +0200, Marc Espie wrote: > > On Fri, May 06, 2022 at 08:13:42AM -, Stuart Henderson wrote: > > > On 2022-05-06, Theo Buehler wrote: > > > > While we could readil

Re: OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-07 Thread Marc Espie
On Fri, May 06, 2022 at 08:13:42AM -, Stuart Henderson wrote: > On 2022-05-06, Theo Buehler wrote: > > While we could readily make libssl fall back to the legacy stack if > > SSL_OP_NO_TICKET is disabled, I don't think this optimization outweighs > > the overall benefit of TLSv1.3 - better pro

Re: Howto do "a detailed cleanup with the aid of the sysclean package"?

2022-05-06 Thread Marc Espie
Look, can we all just agree it is just a question of adding appropriate verbiage to the port/package, sticking a huge CAVEAT on the documentation leading to it, and go back to writing actual code ?

Re: Howto do "a detailed cleanup with the aid of the sysclean package"?

2022-05-04 Thread Marc Espie
On Wed, May 04, 2022 at 07:45:32AM -0400, Raul Miller wrote: > On Wed, May 4, 2022 at 4:15 AM Sebastien Marie wrote: > > The main problem I am seeing would be maintaining such lists, and it > > necessary > > means manual addition to add only "safe" files to remove (no libraries at > > least). >

Re: pkg-readmes missing for gnome and kde?

2022-05-02 Thread Marc Espie
On Sun, May 01, 2022 at 11:31:07PM +0300, Mihai Popescu wrote: > On Sun, May 1, 2022 at 11:17 PM Antoine Jacoutot > wrote: > > > > On Sun, May 01, 2022 at 11:06:15PM +0300, Mihai Popescu wrote: > > > On Sun, May 1, 2022 at 9:05 PM Antoine Jacoutot > > > wrote: > > > > > > > > On Sun, 2022-05-01

Re: Font Path prompt in pkg_add

2022-04-29 Thread Marc Espie
On Thu, Apr 28, 2022 at 02:37:39PM -0500, Christopher Turkel wrote: > I'm on OpenBSD AMD64 7.1, fresh install > I noticed when adding fonts via pkg_add it no longer prints out "You may > wish to" after installation is finished. It's related to the evolution of X windows. Quite a few years ago

Re: OpenBSD and multitasking

2022-04-27 Thread Marc Espie
On Tue, Apr 26, 2022 at 01:40:46PM +0200, Stefan Hagen wrote: > Mihai Popescu wrote (2022-04-26 01:13 CEST): > > I use OpenBSD amd64 snapshots on the following dmesg hardware. > > The download rate on a browser was slow and I figured out with some > > memory mapped partition that disk transfer rate

syspatch brought system to 7.1-stable (was Re: Sprurios errors from syspatch -c)

2022-04-22 Thread Marc Peters
eady hit by that mishap. Best, Marc

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

2022-04-19 Thread Marc Espie
For people who really want to tinker with the ports system, perhaps non intuitively, bulk(8) is the manpage that contains the most exhaustive set of information about how you might want to configure your system and the choices involved.

Re: [www] ports: delete note about $OpenBSD$

2022-04-07 Thread Marc Espie
On Thu, Apr 07, 2022 at 02:33:36PM +0300, Mikhail wrote: > This advice no longer needed. > > diff --git a/faq/ports/guide.html b/faq/ports/guide.html > index 9cfe0db80..ae3d1d79c 100644 > --- a/faq/ports/guide.html > +++ b/faq/ports/guide.html > @@ -1303,12 +1303,6 @@ OpenBSD is strongly security-

Re: chroot for go webserver with pledge and unveil

2022-03-16 Thread Marc Espie
On Tue, Mar 15, 2022 at 11:32:19PM +0100, i...@tutanota.com wrote: > Since Go has support for pledge and unveil, I was thinking about > "imitating" the setup for httpd. > > I basically need to run a Go webserver with access to MariaDB, > but would like to chroot the Go webserver. > > I was thinki

Re: Please put vi in base

2022-03-14 Thread Marc Espie
On Sun, Mar 13, 2022 at 05:54:03PM -0700, Jacqueline Jolicoeur wrote: > Hi, > > On Mar 12 16:39, i...@tutanota.com wrote: > > I know I am not going to get any points for this, but I had to fix a broken > > OpenBSD box today that could not boot and I didn't have any network for a > > couple of ho

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Marc Espie
On Thu, Feb 10, 2022 at 11:25:40AM -0500, Nick Holland wrote: > On 2/10/22 6:34 AM, Kacper Wilgus wrote: > > I tried to download some artwork from these pages: > > > > https://www.openbsd.org/art1.html > > https://www.openbsd.org/art2.html > > https://www.openbsd.org/art3.html > > > > But only th

Re: pkg_add -u fails with "failed to open CA file '/etc/ssl/cert.pem': Permission denied"

2022-01-24 Thread Marc Espie
On Mon, Jan 24, 2022 at 10:21:33AM +0100, Harald Dunkel wrote: > I highly appreciate the carefulness, but the error message doesn't > indicate a user "_pkgfetch", nor is it mentioned on pkg_add(1). > Please reconsider my suggestion made on 2022-01-14: > Note that smtpd(8) doesn't mention all the

Re: pkg_add -u fails with "failed to open CA file '/etc/ssl/cert.pem': Permission denied"

2022-01-18 Thread Marc Espie
On Tue, Jan 18, 2022 at 04:37:00PM +0100, Harald Dunkel wrote: > On 2022-01-17 18:02:25, Marc Espie wrote: > > > > Lol. > > > > cert.pem only contains public certificates. Insisting on only root being > > able to read it means you are going to run code as root

Re: pkg_add -u fails with "failed to open CA file '/etc/ssl/cert.pem': Permission denied"

2022-01-17 Thread Marc Espie
On 2022-01-14, Harald Dunkel wrote: > On 2022-01-14 10:42:56, Harald Dunkel wrote: >> >> Hi folks, >> >> trying to upgrade the installed packages I get >> >> # pkg_add -u >> https://cdn.openbsd.org/pub/OpenBSD/7.0/packages-stable/amd64/: TLS connect >> failure: failed to open CA file '/etc/ssl

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Marc Espie
On Mon, Jan 10, 2022 at 10:54:22AM -0500, Ian Darwin wrote: > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > > > of developer tools I use, like GCC and Git. When I attempt to install > > > > GCC I am prompted: > > > > > > > > $ sudo pkg_add gcc g++ > > > > q

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Marc Espie
[forgot to Cc the list] On Mon, Jan 10, 2022 at 11:36:04AM +0100, Marc Espie wrote: > On Sun, Jan 09, 2022 at 10:03:01PM -0500, Jeffrey Walton wrote: > > Hi Everyone, > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > of developer too

Re: pkg_add issues

2022-01-03 Thread Marc Espie
On Mon, Jan 03, 2022 at 12:21:17PM -, Stuart Henderson wrote: > On 2022-01-02, Jon Fineman wrote: > > I am in New Jersey. Is there a way for me to tell what the cdn was > > pointing to to help find the slow/sick server? > > It's shown in HTTP response headers from cdn. Almost certainly > it

Re: Exit status of pkg_add

2021-10-21 Thread Marc Espie
On Tue, Oct 19, 2021 at 10:42:04AM +0900, Yuichiro NAITO wrote: > Following patch changes pkg_add to return a error code, > if a package name is wrong. > > diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm > b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm > index 7a968cbf05d..39bee874ff1 100644 > --- a/u

Re: Keeping a personal ports branch

2021-10-15 Thread Marc Espie
On Fri, Oct 15, 2021 at 10:25:17AM -, Rubén Llorente wrote: > Hi there! > > I am wondering how does people around here keep local branches of the ports > tree for personal use. > > The reason I am asking is because I keep some patched ports which are suited > to solve my problems, but not sui

Re: pkg_add still reporting incorrect actions

2021-10-12 Thread Marc Espie
On Sun, Oct 10, 2021 at 09:29:24AM -, Stuart Henderson wrote: > On 2021-10-10, Otto Moerbeek wrote: > > On Sun, Oct 10, 2021 at 11:09:58AM +0300, Mihai Popescu wrote: > > > >> On Sat, Oct 9, 2021 at 11:55 PM Chris Bennett < > >> cpb_m...@bennettconstruction.us> wrote: > >> > >> > On Sat, Oct

Re: Why is tmpfs not working on OpenBSD?

2021-09-13 Thread Marc Espie
to get people to look at it, especially when it is not the most used port in the world. (I do follow the "okay required to new ports rule" and I have to nag to get things in as well) -- Marc

Re: Why is tmpfs not working on OpenBSD?

2021-09-06 Thread Marc Espie
On Sun, Sep 05, 2021 at 10:12:33PM +, iio7 wrote: > > On 2021-09-05, iio7 < > i...@protonmail.com > > wrote: > >> # mount -t tmpfs tmpfs /home/foo/tmp/ > >> mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported > > > It isn't built into the standard kernels, disabled with this commit::

Re: vi: count occurrences of a substring

2021-09-04 Thread Marc Chantreux
> Otherwise, if I try to just type > :!sed s/abc/abc\/g % | grep -c abc > and press enter, I only get the same output I also get out of same here! I so much wish it worked! regards marc

(technology sucks anyway) Re: vi: count occurrences of a word

2021-09-04 Thread Marc Chantreux
go :) > Is anyone able to make sense of this? Does anyone know if there's a > reason or rationale behind the BSD sed implementation when it comes to > newlines? life is made of trades off :) sorry. regards, marc

Re: vi: count occurrences of a word

2021-09-04 Thread Marc Chantreux
Your new subject line is slightly imprecise, as words are usually > whitespace-delimited, and I was "looking for a way to count > occurrences of > 'abc' in FILE". Not every substring is a word. right ... wasn't thinking that much to the name. sorry :) regards marc

Re: vi: count occurrences of a word

2021-09-04 Thread Marc Chantreux
ditor but it's really helpful for simple sysop tasks. >From time to time, someone starts a new clone to try to reach a new balance but vim and nvi pleases enough people so those projects are doomed. regards, marc

vi: count occurrences of a word

2021-09-03 Thread Marc Chantreux
, ( length $$_{name} ? $$_{name} : "NONAME" ) ), @{ decode_json $_ } ' $1 | fzf | awk '{print "bu "$1}' > $2 } regards marc

Re: vi golf: command on a motion?

2021-09-03 Thread Marc Chantreux
ng the same replacement via a vi command is using the > & command which operates on one line. i forgotten & (not that useful in vim) but yes! now you reminds me, it makes perfect sense to use it in nvi. thanks. marc

vi golf: command on a motion?

2021-09-03 Thread Marc Chantreux
to replace the ! by s/foo/bar and i get the job done. anything i missed in the doc to be that concise with vi? regards. marc

Re: Why 16 year old zlib 1.2.3 in OpenBSD 6.9 released May 2021 please?

2021-07-06 Thread Marc Espie
On Thu, Jun 24, 2021 at 02:56:16PM -0600, Theo de Raadt wrote: > > I think the easiest path here is to incorporate the new upstream into a > > port, unless someone is familiar with zlib and can cherrypick out the > > commit(s) that resolve the issue. (I didn't find zlib in ports already.) > > That

Re: Who is responsible for ports.su? (admittedly a non-canon resource)

2021-06-15 Thread Marc Espie
I think that his approach is doomed to fail. There are a lot of tricky parts to flavors and multipackages and normalization. If you don't use the actual ports/packages framework code, you have to figure it out all over again by yourself. and there are lots of gremlins. The official code is bas

Re: Packages/libraries in disarray after sysupgrade

2021-05-14 Thread Marc Espie
On Thu, May 13, 2021 at 10:47:11PM +, tetrahe...@danwin1210.me wrote: > After upgrading 6.8->6.9 (stable, not current) using sysupgrade, I am > finding it not possible to install packages via pkg_add > > When I try to install something, I get a series of errors like " dependency library name>:

Re: Can't compile php from ports

2021-05-08 Thread Marc Espie
On Fri, May 07, 2021 at 11:08:00PM +, Mik J wrote: > Hello, > Does anyone knows why compiling php from ports systematically fails ? It's > been since openbsd 6.8 that it acts this way Why do you ask this on misc@ instead of ports@ ? Second, it actually works for all of us... so it must be so

Re: Fwd: rethinking terminal login with security in mind

2021-05-05 Thread Marc Espie
On Wed, May 05, 2021 at 01:44:24AM +0200, Alessandro Pistocchi wrote: > Sorry, my keyboard went crazy and the message was sent incomplete. > > Continuing: normally the entry of username is immediately followed by the > password entry. > However, if the OS is busy for any reason between the two ent

Re: Cultural underground legende Seymour Cray and his legacy

2021-04-22 Thread Marc Espie
Is this a new UMF experiment ?

Re: Documentation on OpenBSD's 3-process privsep model?

2021-03-30 Thread Marc Espie
es pointed to skeleton examples at > > github.com/krwesterback/newd and github.com/krwesterback/newdctl, but > > those repos are now dead and it's unclear how authoritative they were > > in the first place. > > > > > > Blind leading the blind here, but I t

Re: GCC only on OpenBSD adds -L/usr/lib as prefix, why? Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-03-03 Thread Marc Espie
On Wed, Mar 03, 2021 at 06:10:22PM +, Bob wrote: > Does that -L/usr/lib really need to be in the leading position??? I have zero idea how to do that purely in specs. Have fun tinkering. This is probably something we'll adopt but low priority. > * Where is GCC's default specs file say fo

Re: GCC only on OpenBSD adds -L/usr/lib as prefix, why? Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-03-03 Thread Marc Espie
Do you have some actual reason to use gcc for that project instead of clang ?... as far as -L goes you've got a lot of choices, between linking directly to the .so, linking with --nostdlib and putting back the pieces manually. it's been a long time since I've last looked at gcc, we've moved to

Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-02-24 Thread Marc Espie
On Wed, Feb 24, 2021 at 02:17:14PM -, Stuart Henderson wrote: > On 2021-02-23, Bob wrote: > > Hi, > > > > I am trying to make a custom build of libpng in my home directory, > > using a libz build that I made in my home directory also. > > > > Both are latest version, libpng 1.6.37 same as Open

Re: pkg_add version scripting ?

2020-11-01 Thread Marc Espie
On Sun, Nov 01, 2020 at 12:59:22PM +, Laura Smith wrote: > > > I did actually try "pkg_add gnupg%2" but pkg_add didn't like that. Will go > try "pkg_add gnupg%gnupg2" instead The branches are directly picked from the pkgpath in the ports tree. It's the one case where they have an actu

Re: pkg_add version scripting ?

2020-11-01 Thread Marc Espie
On Sun, Nov 01, 2020 at 12:23:44PM +, Laura Smith wrote: > Hi > > As far as I can tell from the docs, only pkg_info supports spec style ? > > I am trying to script an OpenBSD setup and as part of that certain packages > need to be installed. For most packages that is not a problem, however,

Re: Using ports and updates to the release

2020-10-28 Thread Marc Espie
On Sun, Oct 11, 2020 at 09:12:13PM +0200, Ingo Schwarze wrote: > Hi Ed, > > Ed Gray wrote on Sun, Oct 11, 2020 at 07:21:32PM +0100: > > > I'm still fairly new to openbsd and the idea of using ports > > in general rather than binary packages. > > You are usually better off using packages than usi

Re: support new

2020-10-01 Thread Marc Chantreux
hello Ottavio, > BTW, for the non-initiated, what is this? https://www.openbsd.org/groups.html see the "this template" link to go there: https://www.openbsd.org/grp-tmpl.txt cheers, marc

Re: Does OpenBSD support Carrier Grade Nat?

2020-08-07 Thread Marc Peters
ers may use pppoe for this. Your router will not be reachable via v4, of course. It's only available via IPv6. Best, Marc

Re: Does OpenBSD support Carrier Grade Nat?

2020-08-07 Thread Marc Peters
On Fri, Aug 07, 2020 at 12:12:14PM +, Edward Carver wrote: > Does OpenBSD support Carrier Grade Nat (cg-nat)? > Thanks for helping.. My router sits behind one, so yes. hth, Marc

Re: strlcpy version speed tests?

2020-07-01 Thread Marc Espie
On Wed, Jul 01, 2020 at 07:05:02AM -0500, Luke Small wrote: > Are you clinging to traditions for some purpose? I gave two different > versions. strlcpy3 is clearly more easily understood and even slightly > faster and strlcpy4 which sets up the following workhorse lines which > through timing the f

Re: How do I get the man page for a package I haven't installed yet?

2020-06-26 Thread Marc Espie
On Tue, Jun 23, 2020 at 12:20:35PM -0600, Theo de Raadt wrote: > Ottavio Caruso wrote: > > > Hi, > > > > Unless I've got it all wrong, will only > > display man pages for programs and commands in base. Is there a way to > > display the man page for a package/port I hav

Re: New tool to (quickly) check for available package upgrades

2020-06-18 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:12:08PM -, Stuart Henderson wrote: > On 2020-06-17, Marc Espie wrote: > > The only way you end up with broken installations is when porters don't do > > their jobs, that is they fail to bump a shared library or something like > > that. &

Re: New tool to (quickly) check for available package upgrades

2020-06-18 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:12:08PM -, Stuart Henderson wrote: > This is already a problem when pkg_add fetches the directory listing > (though a smaller one because the filenames don't change as often). > > Firstly the contents of the mirror can change during the pkg_add run > so the listing b

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:44:32AM -0400, Jeremy O'Brien wrote: > On Wed, Jun 17, 2020, at 08:47, Marc Espie wrote: > > On Wed, Jun 17, 2020 at 08:28:02AM -0400, Jeremy O'Brien wrote: > > > On Tue, Jun 16, 2020, at 21:02, Marc Espie wrote: > > > > >

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Marc Espie
On Wed, Jun 17, 2020 at 08:28:02AM -0400, Jeremy O'Brien wrote: > On Tue, Jun 16, 2020, at 21:02, Marc Espie wrote: > > > > The concept you need to understand is snapshot shearing. > > > > A full package snapshot is large enough that it's hard to guarantee t

Re: New tool to (quickly) check for available package upgrades

2020-06-16 Thread Marc Espie
On Tue, Jun 16, 2020 at 04:59:07PM -0400, Jeremy O'Brien wrote: > Hey misc@, > > I wrote a quick little tool here: > https://github.com/neutralinsomniac/obsdpkgup in Go to show available package > upgrades from your configured mirror. > > It takes no more than a few seconds (the time it takes t

Re: __printflike macro on OpenBSD

2020-06-11 Thread Marc Espie
On Thu, Jun 11, 2020 at 06:22:55PM +, sensiblehue wrote: > On Thu, Jun 11, 2020 at 03:08:01PM +0200, Marc Espie wrote: > > On Thu, Jun 11, 2020 at 04:37:34AM +, sensiblehue wrote: > > > Hello, > > > I was wondering why OpenBSD doesn't have a `__printflike&#

Re: __printflike macro on OpenBSD

2020-06-11 Thread Marc Espie
On Thu, Jun 11, 2020 at 04:37:34AM +, sensiblehue wrote: > Hello, > I was wondering why OpenBSD doesn't have a `__printflike' macro in > ? FreeBSD, NetBSD, and DragonflyBSD have it and it's also > available from libbsd on Linux. > Personally I think it's cleaner and just as portable if not more

Re: writing aucat output

2020-06-05 Thread Marc Espie
On Fri, Jun 05, 2020 at 01:02:18PM +0200, Peter J. Philipp wrote: > On Fri, Jun 05, 2020 at 12:50:53PM +0200, Marc Espie wrote: > > On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > > > Hi, > > > > > > I'm wondering how I can write

Re: writing aucat output

2020-06-05 Thread Marc Espie
On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > Hi, > > I'm wondering how I can write to stdout on aucat? Here is what I have: > > beta$ /usr/bin/aucat -r 44100 -h wav -i ewhist2.wav -o - | hexdump -C > stdout: failed to seek back to header > beta$ /usr/bin/aucat -r 44100 -h

Re: Forgetting pkg_add -u after sysupgrade can cause ansible msyscall errors

2020-05-31 Thread Marc Espie
On Sun, May 31, 2020 at 08:19:18PM +0200, Jurjen Oskam wrote: > Hi, > > For the sake of the archives and future search engine users, I'll share what > can happen when you use sysupgrade to upgrade your OpenBSD host but then > forget to run update your installed packages. (Yep, silly mistake, I kno

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 01:15:36PM -0700, Amarendra Godbole wrote: > Aha! So my hunch was right -- I thought that'd be the case seeing the > comments under your name that were totally out of character from your > posts here. > > -ag > > On Thu, May 28, 2020 at 12:08 PM Kevin Chadwick wrote: > >

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 07:58:45PM +, Kevin Chadwick wrote: > On 2020-05-28 18:38, Amarendra Godbole wrote: > > It indeed is written by someone lacking knowledge about everything. It > > is funny, and gave me a good laugh - the comments are even funnier! > > Be aware that the author deletes yo

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 01:16:59AM -0300, Quantum Robin wrote: > Hi, > > While surfing on the Google to learn more about OpenBSD, I encountered this > one: "OpenBSD: Not Free Not Fuctional and Definetly Not Secure ( > https://aboutthebsds.wordpress.com/2013/01/25/20/) > > Is the author telling th

Re: Problem with pkg_add -uv after 6.7 upgrade on i386

2020-05-25 Thread Marc Espie
On Mon, May 25, 2020 at 01:01:07PM +0200, Paolo Aglialoro wrote: > Hello Folks, > > I just upgraded a PIII box freshly installed with 6.6 last month. > Everything went right with sysupgrade (big kudos do devs). > > Problems started when upgrading installed packages, here follows the output >

Re: Why does OpenBSD still include Perl in its base installation?

2020-05-25 Thread Marc Espie
Another thing to consider: why is perl in the base system. Assume you need a script language, because writing everything in C is cumbersome. What are the choices ? - you need something under and acceptable licence, so python is out. (Artistic Licence is "close enough"); - you need something that

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Marc Espie
On Tue, May 19, 2020 at 07:06:05AM +, Frank Beuth wrote: > On Wed, May 20, 2020 at 02:07:27PM -0400, Chris Bennett wrote: > > Please don't beg for features. > > That's very irritating and wastes everyone's time. > > > > Please don't ask for features, once again. > > Really, I mean it. Don't as

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-19 Thread Marc Espie
On Mon, May 18, 2020 at 08:43:19PM +0100, Ottavio Caruso wrote: > Some of these documents have a proprietary licence attached to it and > I believe it's due to the 1994 AT&T settlement. There are third party > collections (like this: https://github.com/sergev/4.4BSD-Lite2) but > I'm not sure if one

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-18 Thread Marc Espie
On Mon, May 18, 2020 at 01:07:36PM -0400, Andras Farkas wrote: > I saw in fsck_ffs.8 > https://man.openbsd.org/fsck_ffs.8 > that the answers could be found in > Fsck_ffs - The UNIX File System Check Program > This is perfectly fine. Not every piece of information belongs in a > man page. Man page

Re: fw_update verify firmware?

2020-05-14 Thread Marc Espie
On Thu, May 14, 2020 at 04:25:11AM +, Mogens Jensen wrote: > I was just trying out the fw_update program on OpenBSD 6.5, deleting/ > installing all the firmware and was wondering if fw_update will verify > the files before installing? Others pointed out that firmwares are signed. For a while

  1   2   3   4   5   6   7   8   9   10   >