-
Kalten
gustik: the last entry is not %B (birth) but %c (status change—i.e. e.g. `chmod +x somefile`)
-
hjf_
meena: these packages conflickt because the php binary is /usr/local/bin/php
-
meena
hjf_: fun! in the python packages, that's a link (which you can install as python3)
-
vkarlsen
hjf_: 8.1 is currently the default version, which means that pkgs depending on php will by default depend on php-8.1. The way out of this is to build your own pkgs where you set DEFAULT_VERSIONS= php=8.0
-
hjf_
yes i was able to do this, i set php to 8.0 and built from source. it was taking forever, then i noticed it was actually building cmake. so i just installed cmake from pkg and everything went much faster
-
hjf_
that said, how can I update the port? I'd like to make it use a newer upstream version.
-
hjf_
i understand the port declares some upstream source file and then applies patches to it, right?
-
uskerine
Hi, is it possible to create a port for a software that you have created? If so, how difficult is it and where is the best place to have a look
-
meka
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
debdrup
You can amend the VALID_CATEGORIES environment variable to add a custom category to put your own ports in.
-
debdrup
-
VimDiesel
Title: Maintaining port modifications in FreeBSD
-
ghoti
uskerine: also, I've used ports-mgmt/portshaker to merge ports trees. Might be handy, depending on how you have poudriere set up.
-
tct
Hey guys. I've just updates some jails from 13.0 to 13.1. So far everything went smoothly. However, in all of these jails, a simple 'curl
google.com' fails due to certificate validation: SSL certificate problem: unable to get local issuer certificate
-
VimDiesel
Title: Google
-
tct
doing the same from the host itself works flawlessly
-
tct
security/ca_root_nss 3.87 is installed in the jail (also on the host, but that shouldn't matter)
-
tct
any ideas?
-
meena
tct: time problems? nah, jails get their time from the host
-
tct
meena, indeed. the host is running ntpd and the reported time seems correct.
-
tct
so that does not appear to be the issue
-
rtprio
maybe compare /usr/share/certs/trusted on both jail and host
-
rtprio
specifically GTS_Root_R*
-
tct
treefrob, both contain the same number of certs. However, the host seems to have files from November 14 while the jail reports May 12
-
rtprio
all 444 root:wheel
-
tct
rtprio, yep
-
rtprio
the dates would depend on when the files were installed
-
tct
where to go from here? :s
-
rtprio
-rw-r--r-- 1 root wheel 729524 Dec 28 19:44 /usr/local/share/certs/ca-root-nss.crt
-
rtprio
and that's ok?
-
tct
rtprio: -rw-r--r-- 1 root wheel 729524 Jan 11 01:00 /usr/local/share/certs/ca-root-nss.crt
-
rtprio
someone had ssl issues the other day, but for letsencrypt
-
tct
so not really sure where to go from here
-
rtprio
what version of curl?
-
tct
7.87.0
-
rtprio
sorry man, not sure; you can probably pass --cacert /usr/local/share/certs/ca-root-nss.crt to curl
-
tct
yeah, that doesn't really solve the problem. The various jails run various services such as PHP based applications which use curl internally.
-
rtprio
what does curl-config --ca show?
-
tct
an empty line. both on the host (where stuff works) and in the jail (where it doesn't)
-
tct
I've already performed the desperate full-reboot of the host
-
rtprio
that shows /usr/local/share/certs/ca-root-nss.crt for me;
-
rtprio
can you rebuild the port?
-
tct
sure, I built it via poudriere with default options. both the host and the jail are running the same package tho.
-
tct
as in the same binary pkg.
-
tct
rtprio, passing --cacert /usr/local/share/certs/ca-root-nss.crt to curl makes things work as expected tho
-
tct
so this doesn't seem to be a binary issue necessarily
-
tct
-
VimDiesel
Title: FreshPorts -- ftp/curl: Command line tool and library for transferring data with URLs
-
tct
last commit in history states: - Disable CA_BUNDLE option by default
-
tct
but surely this should work out anyway, eh?
-
tct
plus again, all my other freebsd hosts (including the host running the jail itself) run the exact same packages from the same repository and there everything works.
-
rtprio
that would explain why --ca isn't set on yours?
-
tct
so how come that my hosts don't experience this problem running the exact same 13.1-RELEASE-p5 and same binary packages?
-
rtprio
ok, compare /etc/ssl/certs on both hosts?
-
tct
rtprio, the host has 129 files in there whereas the jail only has 11
-
tct
these are all symlinks - do I need to rebuild a cert database or something?
-
rtprio
it's looking like it
-
rtprio
i'm not sure how those get made
-
tct
I'm trying to figure that out right now (too)
-
tct
I was hoping that a pkg install --force ca_root_nss would do this but apparently not.
-
tct
rtprio, certctl rehash did it!
-
tct
rtprio, thanks a lot for your help - much appreciated! :)
-
meena
anyone here got a FreeBSD in podman? what does sysctl security.jail.jailed report?
-
unixman_home
The line "Many Linux® distributions use the SysV init system" on
docs.freebsd.org/en/articles/linux-users is no longer accurate. Just sayin'. ;)
-
VimDiesel
Title: FreeBSD Quickstart Guide for Linux® Users | FreeBSD Documentation Portal
-
unixman_home
Just had that pointed out to me by a systemd fanatic. :D
-
meena
unixman_home: gosh, how many are left, actually?
-
unixman_home
Ha! :D
-
mason
There's Debian, Devuan, and Slackware for big/established ones. Not sure who else - there are others that don't default to systemd but they tend to be running other things. OpenRC, runit, s6
-
carlavilla
yes, this article should be updated
-
mason
Oh, I guess MX uses sysvinit. They seem to still be at the top of DistroWatch, although I don't understand the metric there. (Page loads?)
-
meena
Alpine uses OpenRC, and probably can use s6
-
mason
-
VimDiesel
Title: Why MX Linux Uses SysVinit Instead Of Systemd – Systran Box
-
mason
For my part, I haven't tried MX. I don't see much point running a Linux that's not Debian, and Debian supports sysvinit, so no more digging needed. :P
-
moorg
voidlinux uses runit
-
meena
mason: seems like bad editing there: Mx Linux uses the systemd init system as its default init system.
-
rtprio
mason: i agree
-
mason
meena: Ah, didn't know. Hrm.
-
rtyler
meena: did you happen to look at that jail.conf and pf.conf I linked yesterday?
-
meena
rtyler: gosh, no. if you didn't highlight me, i probably missed it
-
rtyler
meena: should you have any ideas, I certainly would appreciate it
gist.github.com/rtyler/359579ad03ccebcc76203d9bd9c480a3
-
VimDiesel
Title: jail.conf · GitHub
-
meena
(rtyler did highlight me, but not with the config)
-
dutch
meena: mx _includes_ systemd by default, but it is not enabled. SysVinit is the default.
-
meena
dutch: then that article is wrong
-
dutch
see
mxlinux.org/about-us under "Our Positions"
-
VimDiesel
Title: About Us – MX Linux
-
meena
rtyler: what do you use $id for?
-
rtyler
that's just to make some of the naming around epairs in the pre/post start easier
-
meena
rtyler: aye. this looks very similar to my config:
alpha.pkgbase.live/howto/jails.html
-
VimDiesel
Title: Howto: Setting up Jails
-
rtyler
indeed, you may be surprised to learn where the inspiration came from ^_^
-
» meena seems to consistently inspire people despite being one of the most boring and depressed people
-
meena
just you wait, until the sun comes up again in March or so, I'll have fresh inspiration energy again
-
meena
rtyler: so what's the exact symptoms?
-
rtyler
gitea -> postgresql shows "host down" when pinging, and the gitea jail cannot make a connection
-
meena
and other direction? both, IPv4 and IPv6?
-
rtyler
meena: both directions yes, gitea can reach out to the public internet of course
-
meena
rtyler: right, IPv6 would basically go via the Internet (almost, but probably not quite)
-
rtyler
the default route for both is their respective bridge interface
-
meena
oh, right, you're using more than one bridge. can you show me your rc.conf, and your routing table?
-
rtyler
meena: from the host?
-
meena
rtyler: yes
-
rtprio
rtyler: and postgres is definatly listening on the tcp port?
-
rtyler
rtprio: it definitely is :)
-
doug
what's the Right Thing to use for specifying my system using a minimum of source files (ideally just one) that i can use to spin up a fresh ec2 instance with everything install and configured on it just like i want? with stock packages, menuconfig'd packages, stuff i'd otherwise install by hand (like with configure/make), all my user dotfiles, dynamically config'd stuff (like for zerotier),
-
doug
sqlite/pg/maria databases set up and seeded, passwords/keys/auth stuff Done Correctly and just everything else Working Properly
-
doug
something that i can expect to be around and usable for the next 20 years. i don't expect it's gonna be ansible/chef/puppet/saltstack
-
cracauer
A big /etc/rc.local
-
vkarlsen
hjf_: I did a poudriere testport run of zoneminder, and it builds with and depends on php-8.1 for me
-
vkarlsen
hjf_: That said, it should also be updated from 1.36.12 to 1.36.32. There's almost a year between those two versions.
-
meena
doug: do you expect ec2 to be around in 20 years?
-
meena
doug: I use cloud-init for the basic bootstrap, and then config management, tho these days I'm looking into getting my jails under control from podman
-
otis
meena: i recently used your cloud-init-devel for my 13.1 image for openstack. works just fine.
-
meena
otis: yay!!!!
-
meena
otis: I'm really happy my code works.
-
» meena is back on the computer and hacking on facter which seems to not work well enough on some FreeBSD installations… like… mine
-
otis
keep up the good work.
-
meena
otis: okay. thanks 💜
-
rtprio
20 years, eh
-
» meena hopes some of her code will still work in 20 years