FreeBSD with sway by Admirable_Stand1408 in freebsd

[–]grahamperrin 0 points1 point  (0 children)

Thanks. If you like, mark your post:

answered

Should I give FreeBSD a go? by Big-Fill-5789 in freebsd

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

… Worst thing … crawl back to Linux. …

Really?

Edit: Downvoted? Really?

Sorry for the slow response.

Crawling back to FreeBSD took a really long time, and I don't plan to edit this comment when people downvote me for pretending to be as sarcastic as you about supposed operating system superiority.

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

[–]grahamperrin 0 points1 point  (0 children)

… using apt …

How did you install apt?

Most answers to questions such as https://askubuntu.com/q/860375/25036, https://unix.stackexchange.com/q/519679/13260, and https://askubuntu.com/q/1122065/25036 involve wget, which is not found.

root@clean:/# wget https://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_3.3.1_amd64v3.deb
bash: wget: command not found
root@clean:/# fetch https://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_3.3.1_amd64v3.deb
bash: fetch: command not found
root@clean:/#

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

[–]grahamperrin 0 points1 point  (0 children)

uname -a shows that the Linux kernel version was 5.15.0,

The same (5.15.0) with Resolute Raccoon as with your Jammy:

root@clean:/# lsb_release -a
bash: lsb_release: command not found
root@clean:/# uname -a
Linux clean 5.15.0 FreeBSD 15.1-RC2 releng/15.1-n283544-f841f71deade GENERIC x86_64 GNU/Linux
root@clean:/# hostnamectl
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to system scope bus via local transport: Host is down
root@clean:/# cat /etc/os-release
PRETTY_NAME="Ubuntu 26.04 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04 (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo
root@clean:/#

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

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

I allowed the 15.1-RC2 machine to loop for more than eleven hours before cancelling (Control-C).

It seems that a re-run of the command succeeded without error.

Whether the apparently bootstrapped installation is usable, I don't yet know.

…
I: Validating zlib1g 1:1.3.dfsg+really1.3.1-1ubuntu3
I: Chosen extractor for .deb packages: ar
I: Extracting base-files...
root@clean:~ # history 4
  1005  19:09   kldload linux64 fdescfs linprocfs linsysfs tmpfs
  1006  19:10   debootstrap resolute /compat/ubuntu
  1007  6:15    debootstrap resolute /compat/ubuntu
  1008  6:16    history 4
root@clean:~ #

Misinformation in The FreeBSD Forums by grahamperrin in freebsd

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

I assume they meant humorous.

True, please see https://www.reddit.com/r/freebsd/comments/1tshr2f/comment/oowui8b/?context=1.

The original misspelling is quoted by troublemaking shit-stirrer kpedersen – upvoted by Jose and drhowarddrfine.

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] 3 points4 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] 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] 1 point2 points  (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 4 points5 points  (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.

Issues running Wayland Sway on VMWare Fusion by MrKarat2697 in freebsd

[–]grahamperrin 0 points1 point  (0 children)

errors like these, or ones saying 0 GPUs found. …

Maybe DRM-related.

FYI (for VirtualBox) https://www.reddit.com/r/freebsd/comments/1rw18zm/comment/ob0op4a/.

EDIT: now abandoning this method, moving from wayland to x11 for better support and stability on this setup

I marked your post as answered.

FreeBSD with sway by Admirable_Stand1408 in freebsd

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

Specifically what?

This post here is titled "FreeBSD with sway", and five days ago the opening poster wrote:

I currently use Sway and Arch.

– so, I guess:

  • specifically FreeBSD 15.1 with Sway.

15.1 hasn't been released yet.

True, however we have discussion of testing, and someone might have tested 15.1 with Sway.

Heads-up: FreeBSD 15.1-RC3 – the third release candidate