-
rtprio
-hey; in man rc.subr, when i see ${name}_env that's a literal ${name}_env not myprogram_env, right?
-
rtprio
because of rc magic will substitute it for me
-
[0x1eef_]
Anyone know if X11 forwarding can be configured to work past one application that is started and then killed ? When I try to open an application after that, the error is along the lines of: Display localhost:10.0 unavailable, simulating -nw .... (command = emacs . &)
-
mns
[0x1eef_]: depends on how you're starting the X11 forwarding
-
[0x1eef_]
mns: I'm connecting via the command line, and after connecting I usually run: emacs . & ... It works, but I have to start a new SSH session to open a different application (or the same one).
-
[0x1eef_]
There also happens to be an instance of X running on the same machine. Hrm.
-
[0x1eef_]
Ok using that display doesn't help. It starts on the other computer's screen instead.
-
mns
[0x1eef_]: the way I recall it, and its been a while since I've done X11 forwarding, but you should be able to start multiple applications. Why do you do 'emacs .' ? just 'emacs &' should work just fine.
-
johnjaye
[0x1eef_]: do you test with xeyes first?
-
johnjaye
i have X11 forwarding enabled on the remote computer as well as X11DisplayOffset to 10
-
kevans
-
VimDiesel
Title: ⚙ D43696 Jail descriptors
-
[0x1eef_]
johnjaye: Nice to see you here :) I think I am hitting the timeout described in the man page:
-
[0x1eef_]
If this option is set to no (the default), remote X11 clients
-
[0x1eef_]
will be considered untrusted and prevented from stealing or
-
[0x1eef_]
tampering with data belonging to trusted X11 clients.
-
[0x1eef_]
Furthermore, the xauth(1) token used for the session will be set
-
[0x1eef_]
to expire after 20 minutes. Remote clients will be refused
-
[0x1eef_]
access after this time.
-
johnjaye
ah i think that is in ssh_config man page
-
xa0z
I'm really having a hard time figuring out why some of my jails have extremely lagged incoming SSH, and some of them are fast/normal. It only seems to happen when connected to one wireless AP on our network. I've tried running some packet traces but not finding anything to really help me understand what's happening.
-
xa0z
Router and AP are both Fortinet hardware.
-
core-ix
xa0z: DNS / Reverse DNS / UDP issues? (or anything in ssh -v)?
-
xa0z
core-ix: first thing I checked, as that was an issue I had experienced years ago. Everything else seems fine. using -v doesn't really show anything different between the jails. They're all pretty much configured the same way.
-
xa0z
core-ix: one thing I just noticed is that the problematic jails have this error, and the others don't... adjkerntz[82692]: sysctl(set: "machdep.wall_cmos_clock"): Operation not permitted
-
core-ix
xa0z: missing timezone settings? missing sysctl settings? (for the adjkerntz)
-
xa0z
I exeuted tzsetup on them, and restarted them, still laggy.
-
xa0z
Mind you, this issue was non-existant until I swapped the old AP out for the new one. :/
-
V-T60
Hello
-
V-T60
dovecot:\
-
V-T60
:openfiles-cur=1024:\
-
V-T60
:openfiles-max=2048:\
-
V-T60
:tc=daemon:
-
V-T60
will that be working on frebsd?
-
V-T60
why might it be so? Jan 12 15:45:07 generic dovecot[29950]: auth-worker(30117): Error: conn unix:auth-worker (uid=143): auth-worker<1>: pam(me,192.168.100.117,<JObFifl8Y8PAqGR1>): pam_authenticate() failed: Authentication error (/etc/pam.d/dovecot missing?)
-
V-T60
what pam.d even is?
-
TommyC
V-T60: Pluggable Authentication Modules
-
V-T60
Jan 12 16:31:03 generic dovecot[30355]: auth: Fatal: Support not compiled in for passdb driver 'bsdauth'
-
V-T60
the one that worked on openbsd doesn't work on freebsd
-
meena
V-T60: yeah, authentication is usually very system specific
-
V-T60
What is the easiest way to substitute bsdauth?
-
V-T60
Jan 12 16:31:03 generic dovecot[30355]: auth: Fatal: Support not compiled in for passdb driver 'bsdauth'
-
V-T60
that worked on openbsd
-
V-T60
but now on freebsd doesn't work
-
msa
Hi. I need help connecting my ThinkPad to HDMI. It works if I boot with the cable plugged in, but not if I plug it in after the machine is already booted. Any ideas?
-
lw
V-T60: i don't think freebsd supports bsdauth? it uses PAM instead
-
V-T60
lw: yeah, that is so
-
lw
V-T60: i haven't done dovecot with PAM for a while but from what i remember it works the same as on other systems (Linux etc) so the config from the Dovecot manual should be fine
-
lw
did you have some error with /etc/pam.d/dovecot missing? you can just copy that from /etc/pam.d/system or something. or look at how /etc/pam.d/su uses 'include' to reference system
-
lw
you might want to check system doesn't include any random stuff dovecot shouldn't be using
-
V-T60
now i'm struggling with other problem
-
V-T60
-
VimDiesel
Title: 274504 – mail/opensmtpd tls fails with FreeBSD 14.0-RC1
-
V-T60
and on my architecture i have opensmtpd 6.8, maximum
-
lw
this is probably related to openssl 3.0 dropping legacy cyphers. shame this patch has been sitting for 2 months with no movement...
-
lw
V-T60: i suggest mailing the port maintainer to ask if this can be committed
-
lw
V-T60: also what arch are you on? 7.3 was committed in october, a new package should have built by now
-
V-T60
lw: armv7
-
lw
ah... that is like super deprecated, maybe ports don't build often
-
V-T60
i like this architecture and device
-
lw
(arm64 has 7.3.0)
-
V-T60
Allwinner H3 can't work with arm64 somehow, can it?
-
V-T60
why would that be *deprecated* though?
-
V-T60
amd64 has so many years older devices
-
V-T60
like, 2015 against 2006
-
lw
all 32-bit archs are being deprecated/removed, including i386 and the 32-bit arm platforms
-
lw
although apparently armv7 is still supported for now in 15.0, unlikely armv6 which is going away
-
lw
V-T60: it looks like an armv7 pkg build was run in January though so i'm surprised you don't have the newer version
pkg.freebsd.org/FreeBSD:14:armv7
-
VimDiesel
Title: Index of /FreeBSD:14:armv7/
-
lw
is the package in the repo? maybe it failed to build
-
lw
ah it's still 6.8 on quarterly
-
lw
freshports.org/mail/opensmtpd that's weird, i386, amd64 and arm64 all have 7.3 in quarterly, i wonder what happened to armv7
-
VimDiesel
Title: FreshPorts -- mail/opensmtpd: Security- and simplicity-focused SMTP server from OpenBSD
-
V-T60
yeah, might i wonder? if you don't know...
-
lw
you could ask ports@, there's some way to view the build logs for the packages but i can't remember what it is... maybe someone else here or in #freebsd-ports knows
-
lw
wait i was looking at the wrong thing, armv7 *does* have 7.3 in quarterly, it's just v6 that doesn't
-
V-T60
strange thing
-
V-T60
FreeBSD orangepi 14.0-RELEASE FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 09:03:07 UTC 2023 root⊙rnfo:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm
-
lw
does pkg upgrade not offer the new version? what's in your pkg repo config?
-
V-T60
FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes }
-
V-T60
that's only what was found in /etc/pkg
-
lw
i wonder how ${ABI} expands on arm
-
V-T60
in FreeBSD.conf
-
lw
V-T60: can you run 'pkg -d update'? it should show the specific URL it's fetching for packagesite.pkg
-
V-T60
what about links here...
-
V-T60
DBG(1)[34401]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/meta.conf
-
V-T60
-
lw
oic, 7.3 is in the freebsd 13, but the freebsd 14 repo only has 6.8. ?? that's weird
-
V-T60
DBG(1)[34401]> Request to fetch pkg+http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/packagesite.pkg
-
lw
V-T60: well i will go back to my previous advice that someone on ports@ might know
-
V-T60
FreeBSD repository is up to date.
-
V-T60
All repositories are up to date.
-
V-T60
# pkg upgrade opensmtpd
-
V-T60
Your packages are up to date.
-
V-T60
version: OpenSMTPD 6.8.0p2
-
lw
-
lw
V-T60: can you try changing your FreeBSD.conf to use url
pkg0.nyi.freebsd.org/FreeBSD:14:armv7/quarterly and remove the mirror_type option? take a backup first in case you need to revert it. i wonder if your mirror is out of date
-
VimDiesel
Title: Index of /FreeBSD:14:armv7/quarterly/
-
V-T60
oh
-
V-T60
root@orangepi:/etc/pkg # cp FreeBSD.conf FreeBSD.conf.bak
-
V-T60
this way? url: "pkg+http://pkg0.nyi.freebsd.org/FreeBSD:14:armv7/quarterly",
-
V-T60
#mirror_type: "srv",
-
V-T60
ok, without pkg
-
V-T60
Updating FreeBSD repository catalogue...
-
lw
yeah, just http://
-
V-T60
FreeBSD repository update completed. 30452 packages processed.
-
V-T60
Your packages are up to date.
-
lw
and pkg search opensmtpd only shows 6.8?
-
V-T60
opensmtpd-6.8.0,1 Security- and simplicity-focused SMTP server from OpenBSD
-
V-T60
probably at least a pkg file anywhere out there?
-
V-T60
with exactly opensmtpd
-
antranigv
-
VimDiesel
Title: if_ixl: Admin Queue memory allocation issue hangs the server
-
lw
how do i build a pkgbase repository from a src checkout?
-
lw
wiki.freebsd.org/PkgBase does not appear to provide enlightenment
-
VimDiesel
Title: PkgBase - FreeBSD Wiki
-
meena
lw: make packages
-
lw
thanks
-
meena
and make update-packages
-
lw
what's the difference?
-
meena
the update-packages updates the packages that need updating
-
meena
-
VimDiesel
Title: website/howto/bootstrap.md at main - pkgbase/website - Codeberg.org
-
lw
ah right
-
meena
might also be helpful
-
lw
well, i don't want to install from packages directly, i want to publish them to http and use them on other machines via pkg... so i guess i don't need update-packages then?
-
meena
yes, you do. unless you want to rebuild all 503 packages every time
-
lw
ah ic
-
lw
so i need to run make packages once, then every subsequent build i can run make updates-packages, unless UPDATING says otherwise?
-
lw
update-packages
-
» lw goes to create a builder vm to play with this
-
lw
unrelatedly, did anyone notice that rust not building under qemu-static has broken ports cross-builds for basically everything since most things eventually depend on rust now?
-
lw
i wish ports had a proper cross-build support
-
lw
is anyone working on that
-
lw
base already builds llvm with a target for every platform so it wouldn't even need a compiler for a lot of ports, although getting things like rust working might be fun
-
dautor851805
What is up with "fasm" port? It only comes as a 32-bit executable.
-
dautor851805
Could we get a x86_64 build, too?
-
» lw wonders if bhyve boot via nfs root works
-
lw
dautor851805: is it only distributed as a binary upstream? or why does the port use a binary?
-
paulf
lang fasm or cad fasm?
-
dautor851805
It uses binary because it needs to bootstrap somehow (it is self hosted). IIRC, I compiled it with itself a few years ago as 64 bit after bootstraping 32 bit version and everything worked. I will try it tomorrow if I find some free time.
-
dautor851805
paulf: lang
-
dautor851805
I'll have to install lib32 for that, though... agh...
-
dautor851805
I see... libc platform is only written for x86 and not for amd64. It's only 363 lines though, so I might try to write a 64 bit implementation.
-
dautor851805
well, double that - I missed system.inc
-
lw
if you had an 8-disk raidz2, and da[0123] were identical disks (same model number), and you saw this output in iostat, would you think da0 might be about to fail?
le-fay.org/tmp/30d/QtTzEN.txt
-
lw
%b for da0 is consistently higher than all other disks
-
lw
oh, wait this is user error... da0 is running the SMART self test
-
dautor851805
I would check smart and have a spare ready in case something fails.
-
dautor851805
classic :D
-
lw
i really need to work out how to do partial self-tests so it's not running in the middle of the day when i'm trying to use the disks
-
babz
pid 13980 (rust-installer), jid 146, uid 65534, was killed: failed to reclaim memory
-
babz
context: poudriere compiling lang/rust
-
babz
that's not the first time i have this problem
-
babz
but this time I had the luxury of a machine on which I could reserve 96GiB of RAM for the builder
-
babz
I have MAKE_JOBS_NUMBER and PARALLEL_JOBS set to 1
-
babz
What am I doing wrong ?
-
rtprio
reclaim memory?
-
babz
OOM
-
rtprio
so is the build using 96gb of memory?
-
babz
I can't say for sure, but yes, that's my interpretation
-
babz
what would be the best way to confirm it?
-
babz
the job only gets killed after 5-6 hours
-
CrtxReavr
Rust is a beast ot build.
-
dautor851805
babz: You have to be kidding... I haven't tried compiling the compiler, but that has to be a joke.... I can't imagine it would need 96 gigabytes of RAM... and 5-6 hours... right?
-
dstolfa
babz: no, this is normal for rust
-
dstolfa
rust is routinely the build that gets OOM killed on machines with "low" amounts of RAM
-
dstolfa
make sure you turn off tmpfs for builds, lower the amount of parallel jobs, etc. all the usual stuff
-
dautor851805
And people take this language seriously?!?!?!
-
meena
dautor851805: it's mostly LLVM that is at blame here
-
meena
but then again, why are you building it yourself to begin with?
-
meena
why waste CPU and then complain about having to waste CPU?
-
dautor851805
I forgot modern compilers are awful beasts :(
-
dautor851805
makes me want to "rewrite in fasm" :P
-
babz
i can bootstrap the llvm/clang toolchain for base without problem on much less powerful machines
-
babz
but rustc stands apart
-
babz
also, I don't know shit about compilers, but it seems weird to me, when you claim to avoid undefined behaviors, to have your reference compiler emit LLVM IR for optimization ?
-
Kit_Leopold
Hello! Please tell me, is it worth using the ZFS file system on a home computer with one hard drive or making do with the UFS file system?
-
dstolfa
babz: avoiding undefined behaviour in a language means that anything that doesn't match it at runtime is a miscompilation and considered a bug. it isn't realistic to implement a formally verified optimizing compiler with all the platform support needed + you kind of have to consider that many ISA specs are plain text as opposed to being formalized
-
dstolfa
that being said, i don't think rust has a formal spec. there are a few formal models of rust-like things floating around but nothing official AFAIK?
-
orbifx
The spec is to evangelize it
-
babz
I can feel the appeal to have a performant system language designed for static checking
-
babz
but that's weird to implement it on llvm, as it's designed to build optimizing compilers taking advantage of C's UBs
-
babz
like, I've seen poeple surprised that you couldnt, in some version of the compiler use an infinite loop to panic, because LLVM can optimize it out
-
meena
babz: LLVM is written in C++
-
babz
C++ what's that ? D ?
-
dautor851805
Kit_Leopold: I would say yes. You still get really nice ZFS features with a single drive.
-
dstolfa
babz: the nature of how you transform your language's semantics to the IR depend on the semantics of both. llvm IR is no different. it has some semantics (i don't think those are formally defined either, though there are some things floating around as well). rust has some semantics. it's up to the rust compiler developers to map those onto each other. if the execution doesn't match what the rust language
-
dstolfa
people expected, then that's a miscompilation. it could be at the stage where llvm IR is generated and therefore they map the language wrong onto the IR, it could be in llvm itself or it could be in the rust implementation of some stdlib function
-
dstolfa
the reason rust uses llvm is likely because getting the same kind of optimizations that they want would require reimplementing their own variation of llvm with a different and likely less-tested IR which can cause the same kinds of bugs that llvm can
-
Kit_Leopold
dautor851805: Thanks for the answer.
-
dautor851805
Kit_Leopold: I run it on many machines with single drives. Also, check out sanoid and syncoid - they might be interesting to you.
-
Kit_Leopold
dautor851805: Thank you again. I've never heard of sanoid and syncoid before.
-
okelano
Good evening. Is it possible to build BSD based distributed cluster on arm to run openstack and share computing resources between grid nodes? - Thank you for your answers.