Skip to content

netbsd 11 is released! #154

Closed
Closed

Description

@ThomasWaldmann

https://netbsd.org/

NetBSD 10.x is a bit painful for us (borgbackup project) currently, because:

  • it still has OpenSSL 3.0.12 (maint release from Oct 2023, 3.0 is from Sep 2021), but we need >= 3.2 for 2 blocked PRs already (I had to work around this on NetBSD 10.x by compiling OpenSSL from source)
  • CI test runs (Python, pytest, tox - the usual stuff) frequently fail, not because of real test failures, but because the NetBSD 10.x Python just randomly segfaults. :-( No idea whether that will be better with NetBSD 11, but let's hope so.

Note: Ubuntu 24.04 also has the "old OpenSSL" issue, but github actions is rolling out Ubuntu 26.04 now.

Activity

  1. ThomasWaldmann commented on Jun 19, 2026

    @ThomasWaldmann
    Author

    BTW, this is from our NetBSD 10.1 CI:

                    arch="$(uname -m)"
                    sudo -E mkdir -p /usr/pkg/etc/pkgin
                    echo "https://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/${arch}/10.1/All" | sudo tee /usr/pkg/etc/pkgin/repositories.conf > /dev/null
                    sudo -E pkgin update
                    sudo -E pkgin -y upgrade
                    sudo -E pkgin -y install lz4 git
                    sudo -E pkgin -y install rust
                    sudo -E pkgin -y install pkg-config
                    sudo -E pkgin -y install py311-pip py311-virtualenv py311-tox
                    sudo -E ln -sf /usr/pkg/bin/python3.11 /usr/pkg/bin/python3
                    sudo -E ln -sf /usr/pkg/bin/pip3.11 /usr/pkg/bin/pip3
                    sudo -E ln -sf /usr/pkg/bin/virtualenv-3.11 /usr/pkg/bin/virtualenv3
                    sudo -E ln -sf /usr/pkg/bin/tox-3.11 /usr/pkg/bin/tox3
    
                    # Ensure base system admin tools are on PATH for the non-root shell
                    export PATH="/sbin:/usr/sbin:$PATH"
    
                    echo "--- Preparing an extattr-enabled filesystem ---"
                    # On many NetBSD setups /tmp is tmpfs without extended attributes.
                    # Create a FFS image with extended attributes enabled and use it for TMPDIR.
                    VNDDEV="vnd0"
                    IMGFILE="/tmp/fs.img"
                    sudo -E dd if=/dev/zero of=${IMGFILE} bs=1m count=1024
                    sudo -E vndconfig -c "${VNDDEV}" "${IMGFILE}"
                    sudo -E newfs -O 2ea /dev/r${VNDDEV}a
                    MNT="/mnt/eafs"
                    sudo -E mkdir -p ${MNT}
                    sudo -E mount -t ffs -o extattr /dev/${VNDDEV}a $MNT
                    export TMPDIR="${MNT}/tmp"
                    sudo -E mkdir -p ${TMPDIR}
                    sudo -E chmod 1777 ${TMPDIR}
    
                    touch ${TMPDIR}/testfile
                    lsextattr user ${TMPDIR}/testfile && echo "[xattr] *** xattrs SUPPORTED on ${TMPDIR}! ***"
    
                    tox3 -e py311-none
    

    As you see, it has to do a lot of tweaking. Maybe some of this could be already done in the base image, feel free to pick anything you find appropriate.

    The extended attributes stuff could be way simpler for example, if the already existing fs in the image had EAs enabled (one can choose that in the installer, IIRC).

  2. added
    versionRequest for supporting a new version of an existing operating system
    on Jun 19, 2026
  3. changed the title [-]upcoming netbsd 11 release[/-] [+]netbsd 11 is released![/+] on Aug 2, 2026
  4. ThomasWaldmann commented on Aug 10, 2026

    @ThomasWaldmann
    Author

    Thanks for adding NetBSD 11!

    Will try the next c-p-a release ASAP.

  5. added a commit that references this issue on Aug 10, 2026
    f529a9b
  6. ThomasWaldmann commented on Aug 10, 2026

    @ThomasWaldmann
    Author

    A first test run with the NetBSD 11 VM worked fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    versionRequest for supporting a new version of an existing operating system

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址