-
zip
Ope. Time to move to Linux for all tile cool new features
social.treehouse.systems/@astraleureka/115844218496725551
-
zip
s/tile/the
-
zip
Honestly a fine enough idea if it didn't take the form of "surprise! There's a network service you won't notice because your usual tools don't list it and PID 1 listens on the socket so you don't even have a
-
zip
suspicious process to investigate or google
-
zip
... hmm. rc.conf option?
-
rtprio
zip: not a surprise that systemd would do something that wacky
-
AmyMalik
I could do worse
-
voidengineer
has the package kitty been removed? this is a fresh install of freebsd and I have got hyprland up and working but the package kitty is non existent
-
voidengineer
i googled quite a bit to see what's happened and i couldn't find anything about this
-
nimaje
-
voidengineer
that must be the case i was just looking at fallout
-
nimaje
there was a commit yesterday that should fix it, but no idea when it will be in the repos
cgit.freebsd.org/ports/commit/?id=f…9953d38cc0aaf90db71c50442156358ced2
-
voidengineer
thank you <3
-
rtprio
pkg: sqlite error while executing INSERT OR REPLACE INTO packages (origin, name, version, comment, desc, arch, maintainer, www, prefix, pkgsize, flatsize, licenselogic, cksum, path, manifestdigest, olddigest, vital)VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, ?14, ?15, ?16, ?17) in file update.c:175: not an error
-
thumbs
rtprio: Sounds like desc is a reserved keyword.
-
rtprio
well, that's up to whoever was hacking on pkg
-
rtprio
also the irony of pkg: error ... ... not an error
-
mzar
rtprio: it's harmless
-
zip
If Chimera Linux can try to port the BSD userland to Linux perhaps it's time to port systemd to BSD.
-
zip
Actually that sounds like something you can start as a joke and then be stuck running for two decades
-
lts
Getting the error as well, also for packages.path. Others reporting the same at
freebsd/pkg #2584
-
lts
It's not harmless, it's preventing installation of packages into a new jail
-
nimaje
zip: why would you want to port that unportable and badly designed piece of software? I give them that they implemented some good ideas like proper service management, but rewriting the good parts in a good designed and portable way without all thoses interdependencies should also be easier than to port it, especially as parts are already there, like in the form of the s6 tools suite
-
zip
As a joke
-
nimaje
fortunately they decided to write it in the most unportable way they could find
-
zip
Which thankfully makes it a high effort joke and not something you could end up building and being expected to maintain
-
zip
s6 seems like the sort of thing you could add to rc services as a flag tbh
-
nimaje
well, someone made the experiment of replacing init completely with s6 tools
static.bultmann.eu/s6-talk
-
vtorri
yop
-
zip
well
-
o0x1eef
Nice trololololol zip
-
zip
part of me suspects that for a lot of use cases, the service monitoring loop doesn't need to be any tighter than having an alert to the sysadmin during working hours
-
zip
barely trolling, more goofing :P
-
o0x1eef
I think it's a valid point that you gotta walk carefully without it becoming heated.
-
zip
I wonder if there's stats out there for how often httpd, nginx, sshd etc actually crash on their own
-
zip
I'll hate systemd all day but I'm quite open that my main reason is mostly that I learned all this shit before systemd existed and I hate that it's new and different
-
o0x1eef
I like how things work today and I'm not a systemd fan either but at the same time, I can see why you might want to implement something more "modern"
-
zip
it feels nondiscoverable and it feels like I have to go and look things up every time I interact with it. Part of me also recoiled at freebsd's rc system for feeling too much like an old fashioned in-order rc script and for `servicename_enable="YES"` feeling a little bit magic... but I've very much warmed to it
-
zip
no small part of that is that `man rc.conf` and `less /etc/rc.subr` are most of the tools I need to work out what something is doing or how to do something, including making new services
-
o0x1eef
I agree. systemd feels like a black box you can't penetrate where as BSD is generally much more transparent
-
zip
I don't really know or understand systemd at all, and I've learned it twice already.
-
SKull
o0x1eef: according to the systemd devs, systemd is super simple. I mean, I've gotten used to systemd here at work over the years. But I've yet to find the simplicity of it :D
-
zip
Any system I learn and then still have not learned is one I'm inclined to dislike
-
SKull
you just need to place your socket/timer/service files in the right place, fill the content with WantedBy,RequiredBy,NicetoHaveBy statements and it just works™. At least to the devs
-
zip
and of course it's quite nice to know (or at least believe) that reviewing `{/usr/local,}/etc/rc.conf{,.d/*}` and `/boot/loader.conf`are going to give you a very solid idea of what a system is going to load and start
-
zip
without being nix
-
SKull
it's a clusterfuck, but given who wrote it, it's no surprise.
-
SKull
that was in regards to systemd, not rc
-
o0x1eef
I don't have the words except that it sounds like the Ruby on Rails of init(8) systems (not a compliment...)
-
zip
I'm also half-sympathetic to building binary logs but again, it's a matter of learning the incantation for reading them
-
zip
at least put `/var/log/README` in place with a line or two that says "you want to run `journalctl -xu <service>`" or whatever
-
SKull
zip: i actually like journalctl. but the amount logging data on a modern linux desktop system (fedora in my case) is insane
-
zip
I think I'd hate it about 50% less if I found the directories where things were configured and it was a short step from that to the manpage I need to read
-
SKull
but that's not journalctl's fault
-
zip
maybe that'll be my first debian package, eh
-
zip
just something that dumps a bunch of `README` files all over the filesystem so that sysadmins like me who are likely to try to figure out how a thing is configured with `find /etc -name "*service*"` get pointed to the right manpage
-
zip
"hi, you've reached `/var/log`. Run `man journalctl` for more information"
-
SKull
zip: systemd is just one of the absurd things common in modern day Linux ¯\_(ツ)_/¯
-
zip
my filesystem is littered with notes to myself
-
zip
`jsconfig.json` says `"comment": "You can have this file and have Command-T searches or you can delete it and have 50% of intellisense"` haha
-
zip
clearly, the last time I said "it's fucking annoying that intellisense doesn't work" I spent a couple hours discovering this
-
o0x1eef
To be fair, Linux itself is just a kernel, and the init system is whatever you choose. That's the theory. In practical terms it doesn't work quite like that. I don't think debian or ubuntu provided options. It's systemd or nothing.
-
SKull
zip: my huge amount of notes is in ~/Notes and synced with nextcloud everywhere. i'm too old to remember stuff.
-
SKull
o0x1eef: i think there are only about two distros without systemd left.
-
SKull
o0x1eef: gnome without systemd is also nearly impossible
-
zip
yup. that's why I've ended up on Void for the tinkering system, although I'd probably use Fedora if I wanted a Just Works™ laptop and to never attempt to run any services
-
o0x1eef
Void / runit is nice.
-
SKull
zip: i actually run plenty of service in my user session with systemctl --user
-
SKull
zip: i find that rather handy
-
zip
it's pretty good. mostly discoverable, helpful to understand service control directories, otherwise pretty nice
-
zip
and again discoverable, the bits that run before services boot and for shutdown are in nice shell scripts
-
zip
what runit doesn't give you is dependency management better than seeing if it starts, sleeping one second, and trying again in a loop
-
SKull
zip: the thing about shell scripts on linux is, they are mostly written for bash, which even today seems quite buggy to me
-
zip
I have a runit service directory in my homedir for that and it's mostly okay because most of the services don't have dependencies. What's annoying is I've not worked out what the dependency is between the thing that tells me what music is playing and something in the system services such that if I auto-login it loads juuuust fast enough to break
-
zip
well, maybe it's not the best idea to have my ridiculous hand-crafted artisinal swaywm-on-runit setup in the first place
-
zip
systemd is, unfortunately, the compromise you have to make for the system mostly "just working" most of the time
-
zip
running through the process of building a modern desktop without Gnome or KDE has been a lesson in how DBus _also_ has a bunch of logic for service activation, how it's mandatory now, how you need seat management to make sure it's up and running before your shell, how to tell it about environment variables otherwise set after it starts (such as the X or wayland display...) and so on
-
zip
and then you'll want your desktop portals so flatpak works, and a secrets management service is nice, oh, and remember that native clipboards are just a channel between two applications so you want a third one that sits in the background and whose entire job is to sit in the middle so you can close the first application and still paste whatever it was you copied
-
nimaje
well, the thing about shell scripts is, that they are buggy if they are more than one simple line
-
avid
What's the way to install freebsd in a chroot (host machine: Arch linux)
-
zip
and of course if your wifi configuration is more complicated than simply starting up and connecting to a known network you probably want NetworkManager, and so on
-
zip
I find myself constantly torn between understanding why the complexity exists and not having any constructive suggestions for improving it, and yearning for the good old (and frankly, FreeBSD-shaped) days
-
nimaje
avid: I don't think arch linux provides some freebsd ABI, maybe you have some luck to compile the freebsd userland for arch linux
-
avid
No I meant only the chroot installation not for usage as a container
-
zip
what are you trying to achieve?
-
avid
i.e: installing an OS the arch way
-
avid
aka as rootfs installation
-
avid
mount /dev/sda1 /mnt; sudo tar xvf freebsd-rootfs /mnt
-
avid
I'm trying to achieve something like this
-
zip
well, that bit doesn't really need the chroot
-
o0x1eef
Use the VM images and mdconfig(8) with mount
-
zip
and I'm assuming here you're trying to do this on ZFS because otherwise you won't be able to both write it from linux and boot it from FreeBSD anyway
-
avid
does freebsd offer official torrents?
-
zip
but yeah, use a VM image
-
avid
I found 3rd party foss torrents
-
zip
if you would like to use FreeBSD and also have it access your linux filesystem, that's what plan9 filesystem is for
-
zip
If you do use third party make sure to download the checksum files and to confirm. But otherwise, no
-
o0x1eef
No does not provide official torrents AFAIK but a freebsd dev maintains their own.
-
avid
which option should I go with? zfs.qcow zfs.raw zfs ?
-
o0x1eef
raw
-
zip
depends what you're trying to do
-
o0x1eef
you want raw for it to work with mdconfig
-
zip
oh, right, yeah
-
zip
but this does sound like a "why are you trying to do that" kinda problem
-
zip
if you want freebsd on bare metal hardware, install it from the USB stick installer
-
zip
if you want to dual boot FreeBSD and Linux, probably, don't
-
zip
or at least, don't try to do it on the same hard drive
-
zip
It may be doable, but not without substantial pain
-
avid
I find installing the arch way very educational
-
avid
I want to learn the exact boot process for bsd
-
avid
i.e what would be the equivalent to vmlinuz and initrd.img
-
o0x1eef
FreeBSD has its own ways
-
zip
If you wish to learn the dark arts it is a fine place to start, but if you wish to try out FreeBSD and see what it's like, do it in a VM or install it on a separate hard drive
-
avid
does it support uki?
-
zip
FreeBSD doesn't really have init ramdisks
-
zip
nor do we have kexec
-
o0x1eef
The man pages describe the boot process, and the handbook as well.
-
zip
we _do_ have running the shutdown script, switching root, and then booting (with your original init, I believe) from that new root
-
zip
Yup. Multistage bootloader off a msdosfs partition. Written in lua, I believe, although there's an older forth version too. That'll load up the kernel and any modules, set the command line options (of which there are approximately five) and then kick off the kernel.
-
zip
It's not like linux where you have a million command line flags. The flags are basically "use the serial terminal as the console" and "boot in single user mode"
-
zip
other things can be set with `/boot/loader.conf` such as which modules to start with and kernel environment variables
-
avid
zfs on dmcrypt supported?
-
avid
or is dmcrypt linux thing
-
zip
I think there's some magic for zfs boot environments
-
zip
dmcrypt is a linux thing
-
zip
we have GELI and zfs native
-
zip
and GEOM but don't
-
zip
but a lot of neat boot stuff from linux doesn't exist, but also, it doesn't hurt as much that it doesn't exist. Mostly.
-
o0x1eef
man loader, loader.conf, init, rc.d - etc, unlike Linux, all this stuff is plainly documented as part of the OS distribution.
-
zip
I'm not even sure we can do FDE
-
zip
and if you want the TPM involved you'll be writing it yourself
-
zip
we might be able to do GELI encrypted root? If we do I bet the bootloader is prompting and then injecting the key into the kernel
-
avid
is there a "gentoo" equivalent to bsd? where everything is source compiled?
-
zip
otherwise you can encrypt some of your zfs partitions and then late-mount them, but again you're probably hand-writing anything that kicks off services that rely on them being mounted... or at least, that's how it looked last I looked
-
zip
yes, it's BSD
-
vkarlsen
avid: You can compile everything if you want to
-
avid
ofc, but there a system for source compilation or is it LFS style
-
zip
Gentoo's ports is modelled on BSD ports
-
zip
yup, ports
-
zip
or if you want to build the whole thing you can technically do it with port but really everyone uses poudriere
-
zip
if you're curious, Absolute FreeBSD is a great book and it's how I got started. Do get a recent edition.
-
o0x1eef
Ya I build my own ports with poudriere
-
zip
but I wouldn't suggest coming into FreeBSD expecting it to be a drop-in replacement for a linux desktop
-
zip
I hear that's a lot better for 15, but as a tool I'd say FreeBSD is what I'll reach for if I want a server
-
o0x1eef
I wouldn't use FreeBSD on the desktop either (I use OpenBSD on that front).
-
vkarlsen
I use it on desktop
-
zip
My current view is: FreeBSD for servers, Void for linux Tinkering™, Fedora for "this is my main computer and I just want a working web browser and Steam"
-
zip
well, I do want to try FreeBSD on desktop
-
zip
as a rule I don't put files or my browser's cookie jar on a non-encrypted filesystem
-
zip
and I'll want to run sway, so...
-
zip
I expect getting myself to a FreeBSD desktop will be a A Journey
-
o0x1eef
IMO FreeBSD is not optimized for the desktop, especially when it comes to security, and relative to the other options like OpenBSD.
-
vkarlsen
You can use zfs encryption on your $HOME
-
zip
I think there's maybe even pam modules to make that less painful?
-
zip
which is probably better on desktop where you're using a password, and very annoying for ssh
-
zip
I do need to remember that while it's neat to be super sekrit squirrel and have the best possible setup, tm, my real threat model is having my laptop nicked on a train and someone having a go at ordering things on ebay
-
zip
which, as a side note, is why you want biometrics on your phone and a PIN on your banking app, because your threat model there is either (a) someone surfs your PIN, pinches your phone, unlocks it, possibly has a go at your online accounts or (b) someone mugs you and then holds your phone up to your face to get into your banking app
-
o0x1eef
That's a double edged sword. I'm not in favor of it. But maybe more suitable for #freebsd-social
-
zip
ah, good idea
-
zip
I wasn't in there
-
zip
well. I'm ADHD'ing my way out of doing my job anyway so I shall close IRC
-
» rtj just gives all the passwords to the dog. he can't tell anybody else but other dogs. they are not malicious.
-
o0x1eef
rtj :D
-
o0x1eef
zip thanks for the chat
-
agent314
dog -- the best password manager
-
zip
I'm more than happy to refine my view on this, being right is a process, not my default state, after all :)
-
rtj
unix dog and I say good morning. hope that everbody has a good day.
-
agent314
dog is completely invincible to post-quantum cryptoanalysis
-
zip
my mum did at some point apologetically tell me she has a password book. I told her it's great security: she's a retiree, not someone in an office that someone might break into, and having a different password for each service stored in a way that works for her is far better than using the same password or something that's hard to operate or might break
-
agent314
yeah realistically is there any research on how many accounts are broken into vs how many are lost forever because a person loses password?
-
zip
well, given password recovery via email I suspect a good appproximation for that is how often that happens to email accounts
-
zip
there's also the matter of people forgetting they have an account and creating five more on the same service
-
zip
the upside of using an email address as an account identifier is that it doesn't happen, but then the downside is that you can't change your email address as easily...
-
wavefunction
huh. pkg is saying it has errors updating the sqlitedb for "packages.path" :-/ How screwed am I...
-
ivy
wavefunction: your system is fine, it's an issue with the repository
-
ivy
see PR 292214
-
mzar
freebsd/pkg #2575 <- probably the same issue
-
mzar
it happens
-
wavefunction
Oh. Well then. Thanks ivy & mzar
-
wavefunction
Requiring people to "remember" a password is a recipe for all the problems we propose to solve
-
markmcb
ah, came here to see if anyone had this pkg bug and the answer is right here. thanks.
-
dgriffi
markmcb: speak of the daemon, that's what I'm here for too.
-
dgriffi
markmcb: what's the solution?
-
markmcb
dgriffi: I don't think there is one yet. Seems to be a wait and see situation.
-
dgriffi
markmcb: ah... you said "answer", not "solution".
-
dgriffi
Any idea what's going on?
-
dgriffi
It must have started since yesterday afternoon US Pacific time. I made a fresh install of 15 then.
-
markmcb
that github link has a bit of info, but the root cause isn't clear. yeah, same for me, i just noticed it today for the first time.
-
dgriffi
on my side, there's no github reference in the error messages.
-
dgriffi
-
dgriffi
I thought it was my local mirror barfing
-
markmcb
I meant from mzar earlier in this channel, here it is again:
freebsd/pkg #2575
-
dgriffi
Three weeks???
-
dgriffi
I've done updates on 14.x machines in the past three weeks without issue.
-
dgriffi
I posted a comment mentioning my recent install of 15 and doing a pkg update just now on a 14.3 box (no problems).
-
wavefunction
The answer is "wait for maintainers to fix it." The FreeBSD package builders seem to not be building the pkg dataset with the correct values emitted for 15
-
wavefunction
-
wavefunction
last update was around 2 hours ago
-
joneum
Is anyone from the postmaster team available who can send me a private message?