00:57:55 hrm… can you rename a network interface on FreeBSD that has a name like re0:2, to begin with? 00:58:11 meena: yes 00:58:14 it feels like that would break rc.conf… 00:58:30 ifconfig_re0:2_name="eth0" 00:59:03 Oh, that you mean ;-) 00:59:44 Maybe `\:` but lets hope, it works without backslash. I preffere names like LAN and WAN 00:59:53 well, either way, i committed regex crimes today: https://github.com/igalic/cloud-init/pull/new/bsd/device_drivers 00:59:55 Title: Sign in to GitHub · GitHub 01:00:19 now it's time for sleep 01:00:20 or WIRE 01:03:03 Nighty night, meena 01:44:46 Time for a bit of freebsd love. I always liked the concept of the bsd family, but never thought it could be a full desktop. Boy, how wrong I was. I installed sway wm, and it really felt like a complete experience. I have decided to keep freebsd on my laptop ;) 03:37:53 meena: that link goes right to creating new PR; wanna spam canonical into accepting it? 03:49:36 aloha 04:00:59 I cant get headphone auto switching to work with device.hint, does anyone have some tips 04:01:24 I have the followed this guide https://freebsdfoundation.org/freebsd-project/resourcesold/audio-on-freebsd/ 04:01:31 Title: Audio on FreeBSD – Quick Guide | FreeBSD Foundation 04:42:02 i don't think you'd need to use hints for that 05:05:33 is there another way I'm not htinking of? 07:12:07 meena, rwp, there is no need for the jail to have privileges to mount datasets if its a jailed one, it will be jailed & that is sufficient 07:12:48 except for some reason now, it's ofc not working 07:23:25 yuripv: I feel like it needs five minutes more design work, or a better way to determine what is network device is renamed from 07:30:04 dch, Technology will always fail you when you need it. :-/ 07:45:53 rerooting into an MFS always blows my mind https://people.freebsd.org/~lidl/blog/re-root.html 07:45:54 Title: Using FreeBSD's re-root capability 07:48:32 That is pretty crazy cool stuff there. 07:49:04 yeah, I use it quite a bit to do things like converting a cloud VM from UFS2 -> ZFS 08:37:14 can i somehow "pin" a package to not be removed, even if its dependencies are? 08:38:18 (this is a custom package i wrote myself and never published, not even quite sure how i installed it anymore, don't want to remove the package just because the system upgraded to py39 since it was installed) 08:39:05 and yes, updating the port, rebuilding and reinstalling the package would be the clean solution, i know – i'm looking for the quick and dirty solution. 08:45:14 eh whatever, i'll redo the port when i get around to it… disk performance stats are more important than poudriere right now^^ 08:46:31 phryk, you can always pkg lock package name. 08:46:35 so it doesn't get removed. 08:52:55 Joint: ah, good to know, too late for this package tho, it got ded :P 09:00:54 oh what a bummer but now you know at least. 09:01:39 yeah, also not the biggest loss. this was my poudriere_prometheus exporter and i currently don't even have poudriere running, so ¯\_(ツ)_/¯ 09:02:07 also it's probably still running in memory so it might just keep working till i get around to fix it up. 09:02:32 yup, still running lol 11:12:51 how do i even create a network interface called vtnet0:2 ? 11:13:02 did we obsolete those? 11:22:40 i ran out of space on daemon's very, very, very big machine… 11:22:42 phryk: is it perhaps still in /var/cacje/pkg/* on whatever box you installed it into? 11:22:51 erm /var/cache/pkg/ 11:23:14 meena: how big is "big" ? 11:23:37 dch: 1T 11:23:52 i filled it with packages… 11:23:52 RAM ? that's getting there 11:25:03 dch: storage 11:25:09 meena: pfffffffffft 11:25:10 dch: i deal with much much much smaller things usually 11:25:43 not like i need all of these snaps, would be cool if there was a way to mark one every week or so as "good" 11:26:11 anyway: network interfaces. do we still have stuff like re0:2, or is that a thing of the past? 11:27:29 meena: I tried to find these, I though it was vlan but thats a different syntax 11:27:33 what even is that from? 11:28:41 might be old linux syntax for multiple IP addresses on a single device 11:28:46 really don't know 11:29:09 but if we don't have it, and none of the other BSDs have it, it means a bit of simplification of code 11:30:05 https://github.com/canonical/cloud-init/blob/main/cloudinit/distros/parsers/ifconfig.py#L107-L123 not by much tho 11:30:06 Title: cloud-init/ifconfig.py at main · canonical/cloud-init · GitHub 11:30:18 but in other places… 11:34:03 ask on -net I don't find a mention of that in the man pages for ifconfig 11:35:58 yeah, me neither 11:36:25 dch: is there #freebsd-net on here? or #bsd-net over on the other network? 11:44:57 nothing here: https://wiki.freebsd.org/IRC/Channels 11:44:58 Title: IRC/Channels - FreeBSD Wiki 11:52:04 Finally got my touchpad working 11:56:06 not that i know python good (or at all), but "current ifconfig pops a ':' on the end of the device" seems to suggest it is just looking for e.g. "vmx0:" and not "vmx0:1"? 12:17:51 yuripv: aye i'll check 12:26:57 vmxnet3s0:1 seems to be solarish, at least when adding more than 1 address to interface does that for me on illumos 13:12:12 yuripv: no Solaris support in cloud-init yet, although there is support for the SmartOS cloud. 13:30:35 When a maintainer of a port updates it, how long does it take before it is moved to the packages 13:39:40 RoyalYork: I'm not sure of the answer, but I'd be interested in knowing. With that said, I'd think if you have your packages set to "latest" vs "quarterly" will have a big impact. 13:43:31 I can go, with the flow 13:47:27 Thanks guys 13:53:46 dch: nope its gone :P 13:54:07 RoyalYork: it depends on how busy builders are. rest assured that security patches get priority 13:54:08 RoyalYork and zykotick9, IME and based on what I heard, it depends on the port and the ports it depends on by default. For latest, not all ports work on all architectures and versions, and packages aren't provided for each architecture. In addition, some ports (*cough*Chromium*cough*Firefox*cough*) are often at or past the time limit allocated for compiling and packaging a single one, so it can take 13:54:14 lots ot tries before random factors let it succeed narrowly. For quarterly, unless the update fixes building issues or security vulnerabilities, it's unlikely to make it until the next calendar quarter. 13:56:51 V_PauAmma_V: thanks. 15:15:46 RoyalYork: the easiest answer is to go look at the poudriere instance and then try and figure out from context how long it took in the past. 15:18:26 For example if you go to https://pkg-status.freebsd.org/builds?type=package then you can see that main-amd64 (ie. 14-CURRENT for 64bit Intel/AMD processors) gets built on a server called beefy18 (by hovering over the little bomb icon, or checking links in the source view) - then you can go to https://pkg-status.freebsd.org/beefy18/ and find the latest build to see how long that took, then the second 15:18:27 Title: Poudriere Index 15:18:32 latest and so on and so forth. 15:19:34 The entire ports tree needs to be built for it to start syncronizing to the distribution servers, and the first step takes roughly 100 hours for a full build of ~40k ports whereas the second step takes roughly 24-48 hours. 15:20:03 Each full build happens every 14 days, and in between that there's always an intermediate build running (ie. one is kicked off as soon as the last is finished) 15:20:41 So the answer is somewhere between ~10-15 and ~100-150 hours. 15:21:28 Poudriere may one day get distributed build support which may speed things up, but that depends on the people working on poudriere. 15:23:17 I'm tempted to say that quarterly will probably on average be quicker, because it only gets security fixes and build fixes - so things change less often. 15:23:46 yupp 15:25:06 However, I do think it's important to say that if you need updates quickly, you should probably be building them yourself. 15:26:05 With thin seeded repos (both of which are ~fairly new, as in maybe only a couple years old), you can get away with building only a very small number of ports yourself, if you absolutely need something updated. 15:26:06 I use poudriere to build my own packages, mostly because some of them need non-default configuration options. Also because I can build them quickly when I need an update. 15:26:33 Also, building your own means non-default options as dvl suggested and I was about to mention. 15:26:38 * debdrup ^5s dvl 16:30:25 Is there a recommended PCIe enterprise nvme ssd card that works well with FreeBSD 13.1 ? 16:30:47 I was looking at the Intel P3608 but I can't find anything in the compatibility index 16:52:14 The compatibility index isn't really maintainable, considering the explosion in hardware OEMs and ODMs. 16:53:07 With with just a single ODM, Realtek, they publish such a broad swath of almost-but-not-quite-similar devices to make a computer do other things than beep, that it's basically impossible to keep track of. 17:04:12 <_xor> With pkg, does -c imply /var/db/pkg/... in the chroot'ed environment, or does it use the host db? 17:04:28 <_xor> I also noticed there's PKG_DBDIR that can be defined as well. Trying to figure out how best to do this. 17:05:13 <_xor> I'm creating a jail using pkgbase and don't want to change the pkg db on the host, just within the jail. Not sure if -c (and possibly -r?) are required and/or if PKG_DBDIR needs to be defined. 17:09:12 * _xor takes a zfs snapshot and tries just -c 17:27:49 _xor: would love to know the answer to that 17:33:47 how does freebsd differ from nixos in terms of included packages 17:36:02 freebsd is an operating system, nixos is a set of scripts to piece together parts of an operating system 17:36:07 sonotmelty: Different groups of volunteers. It might be better to check packages you know you want to make sure they exist. They probably will. 17:37:09 I use bsd but im just looking how different nixos is from freebsd. Sounds almost identical. Just not a bs 17:38:25 I could have sworn that they listed all the developper on the freebsd website not too long ago 17:46:56 it feels that they took it off I suppose for security reasons 17:54:38 sixpiece: you mean https://docs.freebsd.org/en/articles/contributors/? also /usr/share/misc/committers-*.dot 17:54:40 Title: Contributors to FreeBSD | FreeBSD Documentation Portal 17:57:02 yuripv thank you, it's not exactly the one I remember but it seems equally as good... 18:05:30 <_xor> meena: Just -r is needed. 18:05:58 * _xor got his basejail created using pkgbase instead of base.txz 18:21:15 <_xor> meena: https://termbin.com/g68by 18:21:31 <_xor> There's the script I just whipped up to create the jail using pkgbase. 18:21:49 <_xor> Some of that stuff is probably not needed (e.g. pkg-bootstrap), but it works. 18:22:26 <_xor> _pkg_config is set to my copy of /usr/local/etc/pkg/... & /usr/local/share/pkg/... 18:23:05 sixpiece, docs and the website were split a year or so ago. Perhaps you remember something under www.freebsd.org? 18:24:11 perhaps thanks, it doesn't matter that seems like ample information 18:29:53 _xor: so I'm accidentally doing it right, https://alpha.pkgbase.live/howto/jails.html 18:29:54 Title: Howto: Setting up Jails 18:44:44 <_xor> meena: Looks like it. Only diffs seem to be that I tend to be explicit about the repository to use and also I use "caroot zoneinfo fetch rc runtime" as the initial packages and then add anything else that's required for the service. 18:48:23 <_xor> meena: I'm using this with OCI (podman). The current template image that I use to build+deploy services on my cluster is around 584mb compressed (zst) and 627mb uncompressed. 18:49:25 <_xor> meena: That's built with poudriere-image. With pkgbase, the template image is 26mb compressed and 41mb uncompressed. 18:49:48 <_xor> Quite nice and also reduces potential attack surface area. 19:33:03 _xor: how does podman work for you? 19:34:41 do you use to deploy / schedule stuff with podman, or are you just using raw podman? 19:40:14 debdrup: so how can I figure out if P3608 is supported on FreeBSD 13.1 ? 19:44:37 <_xor> meena: Deploy+schedule, but right now I'm just getting buildah+skopeo+podman working. 19:45:24 <_xor> meena: Now that I have the jail built using pkgbase, I'm going to figure out how to use buildah on it to create an OCI image, then launch it using both buildah and podman to verify it starts & stops fine. 19:47:13 <_xor> meena: After that, I'm going to integrate it with my orchestrator (nomad) and setup my image registry to push/pull images. I already have the podman task driver for it ported and built. 19:47:34 <_xor> Will probably use quay for the image registry, though I did update the docker-registry port in addition to creating sysutils/nomad-podman-driver 19:51:40 _xor, nomad seems pretty cool. is it very different from Kubernetes? 19:52:00 which seems… extremely over complicated. 19:52:36 <_xor> They target the same use-cases, but with different requirements/implementation. 19:53:36 <_xor> I've used both, and I prefer Consul+Vault+Nomad over K8S every time for myself. However, in a non-trivial sized company/team, K8S is going to be the practical choice due to available hiring pool. 19:54:20 <_xor> Nomad tends to be more portable. It's not supported on FreeBSD, but easy enough to use with raw_exec, which just executes shell commands on the given host. 19:55:43 <_xor> That's what I'm doing right now. I scripted a bunch of it up for FreeBSD usage and made template job specs (the file you write to deploy an app/service). Works really well so far. 19:57:09 <_xor> The main things I use rc for on the servers are sshd and starting consul+vault+nomad. Beyond that, everything else is scheduled/deployed/monitored by nomad. 19:57:36 cool 19:58:01 <_xor> Everything else includes syslog-ng, prometheus, loki, promtail, node_exporter/jail_exporter/zfs_exporter/etc, powerdns, isc-dhcpd, gitea, minio, ...and a bunch more that I can't remember lol. 19:59:11 <_xor> The intent with podman is to remove the need to use raw_exec and just use podman with OCI images, which will be much smaller and won't require my scripts (for raw_exec). 19:59:49 ah, yeah 20:01:06 _xor: have you done any configuration management stuff before? 20:03:34 <_xor> Yes. 20:04:15 I set "Xcursor.theme: redglass" in my ~/.Xresources. But I only get the redglass cursor inside X applications. 20:04:29 http://markburgess.org/promises.html yer man who invented the theory behind configuration management said a few years ago: Kubernetes is like promise theory but for workloads 20:04:30 Title: A Theory of Voluntary Cooperation 20:04:54 and I really like that way of thinking 20:04:58 <_xor> If you're at all curious, I just took some quick screenshots of my dashboards... 20:05:06 <_xor> https://imgur.com/a/m0zr9kT 20:05:08 Title: Imgur: The magic of the Internet 20:05:57 what's the difference between service and system? 20:06:53 <_xor> That's the idea behind this type of clustering/orchestrations. You have resources configured into a cluster using a distributed concensus algorithm (e.g. Raft). Then you describe WHAT you want (e.g. "I want service A to be running 2 instances at all times") and hand it off to the cluster. 20:07:19 <_xor> The cluster calculates HOW to fulfill it and bring the state so that it meets the requirements of your declarative job. 20:08:05 <_xor> K8S is not my preference, but it's ok I guess. It gets the job done, but damn is it a pain in the neck sometimes. 20:09:24 <_xor> Upgrades were a fear-inducing chore, at least it was a few years ago. They use etcd for their distributed key-value store, and it was fragile as heck. 20:10:10 <_xor> Plus they would break enough things between upgrades to where I'd end up spending a day just fixing the workload specs to get it upgraded successfully. 20:10:47 <_xor> I've found nomad+jails to be both simpler and more stable, but I can only speak for my own use-cases. 20:11:08 https://stage.freshports.org/sysutils/nomad/ what does it need php for? 20:11:09 Title: FreshPorts -- sysutils/nomad: Cluster manager and scheduler 20:11:40 <_xor> It...doesn't? 20:12:08 i misread 20:12:20 People watching this port, also watch:: vault, php74, bsdstats, tmux 20:12:28 meena: yeah.. was about to say.. 20:12:48 <_xor> I should submit my port. That one is a bit stale (v1.3.2). I updated it internally to the latest version, v1.4.2. 20:13:05 * meena learned to read at the age of four, and is still as good at reading more as she was then 20:13:31 _xor: yes, you should 20:13:35 <_xor> Latest version has builtin key-values+secrets management (optional if you have Vault, but an out-of-box feature that can be used quickly). 20:14:22 <_xor> I have a ton of ports that I should submit, just haven't gotten around to it yet due to time. FUZxxl was going to help me go through them and clean them up, but time is currently scarce. 20:14:51 <_xor> At last count I think I had something like 80 ports or so left that I was going to submit :/ 20:40:58 _xor: wouldn't it be cool if submitting ports was slightly less painful than bugzilla or phabricator? 20:43:13 <_xor> Probably, but I suspect it's more of a human/process problem then a infrastructure/tooling problem. 21:21:48 I've configured root's PS1 to be just "\h:\w\\$ ". Is there any compelling reason to actually make it show "root@"? 22:43:27 dch: https://people.freebsd.org/~lidl/blog/re-root.html this was way cool 22:43:28 Title: Using FreeBSD's re-root capability 22:44:49 glad you liked it too 22:50:17 what's a good *bsd livecd distro?