5.6.1 tagged and built

Shamelessly copied from my own users@ post: I tagged 5.6.1 and built it earlier today.  This version has a corrected sshd_config and fixes a lockup bug in ttm. The ISO should be showing up on mirror-master.dragonflybsd.org in the next 20 minutes or so, or you can rebuild using the normal process on an existing 5.6 system:

cd /usr/src
git pull
make buildworld
make buildkernel
make installkernel
make installworld
make upgrade

If you are still on 5.4 or earlier, you need to bring in 5.6 sources, which is noted in the 5.6.0 announcement.

OPIE removal in DragonFly-master

OPIE was disabled recently in DragonFly.  Now that the 5.6 release is out, it has been removed.  This may require manual intervention if you are on DragonFly-master (i.e. 5.5. or 5.7) and update in the next day or two.  This need to fiddle with it will go away soon with changes to ‘make upgrade’; I will mention it when I see it.

This won’t affect anyone running 5.4 or 5.6.  It’s only in development.

DragonFly, mysql, ipv6, and defaults

I am posting this so it can help someone else, someday.

I have a DragonFly-5.4 system.  I installed mysql56-server, and started it up.  By default, it listens on “*”, which meant it listens on a local socket and IPv6 ::1 – not 127.0.0.1.

2019-06-04 13:35:03 15833 [Note] IPv6 is available.
2019-06-04 13:35:03 15833 [Warning] Failed to reset IPV6_V6ONLY flag (error: 45). The server will listen to IPv6 addresses only.

I put bind_address=127.0.0.1 into my.cnf to get IPv4 loopback to work.   Local socket connections still worked either way.  I’m not using IPv6 on this machine, so this solution works in this situation.  I’m not sure my mysql decides to go only IPv6 based on a strange flag, but mysql is reliably unreliable.

part-by-label: an additional benefit

Remember the commit that autocreates human-readable disk device names under /dev?  (Here’s a reminder.)  It’s now in 5.4 – technically, since 5.4.2.  Anyway, it will automatically identify the root USB disk when you boot from a USB .img file, so you no longer have to guess which /dev/daX file it was – usually da8 but sometimes you got a surprise instead.