-
mns
Has anyone seen something like this: libunibreak-backup-libunibreak.so.6-20260713002856: missing file /usr/home/mns/usr/local/lib/compat/pkg/libunibreak.so.6 in their periodic security runs? I have about such mismatches. The files exist under /usr/local/lib/compat/pkg, but the pkg database shows it to be under '/usr/home/mns/usr/local/...' which started happening after converting to pkg base using
-
mns
pkgbasify.
-
alem
Hello there, I'm trying to learn the pf firewall. It's been flawless on openbsd but on freebsd i have some doubts
-
alem
is "keep-state" implicit just like on openbsd? or do i have to specify it every time?
-
alem
and is "scrub in on $ext_if all fragment reassemble" default behaviour like on openbsd?
-
mosaid
Hello
-
alem
helloo
-
mosaid
I have a serious problem here after upgrading to ubuntu 24 lts, winch I need due to alot of linux programs I use now need newer glibc.. so I did it, but due to my usual bad luck ubuntu 24 forces systemd (hate this thing) which surely won't work in linuxulator.. found that later in
forums.freebsd.org/threads/proc-is-…buntu-23-10-installed-inside-the-li
-
mosaid
nuxulator.92980/ with no fix at all (I don't want to use rl9), also need lts.. So, anyone know a good trick to disable systemd to force ubuntu 24 to work?
-
mosaid
*which
-
Reinhilde
i tend to prefer to run linux workloads in a VM if I have to run them at all on my FreeBSDish machines.
-
mosaid
Reinhilde: I use a linux browser
-
mosaid
also some other programs
-
mosaid
need linux want it on my machine
-
Reinhilde
"proc is not mounted" i'm gonna sound stupid but have you mounted linprocfs before trying to start systemd?
-
mosaid
yeah
-
mosaid
This error appears due to systemd, can't use apt or anything
-
nimaje
mosaid: systemctl is part of systemd, so why do you try to use it, if you aren't using systemd? (not sure why it can't see your /proc/)
-
Reinhilde
I'm gonna sound stupid but.. are you sure you mean to boot the linux system? last i checked the only reason it was installed was so that the libraries were there
-
mosaid
nimaje: apt tries to set up systemd and their services.. so it fails
-
mosaid
since 24 systemd is forced
-
nimaje
yeah, I only read the first post in that forum thread there and that doesn't mention apt at all, so I was left wondering why you want to use systemctl anyway
-
Reinhilde
... can you succeed with a different linux distro?
-
Reinhilde
or does it have to be ubuntu
-
mosaid
sorry, I need ubuntu
-
Reinhilde
then you will need to dual boot
-
mosaid
Reinhilde: Please want reasonable for this specific problem, as I said above my browser needs linux compatibility and some other apps I daily use.. dual boot just for this?
-
mosaid
I ams asking if someone had a trick to get rid of systemd
-
mosaid
*answers
-
Reinhilde
No
-
mosaid
made some good progress using "echo "exit 0" > /var/lib/dpkg/info/systemd.postinst" inside chroot.. apt now runs but still returns some errors due to systmed I will try to fix it
-
mosaid
idk why it didn't work in my first trial
-
nimaje
and apt --allow-remove-essential remove systemd doesn't work?
-
mosaid
Wait
-
mosaid
the tricks mentioned in topic worked, but I needed to exit chroot first, then re enter
-
mosaid
i got rid of 90% of errors, their is still one error (while upgrading crontab) I will try to fix
-
mosaid
I don't think removing systemd from system is a good idea, that will break it
-
mosaid
just disabling it worked, but still need more effort to fix the other
-
mosaid
packages which really needs systemd fails
-
mosaid
*need
-
mosaid
cron-daemon-common, polkitd, pkexec, policykit-1, rtkit
-
mosaid
got small problem with audio (I think it's pulseaudio) here, but everything other than that works fine.. I will try to address it
-
angry_vincent
is it just me or cgit.freebsd.org having issues? i often see backend error or 503 or 504 errors
-
rtprio
it is tired
-
mosaid
Ok, guys.. here is how to fix it, nothing new other than tricks mentioned in topic, but I will mention right steps: first after upgrade exit chroot then re enter and run (echo "exit 0" > /var/lib/dpkg/info/systemd.postinst), then rerun apt update and upgrade.. you will get wsl errors so you do the last trick mv /var/lib/dpkg/info /var/lib/dpkg/info_silent - mkdir /var/lib/dpkg/info - apt-get...
-
mosaid
...update - apt-get -f install - mv /var/lib/dpkg/info/* /var/lib/dpkg/info_silent - rm -rf /var/lib/dpkg/info - mv /var/lib/dpkg/info_silent /var/lib/dpkg/info - apt-get update - apt-get full-upgrade
-
mosaid
Done! enjoy your ubuntu 24 linuxulator :) I think this should be on wiki or docs.. Right?
-
mosaid
for debbootstrap
-
mosaid
tested it works fine
-
markmcb2
is this a pkg bug? it tells me i need to update: gpu-firmware-intel-kmod-alderlake-20250109.1501000 < needs updating (remote has 20260519.1500068)
-
markmcb2
from: /usr/local/sbin/pkg version -qvRl "<"
-
markmcb2
If I understand it right, the date is older, but it matches 15.1
-
markmcb2
i.e., it shouldn't say it needs updating
-
markmcb2
or am i misunderstanding?
-
markmcb
for clarity, it doesn't try to install the "newer" alternative, it's only pkg version that seems to think i have a package needing to be updated
-
drathir_tor
markmcb: 2025 vs 2026
-
nimaje
markmcb: hm, so you are on 15.1 but have a 15.0 kmod repo configured?
-
kevans
markmcb: define 'it matches 15.1'?
-
kevans
looking at the freshports listing, 15 repos do have 20260519.1500068 and i'd expect it to try and upgrade from 20250109.1501000
-
nimaje
doesn't the 1501000 mean 15.1 and no idea what those tree last digits mean, but they probably have to do with patch level and 1500068 would be 15.0 and something?
-
kevans
yes, but keep in mind this is a version format and the major version (date) is bigger
-
kevans
presumbly it's a conflicit because the kmod repo is minor version specific while the ports repo is still on the oldest supported version of the branch, but
-
kevans
i don't really see what kind of magic would prevent it from actually trying to upgrade that package from the (technically wrong) ports repo
-
kevans
(and the __FreeBSD_version scheme used for the minor component is described here:
cgit.freebsd.org/src/tree/sys/sys/param.h#n55)
-
markmcb
kevans, nimaje: I'm on 15.1, installed fresh (i.e., was never on 15.0 or older). It would seem when you "pkg install" it only considers 1501000, but when you "pkg version" it does a less specific comparison
-
markmcb
in other words, it seems i have the latest package for 15.1 installed, and pkg version is wrong in telling me there's a newer version
-
nimaje
kevans: but I throught when the kmods repo was splitted from the ports repo all the kmod packages got blacklisted in the normal ports repo, so that there is no overlap between them?
-
markmcb
nimaje: i just noticed the 15.1 version is in kmods_latest_1, but the 15.0 version is in latest
-
kevans
nimaje: nope
-
dvl
OK, let's see if FreshPorts can run on FreeBSD 15.1 ...
-
kevans
markmcb: there's something else funky at play, yeah. latest is still built on 15.0 until it goes EoL, but i would expect kmods_latest_1 to have caught up, I think
-
kevans
the maintainer of the kmod repos is on vacation for a bit longer, though, so i'm not sure we're getting visibility into it for a week or two
-
markmcb
ah ok, thanks. it's not causing any problems, just seemed not quite right.
-
memo_book
which kmod if I might be nosey? Came in late. But since I use one from pkg myself...
-
kevans
i think it's a good thing that it's not trying to upgrade it, but i think it /should/ be trying to upgrade it
-
kevans
gpu-firmware-intel-kmod-alderlake
-
memo_book
ah.
-
dvl
It runs.
-
scoobybejesus
am i the only one who "cleverly" named their repo in /usr/local/etc/pkg/repos/FreeBSD.conf freebsd-latest instead of freebsd-ports, and then i get to FreeBSD 15.0-RELEASE and now it's seeing both freebsd-latest using the latest repo and freebsd-ports using the quarterly repo? i'm finally getting this sorted out, and i need to dig through all my
-
scoobybejesus
jails to correct this
-
mosaid
Hi
-
mosaid
pulseaudio isn't working anymore on ubuntu linuxlator needs systemd :(