-
mason
Yay, 13.4! \o/
-
nmz
interesting, doas mount directory_which_is_in_fstab fails
-
rwp
Are you looking for sympathy or debugging? If sympathy then, "Well that's just terrible! I feel your pain." If debugging then, "What error message was emitted when it failed?"
-
nmz
sympathy because IDK if I should submit a bug report
-
nmz
oh, interesting, the bug stems from doas mount not taking $PWD into account, so { cd /mnt; doas mount fs/ } fails, but { doas mount /mnt/fs } succeeds
-
nmz
but umount works
-
nmz
oh nevermind, it didn't work either way
-
rwp
Mounts should always be absolute paths.
-
rwp
At least mounts using /etc/fstab should always be absolute paths. So that the string matches what is in the file.
-
lw
except ZFs mounts which are relative paths
-
lw
(not that you would usually mount zfs in fstab)
-
rwp
True that zfs is its own special case.
-
darwin
a bit off-topic, but there's a bug inside my 4K monitor and I no longer have warranty. Will it disintegrate/disappear slowly, or should I buy a new 4K, 5K, 6K, or 8K or is there something newer (10K) as long as they don't have *BSD driver issues?
-
lw
darwin: what do you mean by "a bug"? like literally an insect lives inside your monitor?
-
darwin
yes: two actually. The first one did disintegrate/disappear
-
darwin
fortunately they so far go all the way down to the bottom left where it's not a big issue unless I'm fullscreen graphics-editing at those pixels (not many)
-
rtprio
i'd give it a go with compressed air
-
lw
well if you want to buy a new monitor, i'd say 4k is fine for most desktops, if you have a Mac consider 5k because of the strange way display scaling works on that OS, definitely don't bother with anything higher
-
remiliascarlet
On OpenBSD and Linux, installing the "zimg" package includes the libraries (.so and .a), but on FreeBSD it doesn't apparently. Why is that?
-
remiliascarlet
Ah, nevermind, I see I had to install "zbar" as well in order to get the libraries.
-
lw
[00:00:10] [01] [00:00:00] Inspecting devel/popt | popt-1.19_1: determining shlib requirements
-
lw
this is new, what does 'determining shlib requirements' mean?
-
sidh
kevans: sorry for the delay, (CEST tz here, I was sleeping) , yes I performed 3 freebsd-update install
-
lw
oh no
-
lw
Error: (2474) _mktemp:_mktemp:260: mkstemp failed on /poudriere/data/logs/bulk/main-lf/2024-09-17_07h54m48s/.write_atomic-.poudriere.snap_loadavg.HQa1OkM8: No space left on device
-
lw
never saw this before, i wonder what changed
-
sidh
lw: that error makes me recall a rust build problem I had
-
sidh
there was an adjustment in poudriere.conf for tmp space for the build process to set
-
lw
i already have USE_TMPFS=no
-
lw
(in poudriere.conf)
-
lw
oh wait i found the problem
-
lw
[8!] daphne /usr/local/etc# df -h /
-
lw
Filesystem Size Used Avail Capacity Mounted on
-
lw
zroot/ROOT/default 5.5G 5.5G 0B 100% /
-
sidh
(as I had several problem in building rust on my poudriere vm, i decided to use poudriere-devel and fetch as many pkg as I can in dependancies, (with rust being one of this dependancy)
-
lw
somehow /src/obj is 221GB
-
erk
reset
-
lw
i refuse
-
last1
does anyone know which pkg is the 'dns' package for python 311 ?
-
last1
I try import dns and it says the module can't be found
-
ivy
last1: py311-dnspython
-
ivy
holy shit my ports build actually finished
-
ivy
let's see if upgrading works
-
kevans
sidh: how much RAM on this guy?
-
sidh
kevans: 1GB RAM for the first, and 2 GB RAM for the second (proxmox VM , few services)
-
kevans
sidh: ZFS or UFS?
-
kevans
an associate noted they've seen similar failures in low RAM environments where the update ends up only sporadically deployed
-
kevans
dch: oh, hey
-
dch
kevans: sup
-
kevans
dch: sidh just above is the one with that very partially updated system I mentioned
-
dch
sidh: heya
-
dch
yes, so I have seen this a couple of times on my mini-VMs (they act as ssh jump hosts, and run a lightweight auth services)
-
dch
typically 1G RAM, and sometimes swap gets a little high
-
dch
sidh: my speculation is that theres not enough ram during unpack or fetch, so box just runs out of memory and stuff randomly gets OOM killed
-
dch
I don't see this every time, but I've seen it enough to know to run `freebsd-update IDS` *before* the reboot.
-
sidh
dch: thanks for the tips, will add that IDS to the routine
-
sidh
but here the question remains if the problem is not due to the freebsd-update -b -d procedure (as usually, we create a bootenv, and upgrade it once mounted)
-
sidh
in the first context of the bug, it is from a jail context, so with my BE, I'm in the same context
-
kevans
oh, someone marked it closed
-
sidh
kevans: really am sorry for my weird inconsistent system
-
dch
sidh: we all have our snowflakes
-
dch
I don't think the memory constraint would be any different if you do freebsd-update into a jail
-
dch
-
dch
its very nice, very fast.
-
dch
also very new and you may find different/new/other bugs
-
dch
freebsd-update written in rust, so no shell forking.
-
sidh
I read about the brainstorming in including rust in the basesystem, I have to admit that my first reaction was FEAR (several poudriere bulks that failed during rust after 12 hours+ building time) , but rust apps are known for their efficiancy, so I am quite wondering about it
-
jb1277976
-
jb1277976
^ weird right ?
-
break19
jb1277976: Not really. afaik, pkg info shows info of *installed* packages.
-
jb1277976
aw
-
jb1277976
you can tell i'm still a noob
-
break19
Everyone was, once. Contrary to belief, even the hardest bofh wasn't born with the knowledge. :)
-
foxiepaws
yep, every bofh was once a pfy :P
-
debdrup
Did you find out the differences between pkg-search(8) and pkg-info(8), then? ;)
-
rwp
I have an internal process use for symmetric encryption.
-
rwp
Previously I have used GnuPG v1 but GnuPG v2 makes non-interactive use if not impossible then so difficult that I haven't been able to accomplish it safely and securely yet.
-
rwp
I am contemplating using openssl encryption. Is there wisdom from the community that they might want to hint to me?
-
rtprio
too many variables / what are you encrypting?
-
rwp
In this particular case it is part of server provisioning and I am encrypting a secrets.tar.gz of information targeted to a server. ssh host keys. https certs.
-
rwp
The entire process is rather involved but this is information which shouldn't be publicly available but I must transport from the secrets vault to the server getting provisioned.
-
rtprio
you don't generate ssh host keys on the host itself?
-
rtprio
anyway openssl could probably be fine for this
-
rwp
Can't. Let's take Github as an example. Let's say that every time you did a clone or push that it informed you that the host keys had changed?
-
rwp
When a new system is spun up to perform a role it must use the same role keys that have already been distributed by TOFU.
-
rtprio
sure, ok
-
rwp
Handling secrets vault information in a secure way is one of those tedious details that makes provisioning, well, tedious!
-
rwp
Non-secrets details have a dozen competing infrastructures for provisioning. Such as puppet, chef, salt, ansible, and so on.
-
rwp
I wrote my own so of course I use my own. But they all fill the same conceptual block in the block diagram.
-
rwp
In GnuPG v2 it appears they decided to embrace interactive use only. gpg starts up a persistent gpg-agent to handle the passphrase interaction. Which if interactive would open a GUI dialog and interact with the user. I don't want that in batch mode operation acting automatically in a root privilege process. Avoiding that seems impossible. Working securely with that behavior will be tricky.
-
rwp
Seems the only answer is to abandon that tool. Therefore I must use another.
-
rwp
Humor found in gpg(1) man page "--no-use-agent This is dummy option. gpg2 always requires the agent."
-
rtprio
in my case i use puppet with hiera, and with hiera i can use eyaml
-
rtprio
root::salt: ENC[PKCS7,MIIBmQYJKoZIhvcNAQc...]