small fix for pkg_add(1)
$ man pkg_add [...] -D name[=value] [...] downgradedon't filter out package versions older than what's currently installed. D FW_UPDATE set by fw_update(1) to separate firmwares from normal packages. installedin update mode, reinstall an existing package with the same signature. D is too much there, fix below Regards, Markus Index: pkg_add.1 === RCS file: /cvs/src/usr.sbin/pkg_add/pkg_add.1,v retrieving revision 1.118 diff -u -r1.118 pkg_add.1 --- pkg_add.1 9 Jan 2014 10:51:51 - 1.118 +++ pkg_add.1 11 Jan 2014 13:24:27 - @@ -275,7 +275,7 @@ disables that behavior. .It Ar downgrade don't filter out package versions older than what's currently installed. -.It D Ar FW_UPDATE +.It Ar FW_UPDATE set by .Xr fw_update 1 to separate firmwares from normal packages.
typo in distrib/miniroot/install.sub
Hello, I noticed a typo in distrib/miniroot/install.sub. Fix is attached below. Regards, Markus Index: install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.738 diff -u -p -r1.738 install.sub --- install.sub 1 Feb 2014 23:16:16 - 1.738 +++ install.sub 2 Feb 2014 15:01:45 - @@ -1290,7 +1290,7 @@ install_files() { [[ -n $_unver ]] : ${_issue:=Unverified sets: ${_unver% }} if [[ -n $_issue ]] - ! ask_yn $_issue. Continue without verifcation?; then + ! ask_yn $_issue. Continue without verification?; then [[ -d $_tmpsrc ]] rm -rf $_tmpsrc $auto exit 1 return
fix typos in plus58.html
Hello, attached is a diff to fix different typos in plus58.html. use-after-free is sometimes written as use after free, I didn't include those. I could add a diff to unify them if wanted. an before words not beginning with a vocal occurs quite frequent. Should I provide a diff to fix them too? Regards, Markus Index: plus58.html === RCS file: /cvs/www/plus58.html,v retrieving revision 1.3 diff -u -r1.3 plus58.html --- plus58.html 9 Aug 2015 00:39:22 - 1.3 +++ plus58.html 9 Aug 2015 16:47:27 - @@ -87,10 +87,10 @@ /ul liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sshd.8;sshd(8)/a, add getpid to sandbox (bz#2419). liGet jumbo frames working in a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/oce.4;oce(4)/a. -liAllow to re-plug USB3 devices on the root hub withtout going through a suspend/resume cycle (or rebooting) with Intel ICH7 xHCI. +liAllow to re-plug USB3 devices on the root hub without going through a suspend/resume cycle (or rebooting) with Intel ICH7 xHCI. liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/ps.1;ps(1)/a, remove the calculation that includes the process lifetime and just use the p_pctcpu value as %cpu time. liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/cwm.1;cwm(1)/a, show an empty ssh to menu if the known_hosts file is missing. -liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/syslogd.8;syslogd(8)/a, add the possiblity to store all syslog messages received from a specific host into a single log file. +liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/syslogd.8;syslogd(8)/a, add the possibility to store all syslog messages received from a specific host into a single log file. liNever cache a RTF_GATEWAY route as next hop for a gateway route. This prevents rtentry loops when rtrarr;rt_gwroute points to rt leading to an infamous rtentry leak panic. !-- 2015-06-28 -- liEnable a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/armv7/vexpress.4;vexpress(4)/a on armv7. @@ -152,7 +152,7 @@ liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/npppd.8;npppd(8)/a, properly handle zero-length 1701/udp and GRE packets. !-- 2015-06-22 -- liIn ssh, don't count successful partial authentication as failures in monitor. This may have caused the monitor to refuse multiple authentications that would otherwise have successfully completed. -liOn amd64 and i386, make it possible to create write combing mappings through /dev/mem. +liOn amd64 and i386, make it possible to create write combining mappings through /dev/mem. liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/pf.4;pf(4)/a, increment rule counters only after successful state insertion. liIn ssh, don't call setgroups if we have zero groups; there's no guarantee that it won't try to deref the pointer. liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/httpd.8;httpd(8)/a, URL-encode $SERVER_NAME and $REMOTE_USER before using them in the Location header. @@ -282,7 +282,7 @@ liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/from.1;from(1)/a, treat a missing mail spool the same as a zero-length mail spool unless the -f option was specified. liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/pf.4;pf(4)/a, avoid division by 0 and using a 0 upper bound for a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man3/arc4random_uniform.3;arc4random_uniform(3)/a. liFix audio interrupts on U4 systems. -liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/arp.8;arp(8)/a and a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/ndp.8;ndp(8)/a, dont 'assume that the sockaddr_dl will be in the gateway sa. This fixes a regression introduced with the support of multiple connected routes. +liIn a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/arp.8;arp(8)/a and a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/ndp.8;ndp(8)/a, dont assume that the sockaddr_dl will be in the gateway sa. This fixes a regression introduced with the support of multiple connected routes. !-- 2015-06-02 -- liRework the ppp handling in the tty layer so it has its own private pool to allocate packet memory out of. This fixes a long standing issue in ppp on a tty/serial line where it allocates mbufs at IPL_SOFTTTY, which is above the IPL_NET the mbuf layer protects itself at. liFix a memory leak in a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/sensorsd.8;sensorsd(8)/a. @@ -294,7 +294,7 @@ liEnable secureplt by default on alpha. liAllow a href=http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/gcc.1;gcc(1) to produce more precise relocation information on alpha. This will be necessary
Re: LibreSSL 2.2.2 release
On Wed, Aug 12, 2015 at 08:29:09PM +0200, Mark Kettenis wrote: Date: Tue, 11 Aug 2015 09:15:43 -0600 From: Bob Beck b...@obtuse.com I'm wondering out loud if these versions should follow the openbsd shlib major minor numbers. That is where we are careful about semantic versioning for api change/add/remove No. Shared library versions are tracking the ABI. What's wanted here is something that tracks API, including bug fixes and such. People really expect something like a package version here such that they can add a check into their autoconf script that the installed version of a package is new enough to provide the functionality their software needs. Doing something clever here is not going to help people. If a configure script fails telling me to get libcrypto version 34.2, how do I determine what version of LibreSSL I need to install? One possible reason to deviate from using the LibreSSL release version would be if we want to continue to be a drop-in replacement for OpenSSL. In that case continuing to adevrtise a reasonable OpenSSL version number for openssl.pc, libcrypto.pc and libssl.pc might make sense. Probably best to involve ports people in that decision though. Back in June I had the following log entries from stunnel: Jun 16 16:56:10 fuseki stunnel: LOG5[ui]: Compiled with LibreSSL 2.1 Jun 16 16:56:10 fuseki stunnel: LOG5[ui]: Running with LibreSSL 2.2 I did build stunnel on one host and installed it on my main machine (see above), were I use it from time to time. Both hosts had the same version of libssl/libcrypto installed, but the LibreSSL version was newer on the main host. I usually update snapshots more often there, on the build mostly if library versions got bumped. Regards, Markus
Re: machine slow with latest snapshot (bufcache related?) on sparc64
On Fri, Apr 29, 2016 at 11:00:32PM +0200, Karel Gardas wrote: > On Fri, Apr 29, 2016 at 10:51 PM, Markus Lude <markus.l...@gmx.de> wrote: > > Hello, > > > > with latest snapshot I've short hangs on my (good old) SUN Blade 100. > > The desktop clocks often shows jumps for several seconds. > > I noticed that the machine is running low on free memory and uses a lot > > for cache. > > kern.bufcachepercent is 90 > > > > After setting this to 20 the machine feels a lot more responsive. > > > > Just want to let the devs working on the buffer cache know about this. > You should include dmesg or even report as proper bugreport. kern.bufcachepercent is set to 20 in the current CVS tree. The snapshot from april 25th set it to 90. This almost killed the rest of the little "performance" my old machine has. Setting kern.bufcachepercent back to 20 helped here. I don't see this as a bug. I'm happy with adding a line to sysctl.conf. I just wanted to provide some small feedback to the devs which put the changed setting in snapshots. Of course I should include dmesg, see below. Regards, Markus console is keyboard/display Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2016 OpenBSD. All rights reserved. http://www.OpenBSD.org OpenBSD 5.9-current (GENERIC) #963: Sun Apr 24 20:32:34 MDT 2016 dera...@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/GENERIC real mem = 536870912 (512MB) avail mem = 511467520 (487MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe) cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 b/l) psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0 psycho0: bus range 0-1, PCI bus 0 psycho0: dvma map c000-dfff pci0 at psycho0 ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01 "flashprom" at ebus0 addr 0-f not configured clock1 at ebus0 addr 0-1fff: mk48t59 ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00 "dma" at ebus1 addr 0- ivec 0x2a not configured power0 at ebus1 addr 800-82f ivec 0x20 com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6, address 00:03:ba:18:3a:e9 ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 0x0010dd, model 0x0002 "Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version 1.0, legacy support alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz clock iic0 at alipm0 "max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs "scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs spdmem0 at iic0 addr 0x50: 512MB SDRAM ECC PC133CL2 autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec 0x7e3 ac97: codec id 0x41445348 (Analog Devices AD1881A) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at autri0 midi0 at autri0: <4DWAVE MIDI UART> pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using ivec 0x7cc for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors atapiscsi0 at pciide0 channel 0 drive 1 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <LITEON, CD-ROM LTN486S, Y3S2> ATAPI 5/cdrom removable wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 wd1 at pciide0 channel 1 drive 0: wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ppb0 at pci0 dev 5 function 0 "Intel S21152BB" rev 0x00 pci1 at ppb0 bus 1 rl0 at pci1 dev 2 function 0 "D-Link DFE-530TX+" rev 0x10: ivec 0x7d5, address 00:11:95:21:ec:70 rlphy0 at rl0 phy 0: RTL internal PHY machfb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27 machfb0: ATY,RageXL, 800x600 wsdisplay0 at machfb0 mux 1: console (std, sun emulation) usb0 at ohci0: USB revision 1.0 uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1 uhidev0 at uhub0 port 1 configuration 1 interface 0 "Fujitsu Component Type 6 Keyboard" rev 1.00/1.02 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33 wskbd0 at ukbd0: console keyboard, using wsdisplay0 uhidev1 at uhub0 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/20.00 addr 3 uhidev1: iclass 3/1 ums0 at uhidev1: 3 buttons, Z dir wsmouse0 at ums0 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets bootpath: /pci@1f,0/ide@d,0/disk@0,0 root on wd0a (a3fcc6617d442473.a) swap on wd0b dump on wd0b
www/64.html - OpenSSH version 7.8 or 7.9?
Hello, www/64.html mentions OpenSSH version 7.8. With snapshot from october 11th on amd64 the version of ssh is 7.9: $ ssh -V OpenSSH_7.9, LibreSSL 2.8.2 Theo bumped the version in src/usr.bin/ssh/version.h r1.83, this version is tagged with OPENBSD_6_4_BASE. On the www.openssh.org the latest OpenSSH release mentioned is 7.8, so no newer release notes there to link to. Regards Markus