-
jbo
uff, we still have stuff depending on llvm10?
-
puddinghead
so that means id have to install llvm12 to 16
-
puddinghead
unless i really need newer llvms?
-
RhodiumToad
firefox-112.0.1,2 llvm13-13.0.1_3
-
ixmpp
jbo: oh you mean the feature i've been waiting for on gentoo for years? nice :D
-
jbo
well, ports depend on stuff (both for building and actually running the resulting binaries). some ports require different llvm versions. hence you want to fetch them rather than building them yourself.
-
jbo
ixmpp, welcome to the world of freebsd ;-)
-
ixmpp
although i wager my adding debug flags would preclude that
-
puddinghead
i c
-
jbo
ixmpp, exactly. BUT poudriere will be smart enough to figure that out.
-
jbo
another feature that portmaster lacks :p
-
ixmpp
hmm
-
RhodiumToad
jbo: not sure about llvm10. I thought lang/ghc was going to need it, but it's not in the deps list.
-
puddinghead
so portmaster is outdated, poudriere all the way?
-
jbo
RhodiumToad, if you have the poudriere dashboard available it should tell you why it is building llvm10
-
jbo
for anybody new: poudriere all the way.
-
RhodiumToad
I know why, it's because I put it in the list :-)
-
jbo
RhodiumToad, I didn't dare to say/ask :p
-
puddinghead
welp, found out my pc was using 12 gigs out of its ram and it was all firefox's fault
-
mason
RhodiumToad: Nice, LLVM is like Pokemon - catch them all!
-
jbo
was it firefox's fault or the fact that browsing a modern web page requires 1GB of memory?
-
jbo
mason, :D
-
puddinghead
it then crashed and ram usage wnet down to just 4gb
-
puddinghead
and yeah i was with like a dozen tabs of Modern Websites
-
jbo
doesn't sound like firefox's fault then.
-
V_PauAmma_V
ISTR at one point FF (for a single process) showing memory use larger than host RAM+swap.
-
ixmpp
it occurs to me that gentoo's slots system is a steep overcomplication when i think about how ports does things
-
ixmpp
it looks nicer though :p
-
RhodiumToad
ah. ghc requires llvm10 on arm
-
RhodiumToad
but apparently not on amd64
-
jbo
ixmpp, so you're a gentoo user? are you ready for a fun read (but slightly painful)?
-
ixmpp
ha, sure
-
jbo
-
VimDiesel
Title: Welcome to Gentoo is Rice, the Volume goes to 11 here.
-
ixmpp
oh god
-
mason
jbo: Was that his originally or did he just copy funroll.loops?
-
mason
(or whatever the site was)
-
ixmpp
ok i'll take the hit, but to be clear, i don't think anyone uses gentoo for speed
-
ixmpp
:D
-
jbo
mason, no idea. I haven't been around for long enough. afaik it's just quotes the person collected over the years from fora, irc etc.
-
mason
jbo: that used to be a standalone web site
-
jbo
ixmpp, I don't judge - just wanted to share what gave me a good laugh :)
-
jbo
mason, that sounds like fun
-
mason
-
VimDiesel
Title: Welcome to Gentoo is Rice, the Volume goes to 11 here.
-
mason
Worth archiving, of course.
-
jbo
mason, really no idea - might be the same dude with different website. I really don't have a clue.
-
puddinghead
@mason archive everything you find
-
mason
I'm going to go archive dinner, right now. o/
-
puddinghead
well, i dont have space to archive it all so i just archived anything i find involving parappa the rapper, but archiving a few things is better than not archiving
-
puddinghead
and cya
-
jbo
it does have some gold in there tho
-
jbo
> Yea, I really don't understand all the complaints about the time to install gentoo. It is like complaining about your Ferrari because the dealership was so far away.
-
ixmpp
also, forgot, does poudriere have a feature to apply patches to packages? thats a feature of gentoo i absolutely love
-
ixmpp
that and savedconfig
-
RhodiumToad
if you want to do your own patches, you put them in the port
-
ixmpp
but both can be done better
-
RhodiumToad
it's easy with git to maintain your own branch of the ports tree with your own changes
-
ixmpp
RhodiumToad: oh! and because theyre untracked - yeah
-
ixmpp
i knew you guys would do it better somehow
-
jbo
ixmpp, patches are handled by the port system itself.
-
jbo
aye, too slow. sorry.
-
ixmpp
this is why i keep wishing i could use this on desktop, but there is so much friction with the hardware...
-
jbo
ixmpp, not everything we do is better tho. we just try really hard whenever possible :>
-
ixmpp
but freebsd is the way
-
jbo
maybe you can get a cheap 2nd hand replacement laptop? Lenovo Thinkpads are generally very well supported.
-
ixmpp
might be realistic eventually
-
last1
I'm trying to run a Linux binary but it's complaining about not finding ld-linux-x86-64.so.2 : do I need to setup the CentOS Base System as well ?
-
last1
right now I just did service linux start
-
last1
yep, that was it: pkg install linux_base-c7
-
jbo
jup
-
jbo
the linux service only starts the linuxulator layer
-
jbo
if your linux binary depends on other stuff you have to take care of that
-
last1
my app does come with some library dependencies, some .so files that shipped with it
-
last1
I placed them in /usr/local/lib/solidigm and ran ldconfig -m /usr/local/lib/solidigm but I guess that won't work for Linux libs ?
-
RhodiumToad
for linux libs you have to run the linux version of ldconfig
-
jbo
chroot into the c7
-
jbo
then do ldconfig in there
-
RhodiumToad
you don't need the chroot, but you might need a -C filename option to make sure you update the right file
-
RhodiumToad
the libraries should probably go in /compat/linux/usr/... rather than under /usr
-
RhodiumToad
I have a linux printer driver, what I did was just stick the .so it needs under /compat/linux/usr/lib64
-
last1
yep, I did that, but it turns out I also had to guess the correct subdir
-
last1
so in this case it wanted /compat/linux/usr/lib/solidigm
-
last1
it might not be enough. this is the Intel/Solidigm SSD firmware update tool
-
last1
on Linux I can get it to work by specifying -ssd X , aka -ssd 0 for the first drive
-
last1
on FreeBSD it says: Error: Invalid drive identifier , maybe it can't run under emulation ?
-
jbo
oh, that will surely require some more magic.
-
jbo
might be better of just running a live linux system and upgrading firmware that way.
-
ixmpp
i wish lldb was more comfortable to use than gdb
-
jbo
?!
-
ixmpp
but for me at least, nope
-
jbo
-
last1
I'm trying not to use Linux at all :)
-
VimDiesel
Title: GDB to LLDB command map — The LLDB Debugger
-
jbo
last1, if you use the linuxulator you are using linux x)
-
jbo
linux-c7 is literally a linux base
-
last1
but it's probably looking for different devices in /dev or something ?
-
ixmpp
wow, theres more than i thought there was in lldb
-
jbo
ixmpp, what did you expect? llvm is a fully fleged compiler suite. just like gcc. but different.
-
ixmpp
might give it a try again someday
-
ixmpp
i've tried it before
-
ixmpp
it was ...painful
-
jbo
seems like a problem on your end :)
-
ixmpp
well, granted, it is like learning a whole new language
-
jbo
it's like learning a whole new CLI.
-
ixmpp
ok yes
-
jbo
this just seems like typical linux mentallity to me (really, no offense at all)
-
jbo
"it's different therefore it's bad"
-
jbo
and that from a community that is as fragmented as linux :o
-
ixmpp
no, im not saying its bad (anymore, now i know its as feature complete)
-
ixmpp
but it will still be hard to relearn
-
ixmpp
imagine i took vim from you
-
ixmpp
and you had to learn ...kakoune(?) or some other nonsense
-
jbo
so? I'd just learn whatever you give me instead. I'd start by reading the docs. I would not just blindly assume that it can't do a certain thing and throw that oppinion out in the world.
-
ixmpp
would hurt, right?
-
jbo
no. it wouldn't. just read docs, adapt and then make your mind up.
-
jbo
I might find that kakoune does something nicer than vim
-
ixmpp
im fairly sure i did at least try, when it came to lldb, but like you said earlier today(!) if it's not obviously better, why switch? and the gdb cli is more visibly complete, so do you blame me?
-
jbo
well, I get your point, but you're misusing my statement in a different context. here the difference is that if you want to use freebsd you better get used to clang because that is the base compiler :)
-
ixmpp
which is why im reconsidering it :p
-
jbo
you're free to choose. we have plenty of linux folks coming by because they get fed up with linux for various reasons, consider, maybe even try freebsd and then move away. some stay, some go away. that's everybodys freedom :)
-
jbo
if you want to stay & learn, the community will gladly help. if you determine that it's not for you - that's fine too!
-
jbo
I certainly don't miss GCC the same way I don't miss systemd :p
-
ixmpp
i've been using freebsd some time
-
ixmpp
on server only though
-
jbo
that's fine too
-
ixmpp
but i do still use linux, and by extension gcc
-
jbo
which is fine too
-
ixmpp
anyway im here to stay, just been more active lately cause linux crap has driven me to want freebsd desktop more and more
-
jbo
that is fine too :p
-
moonshine
speaking of fragmentation, there's that chimera-linux too... fbsd userland, llvm, linux kernel, specific opinions...
-
jbo
that sounds like a nightmare to maintain
-
jbo
I'd argue it's a symptom of the underlying problem :p
-
jbo
just use (Free)BSD and use linux emulation or a VM if needed?
-
jbo
both nice & funny to see that it is using pipewire tho
-
ixmpp
moonshine: there was a gentoo/kfreebsd, and i think the debian one still exists
-
ixmpp
arch too irc
-
moonshine
yeah the debian one still exists.
-
ixmpp
iirc
-
ixmpp
my server survives fine with bhyve vms
-
ixmpp
but thats cause all it needs is network and a userland, really
-
ixmpp
while we're on about the linux->bsd migration, the one thing that seems the most frictionful (aside from the change of toolchain) is that the bsd coreutils are much stricter on argument order
-
ixmpp
i'm actually not complaining, cause that is just something to get used to
-
ixmpp
but its interesting to note
-
ixmpp
i wish i'd started on a bsd now, because it works in the other direction, but not this one
-
ixmpp
(actually, my first non-windows OS was netBSD, but only briefly)
-
RhodiumToad
to be precise, the BSD utils don't follow the GNU-ism of allowing arguments to precede options
-
RhodiumToad
so it's command [options] [--] [arguments]
-
ixmpp
yeah
-
RhodiumToad
the GNU style can be very annoying from a shell scripting point of view
-
RhodiumToad
(since you have to worry even more about substitutions starting with - than in the normal case)
-
last1
anyone used zpool remove command ? (
man.freebsd.org/cgi/man.cgi?query=z…ion=8&manpath=freebsd-release-ports) and can comment on how well it works ?
-
VimDiesel
Title: zpool-remove(8)
-
_xor
RhodiumToad: I dear god, I've been having to deal with that quite a bit lately.
-
_xor
I despise it.
-
_xor
*Oh dear god
-
_xor
I actually use this pretty heavily these days because it's at least consistent and cross-platform, plus adds some functions useful for scripting...
-
_xor
-
VimDiesel
Title: GitHub - go-task/task: A task runner / simpler Make alternative written in Go
-
_xor
It integrates this lib, which works across FreeBSD, Linux, macOS, Windows, etc...
-
_xor
-
VimDiesel
Title: GitHub - mvdan/sh: A shell parser, formatter, and interpreter with bash support; includes shfmt
-
_xor
Oh yeah, btw, do poudriere overlay trees still work without using ZFS? (maybe it uses unionfs or something instead of doing a zfs overlay mount?)
-
RhodiumToad
what's a good gcc version these days?
-
_xor
I've been using poudriere overlay trees, but might have to switch to a single tree with multiple branches that get rebased instead of just using overlay if non-ZFS poudriere doesn't work with them.
-
_xor
Don't know what's considered good, but I've not had too much trouble using 12.x whenever something requires it.
-
RhodiumToad
I haven't tried overlays myself
-
_xor
I've been using this for quite a while and love it:
github.com/jdxcode/rtx
-
RhodiumToad
I just have one ports tree
-
VimDiesel
Title: GitHub - jdxcode/rtx: Runtime Executor (asdf rust clone)
-
_xor
There's a port for it now too (had an internal port I whipped up, might get rid of it in favor of upstream, though this project has a new release like every other day, so to keep up I might stick with my own port):
freshports.org/sysutils/rtx
-
VimDiesel
Title: FreshPorts -- sysutils/rtx: Runtime Executor (asdf rust clone)
-
_xor
Works really well though for generically installing & switching between side-by-side multiple-version installs of apps (which includes gcc in my case too).
-
_xor
User installs too, so root perms are a requirement.
-
_xor
Re: Overlays, I like them because I just had fewer merge conflicts to deal with when updating main tree ports to new versions or making minor fixes. Just had to keep an eye on updates as they became available.
-
_xor
Oops, root perms are NOT a requirement is what I meant.
-
_xor
There's probably a better way to do this or a port made to switch between versions of LLVM, but I also use rtx when switching between LLVM versions (if required), since it's installed in /usr/local/llvm${MAJOR_VER} by default so as to not conflict with the base install.
-
_xor
I had trouble with clangd, though I didn't really look for the C++ equivalent of javavmwrapper. It was just easier to do `rtx install llvm@${VER}` and then either create .tool-versions (or .rtx.toml) or do `rtx global llvm@${VER}`
-
_xor
I also use it for PostgreSQL to have 13.x, 14.x, & 15.x installed. Helps when doing major version upgrades and if pg_* are needed from both old and new versions.
-
ixmpp
sounds nix-y
-
ixmpp
but without the pain of having to use nix
-
_xor
I tried nix, but it was such a PITA.
-
ixmpp
(-os)
-
_xor
Yeah
-
_xor
rtx is a clone of asdf. I tried asdf a long while ago as a replacement for pyenv/nvm/etc, but it's implemented in bash and was pretty Linux-centric, so the trade-offs weren't worth it.
-
_xor
rtx is an asdf clone with additional functionality and implemented in rust (yeah yeah, I know)...but it has worked beautifuly for me so far.
-
ixmpp
another thing im glad for in freebsd hah, the rust fanaticism isnt present in this community
-
ixmpp
i dont hate rust, but the hype is unreal and its not imo remotely worth it
-
_xor
I like rust quite a bit, but that's for my usage of it. It's a trade-off like anything else, and so yeah, the evangalism can get annoying.
-
rwp
veg, Good luck with your array!
-
sfox
ntpd doesn't stay running gon 13.2-release
-
sfox
there's not log message in /var/log i can find about this
-
sfox
anybody else experience this?
-
RhodiumToad
sfox: what settings do you have in rc.conf for it?
-
rwp
sfox, Are you using -g with it? See the ntpd_sync_on_start rc.conf variable.
-
RhodiumToad
sfox: in particular, have you set ntpd_sync_on_start?
-
sfox
just the stuff from the installer, ntpd_enable="YES"
-
rwp
Add ntpd_sync_on_start="YES" to solve the problem. That's normally needed.
-
RhodiumToad
without ntpd_sync_on_start, ntpd will exit if the clock is wrong by more than some threshold
-
sfox
ok
-
sfox
can i fix this without rebooting the server?
-
RhodiumToad
with it, then as soon as ntpd is synced up to an external source, it'll step the clock (once only)
-
RhodiumToad
sure
-
rwp
Yes. Set the variable. Then restart ntp. "service ntp start"
-
sfox
oh
-
rwp
Sorry, it's "service ntpd start"
-
sfox
ntpd_sync_on_start="YES"
-
sfox
right?
-
rwp
Yes.
-
RhodiumToad
btw, it's good to make sure that you have "iburst" set in ntp.conf for your best timeserver entries
-
sfox
thankyou
-
sfox
i just left it at the default when i installed freebsd 13.1
-
sfox
it has iburst
-
RhodiumToad
that's good
-
rwp
+1 on iburst but that should be the default already. "pool 0.freebsd.pool.ntp.org iburst"
-
rwp
Also, the documentation for "man rc.conf" then search down for /ntp and will see all of the options along with ntpd_sync_on_start we are recommending.
-
sfox
thankyou
-
rwp
RhodiumToad, It was fun teaming up with you on ntpd -g! ( o/ )
-
sfox
cange of gears for a second, i wanted to ask what the general consensus was on iocage
-
sfox
with it now being unmaintained, there doesn't appear to be a replacement for it yet
-
sfox
jailer explicity says not to use it in production
-
sfox
I really need to update my jails to the latest minor release 13.2
-
sfox
iocage upgrade is broken
-
rwp
I know M. Lucas recommends iocage in his FreeBSD books but so far I have not used it myself yet. I like working down in the dirt.
-
sfox
I can't do it inside the jail as it complains about the security level
-
sfox
assuming I can lower the security level of the jail and use freebsd-update without further issues, would there be any problem doing this manually this way
-
sfox
and updating the config file afterwards by hand for the jails
-
sfox
rwp, I read Lucas's book too
-
rwp
"inside the jail
-
sfox
I ended up migrating from ezjail to iocage
-
rwp
"inside the jail" confuses me as iocage is used *outside* the jail to manage the datasets.
-
sfox
i mean iocage console jailname, and from a shell running inside the jail run freebsd-update
-
rwp
So it is the freebsd-update inside the jail which is failing? What are the errors you are encountering?
-
sfox
iocage upgrade -r 13.2-RELEASE mumble works, but it has me having to resolve merge conflicts of every update file in /etc/
-
sfox
files that should just be replaced
-
sfox
but there's no option to replace them
-
rwp
That does not seem like an iocage problem as such. Can you console shell into the jail and run freebsd-update from the shell level?
-
sfox
-
rwp
I haven't upgraded to the new 13.2R myself yet. Makes me want to try it immediately in a victim VM and see if I have similar problems.
-
sfox
rwp, no when i do so it says the security level is too high to run freebsd-update
-
rwp
Thank you for the paste. The devil is in the details and that shows them most clearly.
-
rwp
I admit that this is beyond my day to day level of knowledge. I have so far only used jails here and there and I don't know enough here.
-
rwp
The security level is tickling some brain cells but I think I have not restricted my own jails such and so have not run into this problem myself before.
-
sfox
i don't believe i did any additiona hardening of the jails
-
sfox
just set them up as 'thick' jails
-
sfox
without vnet
-
sfox
the good news is that iocage zfs snapshots your jail before upgrading
-
rwp
I know there is also the "freebsd-update -j jail" option too. I am the blind here leading the blind maybe but perhaps that would upgrade your jail for you? Warning! I don't know what I am doing here.
-
sfox
so i can roll back to a consistent state and not have a half-way-inbetween upgraded jail
-
sfox
i'll try that and report
-
ixmpp
iocage seems popular, but bhyve seems simpler for the same perks, am i wrong?
-
sfox
it's doing it's thing now: # freebsd-update -j 11 upgrade -r 13.2-RELEASE
-
sfox
ixmpp, isn't bhyve virtualization not jailing?
-
RhodiumToad
bhyve is full virtualization, yes
-
ixmpp
oh sorry, im thinking of ...what is it, iohyve
-
sfox
i've read online that FreeBSD administrators typiclly avoid upgrading to -p0 releases waiting for a -p1
-
sfox
maybe that is what I should have done
-
ixmpp
misinterpreted, ignore me
-
sfox
crap
-
sfox
it broke this way too
-
rwp
Well... It's 13.2R so already past the .1 release. So probably okay on the p0 front. But this does not "feel" like a p0 problem but more like something else.
-
sfox
-
rwp
Hmm... I should create a victim VM and then walk through an upgrade to 13.2R. Sorry. I haven't done it yet.
-
sfox
it's currently at 13.1-RELEASE-p7
-
rwp
My victim VM is at 12.4-RELEASE right now. I'll upgrade it to 13.1-RELEASE first. Then do the next step and see if it also wants to merge config files or not.
-
sfox
alright
-
sfox
i'll be here
-
sfox
i'm going to rollback that jail again
-
sfox
unless somebody else has something to try before I do
-
sfox
rwp, you might be interested to know this doesn't happen to all jails
-
sfox
i was able to update another jail on the same release, and it had to download a lot more patches. on the order of 14,000+
-
rwp
My VM is almost finished upgrading to 13.1R.
-
sfox
5f4de655-1d4f-4f61-8ab0-6c1937d7745b successfully upgraded from 13.1-RELEASE-p7 to 13.2-RELEASE!
-
sfox
i'm not really sure what it's getting hung up at
-
sfox
the only difference is that i stopped the jail, cloned it, and performed the upgrade while the jail was still off
-
rwp
It just finished. It took all of that time to get from 12.4R to 13.1R. Starting the upgrade to 13.2R now.
-
rwp
On the major upgrade the only files that needed merged were passwd and sshd_config and I recall one other trivial one.
-
sfox
yeah that's normal
-
sfox
/etc/passwd will need a look over if it 'looks reasonable' when the 13.1 -> 13.2 upgrade is working properly
-
sfox
and maybe ssd_config's banner
-
rwp
FWIW my VM is a 32-bit system so 13.1-RELEASE-p3 is the latest instead of -p6 and that confused me momentarily.
-
rwp
There are always comments which have changed in these files.
-
sfox
you'll know it's not working properly if it drops you into vi to resolve a merge conflict with /etc/mtree/
-
rwp
"Fetching 4945 patches....." so heading into the next half hour of downloads and upgrades before I know anything more.
-
sfox
No updates needed to update system to 13.2-RELEASE-p0.
-
sfox
No updates are available to install.
-
sfox
Run '/tmp/tmpbf5toe6a fetch' first
-
sfox
can i ignore the run /tmp/whatever ?
-
rwp
I am shocked by the message to run /tmp/tmpbf5toe6a fetch as that just seems really odd.
-
sfox
it looks similar to freebsd-update but it's not
-
sfox
the sha256sums are different
-
rwp
You could diff the scripts.
-
sfox
that's output from iocage update --pkgs 5f4de655-1d4f-4f61-8ab0-6c1937d7745b
-
rwp
Ah... It's an iocage thing. That would be less shocking.
-
sfox
it looks like a slightly less complete version of freebsd-update with some defaults changed like not creating a zfs bootenv
-
sfox
some minor string changes like:
-
sfox
< See
freebsd.org/platforms for more info.
-
sfox
-
VimDiesel
Title: Platforms | The FreeBSD Project
-
VimDiesel
Title: Platforms | The FreeBSD Project
-
sfox
rwp, do you know if turning the jail off while doing the upgrade had any effect?
-
rwp
Do I know if stopping a jail kills all processes running in it? I don't know. I would guess that it would.
-
sfox
i'll test that
-
sfox
no i mean having the jail be off before running iocage upgrade or running iocage upgrade while the jail is on
-
rwp
The merge part of the upgrade from 13.1R to 13.2R just started and completed wanting me to merge only /etd/passwd and /etc/ssh/sshd_config and no other files.
-
sfox
lucky you
-
rwp
The merge of /etc/passwd seemed confused about one thing. I normally run root using /usr/local/bin/bash but I always change that to /bin/tcsh before major upgrades. After having locked myself out on a previous upgrade I learned that lesson. Ports might be broken.
-
rwp
I did that and then it remembered my bash choice and forgot that it should be tcsh. And logging in it is back to bash again. Fortunately not locked out.
-
rwp
I had run chsh to make the change so it should have updated the passwd database okay. Strange events.
-
RhodiumToad
um
-
rwp
I miss the days before they made passwd into a database. There is miniscule performance difference and the flat files are simple.
-
RhodiumToad
it shouldn't be editing /etc/passwd manually or letting you do it - that's a generated file
-
RhodiumToad
only /etc/master.passwd should be edited
-
rwp
> "I had run chsh to make the change"... That should be updating the database.
-
RhodiumToad
yes, chsh will update /etc/passwd, /etc/pwd.db etc. from master.passwd
-
rwp
Rebooted and the VM is full up to date both base and ports and it was quite simple. If somewhat tedious to wait for it and watch it spin.
-
rwp
And that's all I know.
-
rwp
I am thinking sfox that something in that particular jail smashed the systems idea of what were the core files and therefore it now thinks all of them are modified and must be merged.
-
rwp
But it is late here so I must bid everyone a Good Night! Good luck sfox!
-
sfox
rwp one more question before you head off
-
sfox
did you upgrade sequentially through every point release or did you go directly from 12.x to 13.2?
-
sfox
thanks for helping me
-
rwp
I upgraded from 12.4 to 13.1R first. Then from 13.1R to 13.2R.
-
sfox
thanks
-
sfox
goodnight
-
rwp
I could only share your pain. I had no real help. But I am thinking that whatever is used to know if files have changes has been smashed in your jail and therefore it now thinks all files have changed.
-
rwp
I think you should create a fresh jail for 13.1R and then upgrade it to 13.2R and will find that it works okay.
-
rwp
Then can create another 13.1R and then compare the files in the two jails and figure out what is different.
-
rwp
When the jail is stopped the files are just files on disk. I think you should be able to fix up the broken jail and then it will be fine.
-
sfox
+ Removing jail process FAILED:
-
sfox
jail: ioc-web3: mount.fdescfs: /zroot/iocage/jails/web3/root/dev/fd: not a mount point
-
rwp
Or you could just create a new jail for your whatever task you are using it for and then not worry about it.
-
sfox
started back up though
-
sfox
thanks for the advice rwp
-
sfox
hopefully not too many of my jails are screwed up like this
-
rwp
The /dev/fd is the file descriptor mount point. Not normally mounted by default. But available to be enabled if needed.
-
rwp
I don't normally enable it. But I know others that do.
-
sfox
rwp by the way i upgraded production web3 while it was on
-
sfox
it worked
-
sfox
besides that fdescfs error, even package upgrades worked
-
sfox
and that weird tmp file
-
rwp
Woot! And then you know that it isn't a global problem with all of your systems but just something broken on that one jail.
-
sfox
well several jails are like this
-
sfox
but not all of them
-
sfox
AH!
-
sfox
you know what!? I think the jails having problems with the upgrade where jails migrating from ezjail to iocage
-
sfox
also freebsd-update IDS complains a lot
-
meena
about what
-
eoli3n
-
VimDiesel
Title: 270722 – net/syncthing: Update to 1.23.4
-
eoli3n
when will this be available to latest 13.1 ?
-
sfox
meena, almost every system file being different then the expected hash
-
sfox
is it possible to just ... reinstall a freebsd release ontop of an existing install to fix it?
-
_xor
Hmm, I may have to use this irc client instead heh.
-
ixmpp
jbo; if you want closure, i tried booting that laptop again with a liveusb, and it turns out not even the network card registers, so its a yikes on my count and i remember why i never tried this earlie
-
trev
are there any good youtube channels for more technical/development stuff about freebsd? the most popular ones seem to be just user stuff (configs, running programs, etc)
-
sfox
youtube is mainly 101 stuff even for linux videos
-
sfox
you'd probably be better off with books for what your looking for
-
meena
trev: i reckon the devsumits, so far as they are taped, would be the place to go looking for that
-
meena
tho me bsdcon talks tend to get very technical, too
-
trev
sfox: yeah probably need to read something. just i was looking for stuff to passively listen to while doing tedious work
-
meena
something like fasterthanlime, but less entertaining, given that it's supposed to be background chatter
-
trev
he writes very long blogs
-
meena
I do wonder if people design their talks with YouTube in mind these days: "this is a one hour talk that you can put on in the background, tuning in and out.", "this is a twenty minute deep dive, that has you at the edge of your seat", "this is a ten minute wtf demo", "this is a five minute funny one, you'll probably watch it on the loo, don't try
-
meena
to laugh too hard, but your colleagues know what you're doing anyway"
-
sfox
their incentivized to only brush over topics with what they can fit on a powepoint
-
trev
yes most likely, since society seems to be diverging in that direction
-
trev
maybe i should be looking for something too technical, while passively listening, but the channels i found are extremely dull (no offense if any freebsd youtubers are idling)
-
trev
i watch on 2.0x speed to see if there's anything of value
-
eoli3n
when an app in ports is available as compiled app in repo ?
-
eoli3n
-
VimDiesel
Title: 270892 – net/syncthing: update to v1.22.1 at least
-
eoli3n
as "binary package"
-
imm_
eoli3n: probably a week
-
eoli3n
-
VimDiesel
Title: 270722 – net/syncthing: Update to 1.23.4
-
imm_
eoli3n: build it from ports if you're in a hurry
-
eoli3n
imm_: i don't want to install ports in that jail, i'll wait
-
imm_
eoli3n: build a package on host and install the binary in the jail
-
eoli3n
waiting is an option, i'll take it :)
-
eoli3n
let's do it for the science
-
eoli3n
imm_: can I produce a .pkg ?
-
imm_
eoli3n: yes
-
eoli3n
where is this documented ?
-
eoli3n
-
VimDiesel
Title: pkg-create(8)
-
imm_
see pkg(7)
-
imm_
package target
-
Freaky
meena: line numbers now disabled on small displays
-
eoli3n
imm_: pkg only creates a pkg for an installed package
-
eoli3n
the package is installed in the jail
-
eoli3n
not on the host
-
eoli3n
-
VimDiesel
Title: Solved - Where does "make package" put the .pkg file? | The FreeBSD Forums
-
pstef
from what I understand, installing a port creates a pkg file and installs it. I think ports also have a target to create the package directly, but I don't know
-
meena
-
VimDiesel
Title: FreeBSD / src / d95fbf4 / riscv: save the thread pointer in both modes - FreshBSD
-
meena
whewhoo!
-
eoli3n
if I installed a package in v1 with pkg install file.pkg, when v2 will be in the binary repository, will it get automatically the update ?
-
eoli3n
upgrade of syncthing in the jails : done
-
VVD
joneum, hi
-
VVD
nginx-1.24.0,3 need pkg-plist fix: /usr/ports/www/nginx/work/stage/usr/local/libexec/nginx/ngx_mail_ssl_ct_module.so:No such file or directory
-
VVD
same for libexec/nginx/ngx_stream_geoip2_module.so and libexec/nginx/ngx_stream_ssl_ct_module.so
-
VVD
build without MAIL options
-
VVD
oh, with all MAIL options
-
VVD
and without GEOIP
-
imm_
eoli3n: sorry, I meant ports(7)
-
debdrup
manual pages are nice.
-
imm_
eoli3n: you should get the update for the next binary update, yes
-
sektor
Has anyone made an ISO of the FreeBSD CLI screenreader? Want to take it for a test drive on a spare box.
-
eoli3n
imm_: ok thanks
-
CrtxReavr
screenreader?
-
CrtxReavr
You mean watch(8)/snp(4)?
-
ek
Anyone happen to know a workaround for the issue with not being able to run "pkg boostrap -f" on FreeBSD 13.1-RELEASE-p7?
-
ek
Well, the command can be run but it just hangs and does nothing. I've tried several mirrors with no change.
-
sektor
CrtxReavr: indeed; apparently there is a patch that provides a console screenreader using eSpeak.
-
sektor
-
VimDiesel
Title: ⚙ D35776 vtspeakd(1): Initial version of console speaker daemon.
-
CrtxReavr
sektor, `watch -W <pty>` is a total BOFH tool.
-
meena
sektor: that would be nice
-
sektor
CrtxReavr: oh wow, that's...interesting.
-
meena
hrm, no Unicode Support in vtspeakd
-
sfox
i'm suprised that command still works
-
sfox
the linux kernel doesn't have the frameworks to support it anymore
-
meena
sektor: I think OpenBSD might have something, i know that Stefan Sperling built an OpenBSD with/for a blind friend
-
meena
-
VimDiesel
Title: BSDCan2019: Building an accessible OpenBSD laptop
-
meena
Maurice runs -current!
-
meena
-
VimDiesel
Title: Building an accessible OpenBSD laptop - YouTube
-
trev
what do you suppose "mode" is under dev.pcm.[unit].mode ?
-
trev
not in the man pages
-
RhodiumToad
what device type and what fbsd version?
-
RhodiumToad
and what value are you seeing there?
-
trev
usb audio device - CURRENT. i see 3 for one and 7 for another
-
trev
i'm trying to sort out my gaming headset's channels and see if there's a way to properly map them, if that is even possible. it's really bugging me that i can't control the volume on the system (only physically on the headset itself)
-
RhodiumToad
"mode (1=mixer, 2=play, 4=rec. The values are OR'ed if more than one"
-
RhodiumToad
so the device with mode 3 is playback only, the one with mode 7 is record and playback
-
trev
RhodiumToad: ok makes sense. thanks. where did you find that?
-
RhodiumToad
source code
-
RhodiumToad
also sysctl -d would have shown it
-
trev
oh wow
-
trev
sigh...so much to read, so little time
-
RhodiumToad
I guess the issue is how the driver is interpreting the usb device descriptors and creating pcm devices for them
-
RhodiumToad
what's the output of usbconfig -d ... dump_all_desc for the device?
-
trev
RhodiumToad: brb one second. need to reboot since i unplugged it and now the fd is busted
-
trev
RhodiumToad: it says i can't parse any of the /dev/dsp devices
-
trev
with usbconfig -d
-
trev
nevermind. i'm dumb
-
RhodiumToad
the ugen* device
-
RhodiumToad
assuming it shows as one device rather than two?
-
trev
yes, one device
-
trev
sorry, i am slow wiht getting the text out of tmux...i don't have all my stuff setup yet
-
RhodiumToad
s'ok
-
RhodiumToad
you can paste to termbin.com using netcat, if it helps
-
RhodiumToad
somecommand | nc termbin.com 9999
-
trev
RhodiumToad: that was helpful, thanks!
termbin.com/2vb7
-
trev
not sure how helpful this output is though
-
RhodiumToad
by usb standards that's a pretty complex device
-
trev
yeah it is
-
trev
interface 0 is the "chat" channel. and interface 3 is the "game" one. "chat" should have a rec out too
-
RhodiumToad
interface 0 has no endpoints, so while it says "chat", that's not (afaik) what it is
-
RhodiumToad
interfaces 1 alt 1 and 2 alt 1 are unidirectional sound channels, one each way
-
RhodiumToad
interface 4 seems to have two alternatives, both output-only channels
-
RhodiumToad
interface 5 is the buttons
-
RhodiumToad
my usb knowledge is a bit sketchy, so I'm not sure on the details
-
trev
yeah that seems all fine. i did a little programming against one of the interfaces to control the settings
-
trev
the way it created the sinks in mixer is just strange
-
RhodiumToad
let me check my usb sound dongle to compare
-
trev
there is a crazy pulse audio patch for this device :
pulseaudio/pulseaudio 814419c
-
VimDiesel
Title: alsa-mixer: add support for Steelseries Arctis 7 headset · pulseaudio/pulseaudio@814419c · GitHub
-
RhodiumToad
my sound dongle has a basically similar descriptor layout just without the extra device
-
debdrup
Heh, dongle.
-
debdrup
It's a fun word.
-
trev
when i set the "game" to the default unit it sounds fine but i can't control anything. when i set the "chat" to default, it's obviously shit sounding but i can control both volumes
-
sektor
meen
-
sektor
meena: interesting stuff.
-
RhodiumToad
trev: you might want to try building a kernel with SND_DEBUG and USB_DEBUG enabled
-
trev
i can do that. what should i be looking for though?
-
trev
dmesg will have more info?
-
RhodiumToad
when you say you can control both volumes, do you mean independently?
-
RhodiumToad
dmesg will have more info (you might need to turn on bootverbose) and also there are sysctls to set debug verbosity
-
RhodiumToad
should allow some visibility into the probe/attach process
-
trev
RhodiumToad: yes independently. it's very weird. also the "game" has the mic for some reason, when the "chat" device should
-
meena
sektor: I think it was really good!
-
» sektor will watch it tonight during dinner.
-
meena
anyone here with wifi who can share their ifconfig -a output?
-
yuripv
meena: what's the hypervisor for #269874?
-
meena
yuripv: kvm / qemu with Q35 profile
-
yuripv
ok, was wondering if it's bhyve (it seems to set the pci class correctly to 0x10 for rng at least)
-
meena
yuripv: i haven't tested linux, because uhh… i don't really care about linux lol
-
V_PauAmma_V
-a, not just wlan\d?
-
yuripv
meena: it's good comparison :)
-
meena
V_PauAmma_V: just all, cuz I care about all, but wifi in this specific case
-
meena
I'm writing up an email to -net@ and i wanna be sure I'm not talking complete nonsense
-
yuripv
if lspci lists the same 0x00ff00 for the class, well, you'll have to live with "old" as the class :D
-
meena
yuripv: I can actually probably check very easily
-
meena
given that this is lxd / lxc, it's a lot easier than checking FreeBSD (as of yet…)
-
yuripv
meena: please do
-
V_PauAmma_V
-
VimDiesel
Title: dpaste/pd2j (Plain Text)
-
meena
V_PauAmma_V: maybe this is a silly question, but: why does iwm0 not show up in the ifconfig listing?
-
yuripv
it does (parent interface: iwm0)
-
RhodiumToad
there's a sysctl variable somewhere with the recognized low-level wifi devices
-
RhodiumToad
wlan is a generic shim that sits between the hardware driver and the network stack proper
-
V_PauAmma_V
If you mean as an interface of its own and not just the "parent interface" mention, I don't know.
-
RhodiumToad
the idea is that "iwm0" isn't actually a network interface, just a driver that if_wlan can use as a backend
-
RhodiumToad
(so that all of the generic wifi work can be done in just one place)
-
meena
thanks. this just leaves me with more questions about infiniband
-
yuripv
meena: for lspci, use -nn, the class would be in []