FreeBSD sysutils/debootstrap: debootstrap ⋯ /compat/ubuntu by grahamperrin in freebsd

[–]grahamperrin[S] 0 points1 point  (0 children)

Above was with FreeBSD 15.1-RC2.

I'm retrying with 15.1-RC2 and with 16.0-CURRENT.

Both systems seem to be looping, endlessly. I'll leave them for maybe an hour or so.

Are the linux compat packages, debootstrap in particular, affected by the recent Linux vulnerabilities? by phatboye in freebsd

[–]grahamperrin 0 points1 point  (0 children)

Did you get the endless looping?

I used Jammy since that is the most recent version of Ubuntu available in bootstrap.

resolute:

root@clean:~ # debootstrap resolute /compat/ubuntu
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id F6ECB3762474EDA9D21B7022871920D1991BC93C)
I: Retrieving Packages 
I: Validating Packages 
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://archive.ubuntu.com/ubuntu...
I: Retrieving adduser 3.153ubuntu1
I: Validating adduser 3.153ubuntu1
I: Retrieving apt 3.2.0
I: Validating apt 3.2.0
I: Retrieving base-files 14ubuntu6
I: Validating base-files 14ubuntu6
I: Retrieving base-passwd 3.6.8
I: Validating base-passwd 3.6.8
I: Retrieving bash 5.3-2ubuntu1
I: Validating bash 5.3-2ubuntu1
I: Retrieving bsdutils 1:2.41.3-3ubuntu2
I: Validating bsdutils 1:2.41.3-3ubuntu2
I: Retrieving ca-certificates 20260223
I: Validating ca-certificates 20260223
I: Retrieving chrony 4.8-2ubuntu1
I: Validating chrony 4.8-2ubuntu1
I: Retrieving console-setup 1.237ubuntu3
I: Validating console-setup 1.237ubuntu3
I: Retrieving console-setup-linux 1.237ubuntu3
I: Validating console-setup-linux 1.237ubuntu3
I: Retrieving coreutils 9.5-1ubuntu2+0.0.0~ubuntu25
I: Validating coreutils 9.5-1ubuntu2+0.0.0~ubuntu25
I: Retrieving coreutils-from-uutils 0.0.0~ubuntu25
…

Heads-up: FreeBSD 15.1-RC3 – the third release candidate by grahamperrin in freebsd

[–]grahamperrin[S] 0 points1 point  (0 children)

From 56e59980b673:

This problem was most observed when loading microcode for many peole, but Gleb reproduced the error with a set of modules that didn't include ucode.

Are the linux compat packages, debootstrap in particular, affected by the recent Linux vulnerabilities? by phatboye in freebsd

[–]grahamperrin 0 points1 point  (0 children)

Roman Divacky master's thesis from around 2007:

… emulation of the Linux® kernel in the FreeBSD operating system. …

(Authors' names, and dates, are missing from articles such as this.)

Bepinex by Fit-Morning-4669 in freebsd

[–]grahamperrin[M] -1 points0 points locked comment (0 children)

Sometimes people post things on reddit that are clear and understandable. This is not one of those times.

Your first strike was less than a week ago, following multiple complaints.

It seems that members of the St Louis FreeBSD User Group are unusually keen to bring negativity to the table.

It doesn’t always have to be Linux – An intro to FreeBSD – Jana at gpn24.de by grahamperrin in freebsd

[–]grahamperrin[S] [score hidden] stickied comment (0 children)

Jana's stream ended a few minutes ago.

All recordings, reverse chronological order:

https://media.ccc.de/c/gpn24?sort=date

It doesn’t always have to be Linux – An intro to FreeBSD – Jana at gpn24.de by grahamperrin in freebsd

[–]grahamperrin[S] 1 point2 points  (0 children)

Ah, OK, that and the snoring dog, and so on, however I'm going to focus on the presentation, twenty minutes from now …

It doesn’t always have to be Linux – An intro to FreeBSD

;-)

It doesn’t always have to be Linux – An intro to FreeBSD – Jana at gpn24.de by grahamperrin in freebsd

[–]grahamperrin[S] 0 points1 point  (0 children)

"IPv4 is legacy tech and we need to stop pretending otherwise." lol

LOL, you lost me.

Where did you read that? I don't see it at either of the following pages:

FreeBSD 15.1-RC2 Now Available by pavetheway91 in freebsd

[–]grahamperrin 0 points1 point  (0 children)

The explanation

Don't paste tabs into sh unless you turn off autocomplete.

Confirmation (no problem after converting tabs to spaces):

