Re: `man backtrace` should name the required linker flag (`-lexecinfo`)

2023-10-08 Thread Marc Espie
On Mon, Oct 09, 2023 at 01:58:27PM +1100, Jonathan Gray wrote: > > So tldr: `man backtrace` should name the required linker flag (-lexecinfo) > > from mdoc(7): > > .\" .Sh LIBRARY > .\" For sections 2, 3, and 9 only. > .\" Not used in OpenBSD. > > note about it not being used added by jmc@ in

Re: kernel reordering happily consumes invalid objects

2023-07-02 Thread Marc Espie
Look, any kind of actual work on security requires an actual threat model and a defined perimeter. Paranoid delusions won't get you anywhere.

Memory issue on desktop at home, probably Radeon related

2023-03-02 Thread Marc Espie
Every few days, my desktop at home suddenly slows down. Looking at top, I can see that literally everything is being forced into swap (I have 16G of memory, when the problem starts, I usually have roughly 5-7G of memory used, so very far below the limit, and I can see it drain into swap, until

Re: pkg_add/delete slow, not informative and other issues

2022-02-15 Thread Marc Espie
On Mon, Feb 14, 2022 at 10:51:34AM +0100, bug.ig...@aleeas.com wrote: > As a new OpenBSD user I found some issues with pkg_add and pkg_delete > compared to other package managers I tried. I tried apt, pacman, xbps, > dnf, pkg (freebsd). There are probably other users with far more > experience

Re: No purchase of OpenBSD cd's on openbsd.org

2022-01-24 Thread Marc Espie
On Sun, Jan 23, 2022 at 08:59:08PM -0600, Antonio Gandara wrote: > I see now that openbsd.org only offers a download hyperlink for the > operating system. What happened to purchase the operating system, I greatly > miss this feature and all the neat stickers I would also be provided with, > Why

Re: `pkg_info -Q` fails with branch name

2021-10-30 Thread Marc Espie
On Wed, Oct 27, 2021 at 02:43:45PM +0900, Yuichiro NAITO wrote: > I've tried to search python 2.7 package with a branch name. > `pkg_info -Q` fails with following message. > > $ pkg_info -a -Q python%2.7 > Can't locate object method "match" via package > "OpenBSD::Search::FilterLocation" at

Re: `toe` reference in man 7 term

2021-09-13 Thread Marc Espie
On Thu, Sep 09, 2021 at 09:34:51AM +0100, Laurence Tratt wrote: > `man 7 term` contains the following: > > Terminal type descriptions are stored as files of capability data > underneath /usr/share/terminfo. To browse a list of all terminal names > recognized by the system, do > >

Re: Maverick word in the sort(1) manpage

2021-09-06 Thread Marc Espie
On Sat, Sep 04, 2021 at 09:28:14PM +0200, Ingo Schwarze wrote: > Hi Wilfried, > > wilfried.mei...@gmail.com wrote on Sat, Sep 04, 2021 at 08:20:59PM +0200: > > > Synopsis: Maverick word in the sort(1) manpage > > Category: documentation > [...] > > There is a superfluous word in the

Re: pkg_add -u Base64.c: loadable library and perl binaries are mismatched

2021-05-04 Thread Marc Espie
There are two issues in there: one is using cpan and not breaking stuff, for which I don't know the solution, which is probably what afresh suggests. On the other hand, we have base perl looking under /usr/local which is not bad per se. But base tools need to be restricted a bit, most probably

Re: automake distcheck target fails from C files left from lex sources

2020-04-15 Thread Marc Espie
On Tue, Apr 14, 2020 at 10:02:06PM -0700, Paul Hardy wrote: > Version 2.0 of my Unibetacode package is also under > http://unifoundry.com/pub/unibetacode but it won't build on OpenBSD > 6.6 because (among other reasons) the latest version of libtool > available through pkg_add is older than what

Re: pkg_info -Q shows incomplete package results on 6.6 release/stable

2020-02-19 Thread Marc Espie
On Tue, Feb 18, 2020 at 12:26:05PM +0100, Marc Espie wrote: > On Mon, Feb 10, 2020 at 09:23:24PM -0500, Morgan Aldridge wrote: > > >Synopsis: `pkg_info -Q` shows incomplete package results on 6.6 > > release/stable > > >Category: package

Re: pkg_info -Q shows incomplete package results on 6.6 release/stable

2020-02-18 Thread Marc Espie
On Mon, Feb 10, 2020 at 09:23:24PM -0500, Morgan Aldridge wrote: > >Synopsis: `pkg_info -Q` shows incomplete package results on 6.6 > release/stable > >Category: package management > >Environment: > > System : OpenBSD 6.6 > > Details : OpenBSD 6.6 (GENERIC.MP)

Re: pkg_add fails with error "TLS connect failure: failed to set session"

2020-02-01 Thread Marc Espie
On Sat, Feb 01, 2020 at 12:48:40PM +0100, Sven Wolf wrote: > Hi, > > I did some debugging on the server side. > Even with loglevel trace5 and also different TLS versions (I tested 1.1, 1.2 > and 1.3) I didn't find the root cause. > > In the attachment you'll find the export of the Apache error

Re: pkg_add fails with error "TLS connect failure: failed to set session"

2020-01-31 Thread Marc Espie
On Fri, Jan 31, 2020 at 09:24:08PM +0100, Sven Wolf wrote: > Hi, > > I run current. After I run sysupgrade today (GENERIC.MP #626 build Jan 30) > it's not possible to run pkd_add. I always get the error > TLS connect failure: failed to set session > signify: gzheader truncated > > The error is

It's not make

2020-01-29 Thread Marc Espie
Running t_ptrace manually with the simplest possible code shows the same problem: #include #include #include #include int main() { int i = fork(); if (i == -1) err(1, "fork"); if (i == 0) {

Re: make(1) regression

2020-01-29 Thread Marc Espie
On Wed, Jan 29, 2020 at 02:04:06PM +0100, Martin Pieuchot wrote: > Diff below enables a ptrace(2) regress coming from NetBSD. > > With usr.bin/make built since -D2020-01-14, that includes -current, it > complains during the last test: > > make: Child (52049) not in table? > FAILED >

Re: chmod all /usr/ports/infrastructure/bin binaries...

2019-10-08 Thread Marc Espie
This all has to do with cvs mirrors not keeping chmod'd stuff around properly iirc

Re: Host Header Redirection on openbsd.org

2019-08-05 Thread Marc Espie
Well, the main issue I've seen so far is you flooding my mailboxen with lots of copies of the same useless mp4 video. What a douche.

Re: man page possible correction for ports, bsd.port.mk

2019-06-16 Thread Marc Espie
On Wed, Jun 12, 2019 at 09:08:29AM -0500, myportslist20190...@nym.hush.com wrote: > 2. man bsd.port.mk: in the PORTS_PRIVSEP section, where one adds > these commands to doas.conf: /usr/bin/touch, /usr/sbin/pkg_add, and > /usr/sbin/pkg_delete, I think an additional line is needed: > > permit

Re: man ports says set PLIST_DB but PLIST_DB is deprecated

2019-06-16 Thread Marc Espie
On Sun, Jun 16, 2019 at 07:17:35AM -0500, myportslist20190...@nym.hush.com wrote: > >Synopsis:man ports says set PLIST_DB but PLIST_DB is deprecated > >Category:man pages > >Environment: > System : OpenBSD 6.5 > Details : OpenBSD 6.5-current (GENERIC.MP) #22: Wed Jun

Re: Missing file and Man page for out-of-date

2019-05-25 Thread Marc Espie
As for the full story, this is a whole sequence of events. Committee decided ports/infrastructure/man didn't belong in default manpath, because it's not part of sacro-sanct base. Fine, let's move the man pages to base. And then, Theo said some of those names are way too generic, we can't have

Re: signify error when installing ports on -current

2019-05-19 Thread Marc Espie
On Sun, May 19, 2019 at 06:25:03PM +0200, Matthias Schmidt wrote: > Hi, > > today I wanted to upgrade my local ports because of the recent libc > bump. Turns out the ports build system cannot install packages any > longer and fails with a signify error. I only upgrade the two ports > I use

Re: dangling SEE ALSO references and some peculiarities in man pages

2019-04-29 Thread Marc Espie
On Sun, Apr 28, 2019 at 02:16:23PM -0500, Tim Chase wrote: > Dangling SEE ALSO references to man-pages that don't exist: > > dig(1) references missing named(8) and dnssec-keygen(8) > host(1) references missing named(8) > nslookup(1) references missing named(8) > info(5) references missing

Re: confusing install error with no net

2019-03-06 Thread Marc Espie
On Tue, Mar 05, 2019 at 07:29:45PM -0500, Ted Unangst wrote: > Was performing an upgrade, got to the part about asking where the sets are. > Specified http. https didn't work (just an internal httpd server, that's > normal.) Say yes, try http. Get the error that no sets were found. Took me a > few

Re: pkg_info -Q uses only first URL in PKG_PATH

2019-02-14 Thread Marc Espie
On Thu, Feb 14, 2019 at 03:30:47PM +0100, Armin Beširovi�? wrote: > >Synopsis: pkg_info -Q uses only first URL in PKG_PATH > >Category: package management > >Environment: > System : OpenBSD 6.4 > Details : OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT >

Re: make

2018-10-02 Thread Marc Espie
THAT does not work. Or more accurately, this triggers another issue, because we do suffix work even for PHONY nodes, so this breaks autoconf/2.52, which has an install PHONY target, an install.texi file, and a rule for .texi Hilarity ensues. That function SuffFindNormalDeps is entangled enough

Re: make

2018-10-01 Thread Marc Espie
On Tue, Sep 04, 2018 at 10:47:45PM +0100, markwes...@cock.li wrote: > $PROMPT#> ls > 1.c 2.c 3.c Makefilesomething.a > > $PROMPT#> cat Makefile > > .POSIX: > .SUFFIXES:.a .b .c > FINAL_TARGETS_PREREQUISITE_PREREQUISITE=something.a >

witness report

2018-06-18 Thread Marc Espie
This is current, dmesg + a few witness reports. (Lenovo T440s) OpenBSD 6.3-current (GENERIC.MP) #28: Mon Jun 18 00:26:46 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 12540846080 (11959MB) avail mem = 12053241856 (11494MB) mpath0 at root scsibus0 at

Re: make -q does not work (in compat mode)

2018-06-11 Thread Marc Espie
Basically, compat mode vs make-j should disappear at some point. I need to find some time to work on the unified engine...

Re: Minor depency issue with pkg_add -u

2017-12-11 Thread Marc Espie
On Sat, Dec 09, 2017 at 03:52:32PM +, Natasha Kerensikova wrote: > Hello, > > on Saturday 09 December 2017 at 15:41, Natasha Kerensikova wrote: > > I'm not sure how useful this report is going to be, but the gist of it > > is that I expect `pkg_add -u` to just upgrade every thing in a single

Re: File::Copy bug

2017-11-05 Thread Marc Espie
On Sun, Nov 05, 2017 at 03:20:16PM -0700, Andrew Hewus Fresh wrote: > On Sun, Nov 05, 2017 at 02:07:02PM -0700, Andrew Hewus Fresh wrote: > > It probably should. This is the patch I'm going to submit upstream if > > you'd like to try it out. > > As noticed by naddy, my test was faulty and I need

Re: pkg_add: fatal error when updating packages

2017-11-04 Thread Marc Espie
On Sat, Nov 04, 2017 at 05:47:46PM -0400, Michael Reed wrote: > $ sysctl -n kern.version > OpenBSD 6.2-current (GENERIC.MP) #193: Wed Nov 1 12:24:15 MDT 2017 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > > Recently I ran pkg_add -u and it bailed out with an

Re: write.2: caveats: write(2) returns zero?

2017-09-20 Thread Marc Espie
On Wed, Sep 20, 2017 at 09:21:53PM +0200, Ingo Schwarze wrote: > So, apart from being safer for weird devices on weird implementations, > POSIX clearly recommends the idiom for symmetry with read(2) and > for compatibility with some historic implementations - even though > the importance of these

Re: write.2: caveats: write(2) returns zero?

2017-09-18 Thread Marc Espie
On Mon, Sep 18, 2017 at 04:50:41PM +0200, Ingo Schwarze wrote: > Hi Marc, > > Marc Espie wrote on Sun, Sep 17, 2017 at 11:53:39AM +0200: > > On Sat, Sep 16, 2017 at 10:25:19PM -0500, Scott Cheloha wrote: > > >> The second example in the write(2) C

first console unusable due to usb mouse shenanigans

2017-09-17 Thread Marc Espie
This is on current, I get this on repeat very regularly. wsmouse0 detached ums0 detached uhidev0 detached splassert: usb_transfer_complete: want 5 have 6 splassert: usb_transfer_complete: want 5 have 6 splassert: usb_transfer_complete: want 5 have 6 uhidev0 at uhub2 port 1 configuration 1

Re: write.2: caveats: write(2) returns zero?

2017-09-17 Thread Marc Espie
On Sat, Sep 16, 2017 at 10:25:19PM -0500, Scott Cheloha wrote: > Hi, > > The second example in the write(2) CAVEATS section is identical to > the corresponding example in the read(2) page: > > while ((nr = write(fd, buf, sizeof(buf))) != -1 && nr != 0) > > read(2) returns 0 on EOF, but

Re: isunordered(3) man page inconsistent with implementation

2017-08-29 Thread Marc Espie
On Mon, Aug 28, 2017 at 09:48:25AM -0600, Todd C. Miller wrote: > This is not a high quality man page but the following diff corrects > the error. > > - todd > > Index: lib/libc/gen/isgreater.3 > === > RCS file:

Re: pkg_add fatal error

2017-05-13 Thread Marc Espie
On Sat, May 13, 2017 at 02:44:05PM +0200, Martin Pieuchot wrote: > I'm always getting errors, I don't know how to help. I'm just a stupid > user of 'pkg_add -u' on a current machine. > > OpenBSD 6.1-current (GENERIC.MP) #52: Sun May 7 14:56:02 MDT 2017 >

Re: make single-suffix inference rules ignored for paths with slashes

2017-03-13 Thread Marc Espie
I've looked at this. So far no real clue. The maddening thing is that the code that triggers single suffix in the non directory case is the same in freebsd's bmake and ours, so obviously it doesn't trigger when there's an extra directory, as the paths don't match. I'll have to check if there's

Re: Malformed pkg_info output

2016-11-24 Thread Marc Espie
On Sat, Nov 19, 2016 at 11:43:30AM -0800, Eric Pruitt wrote: > On Sun, Oct 23, 2016 at 04:28:04PM -0700, Eric Pruitt wrote: > > >Description: > > When running pkg_info -I with a version spec, the version of > > each entry matching the query is overwritten with the query > >

Re: pkg_add "signify: write to stdout: Broken pipe"

2016-10-12 Thread Marc Espie
On Wed, Oct 12, 2016 at 10:24:25AM +0100, Stuart Henderson wrote: > On 2016/10/12 11:09, Marc Espie wrote: > > On Wed, Oct 12, 2016 at 10:51:59AM +0200, Martin Natano wrote: > > > I've seen this since the new signing method has been implemented. I > > > blamed it on

Re: pkg_add "signify: write to stdout: Broken pipe"

2016-10-12 Thread Marc Espie
On Wed, Oct 12, 2016 at 11:09:30AM +0200, Marc Espie wrote: > On Wed, Oct 12, 2016 at 10:51:59AM +0200, Martin Natano wrote: > > I've seen this since the new signing method has been implemented. I > > blamed it on something being out of date/sync on my machine, but after > > u

Re: pkg_add "signify: write to stdout: Broken pipe"

2016-10-12 Thread Marc Espie
On Wed, Oct 12, 2016 at 10:51:59AM +0200, Martin Natano wrote: > I've seen this since the new signing method has been implemented. I > blamed it on something being out of date/sync on my machine, but after > updating to the latest snapshot yesterday (the one from ftp.fr) it > becomes clear that

Re: pkg_add on snapshot Oct03 removes/destroys? DNS?

2016-10-05 Thread Marc Espie
On Wed, Oct 05, 2016 at 03:09:32PM +0200, Daniel Lidberg wrote: > Howdy, > > Having some really strange issues with pkg_add and DNS. > > 1. pkg_add dkimproxy (or ansible in my case) > 2. starts installing > 3. stops and DNS is broken > > > pkg_delete of all packages and doing a new install

Re: Resizing terminal during "pkg_add -u" causes package to not be updated

2016-08-08 Thread Marc Espie
Well, unless someone can repair connect, here's a very ugly hack that should prevent SIGWINCH from fucking ftp up. Index: fetch.c === RCS file: /build/data/openbsd/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.147 diff -u -p

Re: Resizing terminal during "pkg_add -u" causes package to not be updated

2016-08-08 Thread Marc Espie
On Sat, Aug 06, 2016 at 08:42:35PM -0400, Michael Reed wrote: > >Synopsis:Resizing terminal during "pkg_add -u" causes package to not be > >updated > >Category:user > >Environment: > System : OpenBSD 6.0 > Details : OpenBSD 6.0-current (GENERIC.MP) #2323: Fri Aug 5

Re: pkg_sign incorrectly assumes -i by default

2016-06-06 Thread Marc Espie
This should fix things. Index: AddCreateDelete.pm === RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm,v retrieving revision 1.34 diff -u -p -r1.34 AddCreateDelete.pm --- AddCreateDelete.pm 6 Apr 2015 11:07:24 -

Re: pkg_sign incorrectly assumes -i by default

2016-06-06 Thread Marc Espie
On Mon, Jun 06, 2016 at 04:14:12PM +1000, Jonathan Gray wrote: > The behaviour of pkg_sign acts as if -i is always specified and won't > sign/resign a package if it exists in the output directory. > > In OpenBSD/PkgSign.pm sign_existing_package $state->opt('i') > path is always taken. Does this

Re: Perl module OpenBSD::MkTemp. Unexpected behaviour in scalar context.

2016-05-08 Thread Marc Espie
On Sun, May 08, 2016 at 07:22:07PM +0200, Marc Espie wrote: > > Index: OpenBSD/PkgSign.pm > > === > > RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PkgSign.pm,v > > retrieving revision 1.7 > > diff -u -p -r

Re: Perl module OpenBSD::MkTemp. Unexpected behaviour in scalar context.

2016-05-08 Thread Marc Espie
On Sun, May 08, 2016 at 10:07:00AM -0700, Andrew Fresh wrote: > On Sun, May 08, 2016 at 09:46:47AM +0200, Francesco Toscan wrote: > > On Sat, May 07, 2016 at 08:08:25PM -0700, Andrew Fresh wrote: > > > This minor addition to the patch keeps the existing tests working and > > > adds tests that

Re: FETCH_PACKAGES=Yes does not work when quirks is installed

2016-04-27 Thread Marc Espie
felling sadistic. things work just fine here. Not enough information Martin's email to reproduce. Can you guess what's missing ?...

panic on i386 5.9 with dhclient on bridge

2016-04-11 Thread Marc Espie
Trying out bridges... didn't have the working right, but this shouldn't panic. soekris 4801 (probably doesn't matter)... very short. OpenBSD 5.9 (GENERIC) #1561: Fri Feb 26 01:22:37 MST 2016 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Geode(TM) Integrated

Re:

2016-03-26 Thread Marc Espie
On Wed, Mar 23, 2016 at 10:07:25PM -0600, Theo de Raadt wrote: > I concur with espie@'s commit message for r1.119 that I "deserve > this." > That said, actually emitting the message "Couldn't change identity..." > would still be preferable. > > No. > > Adding layers of

Re: re(4) driver issues on RTL8168F

2016-03-11 Thread Marc Espie
On Wed, Mar 09, 2016 at 02:22:25PM +1000, David Gwynne wrote: > hey marc, > > is this reproducable? > > if so, next time it happens can you collect ifconfig, systat mb, and vmstat > -m output? im looking for IFF_OACTIVE in ifconfig, an ALIVE value that is > different to the CWM in systat mb,

re(4) driver issues on RTL8168F

2016-03-08 Thread Marc Espie
Well, I've got this on my desktop for a while, didn't work at the time, got a cheap pci card that worked. However, I got a NAS, with two network ports, and I thought "let's try dedicating one port to the desktop, that way I get 1Gb instead of going thru the switch". Unfortunately, re(4) is