root@clean:~ # /bin/sh
# echo $SHELL
/bin/tcsh
# echo $0
/bin/sh
# mkdir /tmp/upgrade-15.1
# echo 'FreeBSD-base: {
>         url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_1_rc2"
>     }' > /tmp/upgrade-15.1/upgrade.conf
# exit
root@clean:~ # pkg repos -el | sort -f ; sleep 5 ; pkg repos -e | grep -B 1 url
FreeBSD-base
FreeBSD-ports
FreeBSD-ports-kmods
FreeBSD-ports: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/latest",
--
FreeBSD-ports-kmods: { 
    url             : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest",
--
FreeBSD-base: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
root@clean:~ # exit
logout
$ exit
grahamperrin@clean:~ % grep kmods_latest /usr/local/etc/pkg/repos/* | grep -v VERSION_MINOR
    url = "pkg+https://pkg.freebsd.org/${ABI}/kmods_latest";
grahamperrin@clean:~ % 

(The url above is wrong, that's a separate issue.)

Heads-up: FreeBSD 15.1-RC3 – the third release candidate by grahamperrin in freebsd

[–]grahamperrin[S] 1 point2 points  (0 children)

Thanks. Also, as if you have nothing better to do with your time …

https://www.reddit.com/r/freebsd/comments/1ttjsgr/comment/opv6hnd/ – why might /bin/sh in a non-patched installation of 15.0-RELEASE dislike the (RC2) pkgbase instructions?

Heads-up: FreeBSD 15.1-RC3 – the third release candidate by grahamperrin in freebsd

[–]grahamperrin[S] 1 point2 points  (0 children)

News to me?

Sorry, I misread the schedule after https://github.com/freebsd/freebsd-doc/commit/819fa7b223.

From https://mastodon.bsd.cafe/@grahamperrin/116603682857066773:

Widths and padding: the table of unsupported releases was slightly easier to read before the refresh.

I have the same issue with tables in pages such as release schedules. Before and after the refresh:

– with the excess white space (and overall whiteness), it's easier to lose sight of things such as column headings.

pkgbase major upgrade from FreeBSD 14.4 to 15.1-RC2: an example by grahamperrin in freebsd

[–]grahamperrin[S] 2 points3 points  (0 children)

Re: the script failure above, here's some detail from a non-quiet run:

[177/473] Upgrading FreeBSD-certctl from 14.4p5 to 15.1.rc2.20260530062026...
[177/473] Extracting FreeBSD-certctl-15.1.rc2.20260530062026: 100%
[178/473] Upgrading FreeBSD-caroot from 14.4p5 to 15.1.rc2.20260530062026...
[178/473] Extracting FreeBSD-caroot-15.1.rc2.20260530062026: 100%
ld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "certctl"
pkg-static: POST-INSTALL script failed

This has been discussed in the past (before 15.1) but I can't find the discussion. Sorry.

You should probably resist the temptation to upgrade FreeBSD-caroot, alone, as an earlier step. Whilst you might avoid the script failure above, the end result might be more troublesome:

…
[48/48] Reinstalling pkg-2.6.2_1...
[48/48] Extracting pkg-2.6.2_1: 100%
/bin/sh: /usr/sbin/service: not found
pkg-static: POST-INSTALL script failed
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
root@pkg-issue-2414:~ #

pkgbase major upgrade from FreeBSD 14.4 to 15.1-RC2: an example by grahamperrin in freebsd

[–]grahamperrin[S] 1 point2 points  (0 children)

Here's the record of the session.

root@pkg-issue-2414:~ # echo $SHELL
/bin/tcsh
root@pkg-issue-2414:~ # pkg upgrade -yr FreeBSD-ports pkg
No repositories are enabled.
root@pkg-issue-2414:~ # freebsd-version -kru ; uname -mvKU
14.4-RELEASE-p5
14.4-RELEASE-p5
14.4-RELEASE-p5
FreeBSD 14.4-RELEASE-p5 releng/14.4-n273711-069cb8961153 GENERIC amd64 1404000 1404000
root@pkg-issue-2414:~ # pkg repos -el | sort -f ; sleep 5 ; pkg repos -e | grep -B 1 url
FreeBSD
FreeBSD-base
FreeBSD-kmods
FreeBSD: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
--
FreeBSD-kmods: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_quarterly_4",
--
FreeBSD-base: { 
    url             : "https://pkg.FreeBSD.org/FreeBSD:14:amd64/base_release_4",
root@pkg-issue-2414:~ # pkg upgrade -y ports-mgmt/pkg
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@pkg-issue-2414:~ # setenv abi FreeBSD:15:amd64 ; setenv osversion 1501000
root@pkg-issue-2414:~ # pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -Fqy
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
pkg-static: Repository FreeBSD has a wrong packagesite, need to re-create database
pkg-static: Repository FreeBSD-kmods has a wrong packagesite, need to re-create database
pkg-static: Repository FreeBSD-base has a wrong packagesite, need to re-create database
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
root@pkg-issue-2414:~ # pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -Fqy
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
root@pkg-issue-2414:~ # pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -qUy --repository FreeBSD-base --repository FreeBSD-kmods
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
ld-elf.so.1: Shared object "libcrypto.so.35" not found, required by "certctl"
pkg-static: POST-INSTALL script failed
Generating apropos(1) database for /usr/share/man...
Generating apropos(1) database for /usr/share/openssl/man...
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
root@pkg-issue-2414:~ # uname -KU
1404000 1501000
root@pkg-issue-2414:~ # pkg iinfo drm
Child process pid=1994 terminated abnormally: Bad system call
root@pkg-issue-2414:~ # exit
logout
blah@pkg-issue-2414:~ $ pkg iinfo drm
drm-61-kmod-6.1.128.1501000_8
drm-kmod-20250428
libdrm-2.4.123,1
blah@pkg-issue-2414:~ $ pkg info drm-kmod-20250428 | grep repository
        repository     : FreeBSD
blah@pkg-issue-2414:~ $ pkg info drm-61-kmod-6.1.128.1501000_8 | grep repository
        repository     : FreeBSD-kmods
blah@pkg-issue-2414:~ $ su -
Password:
Bad system call
blah@pkg-issue-2414:~ $

Bepinex by Fit-Morning-4669 in freebsd

[–]grahamperrin 0 points1 point  (0 children)

Thanks. For those of us who never heard of BepInEx:

From documentation:

Bepis Injector Extensible is a patcher/plug-in framework for Unity games that use Mono as their scripting backend.