-
oldfashionedcow
Hello! I want to try freebsd as my main desktop soon, but I am wondering about a couple things. I use NetworkManager to deal with my networking. Is there something similar on freebsd?
-
concrete_houses
nah
-
concrete_houses
during install just pick dhcp
-
concrete_houses
audio is simpler too jsut mixer vol 100
-
concrete_houses
and I use iceWM bestest desktop
-
concrete_houses
and irssi for irc
-
concrete_houses
and qbittorrent
-
concrete_houses
and smplayer
-
concrete_houses
BOOM
-
concrete_houses
microsfot obsolete for decade or more same with oracle and ibm
-
concrete_houses
picolisp.com or pharo.org or gnu clog for replacing big tek
-
concrete_houses
and live life
-
concrete_houses
archlinux is painful to setup
-
concrete_houses
just use freebsd
-
concrete_houses
and make sure UFS not zfs
-
concrete_houses
zfs pain in the nads
-
oldfashionedcow
Why not ZFS?
-
concrete_houses
locks up smaller desktop
-
concrete_houses
zfs avoid liek plague
-
concrete_houses
unix aka bsd is very veyr nice
-
oldfashionedcow
Absolutly not. You just need > 8gb ram
-
concrete_houses
wrong
-
concrete_houses
use ufs
-
concrete_houses
dont do it!
-
concrete_houses
dont do zfs
-
concrete_houses
yull b sorry
-
oldfashionedcow
I use ZFS on my server and main root on gentoo, and have done so fine for more than 6 years.
-
concrete_houses
huge mistake
-
concrete_houses
not as big as java oracle or .net
-
concrete_houses
but up there
-
oldfashionedcow
How? Name the problem you experienced.
-
concrete_houses
slow
-
concrete_houses
locks up smaller desktop
-
concrete_houses
no gain
-
oldfashionedcow
What was your specs?
-
concrete_houses
without it life grand
-
concrete_houses
4g ram
-
oldfashionedcow
Do you know about snapshots?
-
concrete_houses
2x1.7ghz
-
concrete_houses
6t usb3 drive
-
concrete_houses
not really
-
oldfashionedcow
Well there is your problem. I think a minimum of 8gb of ram is needed for a good experience.
-
concrete_houses
well
-
concrete_houses
i said smaller desktop eh
-
concrete_houses
and I think
-
FUZxxl
Greets
-
concrete_houses
even on bigger
-
concrete_houses
whats the gain?
-
oldfashionedcow
Well, then you don't know about the filesystem. ZFS effectivly can be used like time machine.
-
concrete_houses
what does zfs give ya?
-
oldfashionedcow
Also, speed redundncy.
-
concrete_houses
vol maangemnt?
-
oldfashionedcow
Thats another.
-
concrete_houses
then your getting into server class and nas
-
FUZxxl
is there a command line tool shipped with freebsd to turn tabular data into neatly formatted tables
-
oldfashionedcow
Also snapshots are massive.
-
concrete_houses
I thought we talking desktop eh
-
oldfashionedcow
FUZxxl Greetings my friend.
-
concrete_houses
I say desktop 8g ram use ufs
-
oldfashionedcow
concrete_houses I raid 2x2tb nvme ssds with zfs for root.
-
concrete_houses
but hey im for monarchy and free rooms
-
FUZxxl
formattes as in, spaces added in such that the same column begins in the same column each line?
-
oldfashionedcow
concrete_houses If you ever f up your system, you will be thankful you will have a snapshot.
-
jschmidt3786
I love that new versions of freebsd-update(8) make the snapshot for you if you forget to create before updating.
-
jschmidt3786
FUZxxl: like column(1)?
-
parv
Re freebsd-update & default snapshot: Yeah :-| I do not like it (do not hate it either) enough that I set "CreateEnv No" for I create my own snapshot/backup beforehand. I really wish "freebsd-update" would grow a command line switch.
-
mason
freebsd-update could maybe stand a rewrite in a faster language
-
parv
s/CreateEnv/CreateBootEnv/ # Whatever
-
parv
Ha! There is zero occurrence (relevant to ZFS snapshot) of "env|snap" in "freebsd-update" manual page on stable/13.
-
jschmidt3786
well /some/ of us always forget to snaphot manually before running updates. (I use zfstools to help w/ my senility)
-
parv
I did not write for default snapshot not to be done. Am asking for an easier way -- via commad line option -- to disable auto snapshot. Moreover, the manual page is severely lacking any notice of the new state
-
jschmidt3786
yeah, man page and 'showconfig' doesn't give any info about it (CreateBootEnv), either.
-
ghoti
So, I've got a qcow2 file I'd like to load into bhyve. I've converted it to "raw", but I'm unsure of my next step. I use vm-bhyve for management. Can I just use the tool to create an instance, then replace the raw disk with my converted one?
-
ghoti
Or is there some other way to tell `vm` to "make an instance, using this existing raw disk"?
-
concrete_houses
does ufs have snapshots?
-
concrete_houses
is that why I lose so much space?
-
concrete_houses
790g used 4.1t avail 5.3t total
-
concrete_houses
somethign is missing
-
concrete_houses
deosnt add up
-
rtprio
concrete_houses: yes, ufs has snapshots, but unless you took some, you don't have any
-
rtprio
ghoti: create an instance, copy your converted disk over disk0.img
-
rtprio
concrete_houses: and you know that there's more on the filesystem than just the files, right
-
rtprio
FUZxxl: col or awk; depends on your data
-
concrete_houses
like what
-
rwp
Such as inodes and other file system infrastructure. Such as directories holding the pointers to the files.
-
rwp
Also there is the minfree that I mentioned earlier. That won't be reported since it can't be used by non-root.
-
rwp
Some useful background information here
en.wikipedia.org/wiki/Unix_File_System
-
VimDiesel
Title: Unix File System - Wikipedia
-
rtprio
concrete_houses: that's normal for most file systems
-
rwp
Looks like the default minfree is 8% of the total.
bsd.to/St6q/raw
-
VimDiesel
Title: St6q
-
FUZxxl
rtprio: col is for filtering out reverse line feeds of nroff output. You sure this is the right one?
-
moviuro
My NAS rebooted unexpectedly during a ZFS resilver, should I worry? resilver in progress since Sun Dec 4 17:01:42 2022 5.80T scanned at 532/s, 5.40T issued at 266/s, 9.39T total 1.31T resilvered, 57.48% done, no estimated completion time
-
V_PauAmma_V
Does resilvering looks like it's still making progress after the reboot?
-
V_PauAmma_V
s/looks/look/
-
debdrup
moviuro: the only thing that can affect a resilver is in the case of an URE or catastrophic hardware failure preventing mirror, raidz or ditto blocks from being used to restore the relevant data availability.
-
V_PauAmma_V
URE = unrecoverable error?
-
debdrup
Unrecoverable Read Error, specifically.
-
V_PauAmma_V
*nod*
-
moviuro
V_PauAmma_V: no, but all drives are new. That disk currently resilvering is the last one
-
moviuro
smart data looks solid
-
_xor
What's the current status on the freebsd.org DNS issues?
-
V_PauAmma_V
ISTR someone fixed them at least temporarily 3ish days ago, with an eye to a permanent solution. Do you still have problems?
-
_xor
Seems like it, but I'll double-check.
-
» _xor just noticed his currently running poudriere build failed on a few ports @ the fetch phase
-
» V_PauAmma_V nods.
-
_xor
Just checked the logs for a few of those ports and it seems like it might be the case (though there could be a number of factors for it, so I don't want to assume it's a freebsd.org DNS just yet)
-
_xor
Once this build finishes I'll re-run it to try those ports again. If they succeed, then it's more likely to be a DNS issue there.
-
_xor
rtprio: Are you using an orchestrator?
-
V_PauAmma_V
Ports with freebsd.org-hosted distfiles or patches, you mean?
-
_xor
distfiles, it looks like.
-
_xor
I'll clear up internal recursor cache here in a few and run some queries against it, see if that fixes it.
-
moviuro
59.95% done, no estimated completion time # this is going to be fun
-
moviuro
2.5%/hour, 40% left -> 16 hours left?...
-
nerozero
guys, who use vm-bhyve, is there a way to find out which tap is assigned to vm and vice versa ?
-
concrete_houses
anyone running a busy website without sql db on frebsd here?
-
V_PauAmma_V
concrete_houses, it may be better to ask your question directly instead of asking someone to self-select as competent to answer it.
-
concrete_houses
or it may be my question hoe nicly its workin
-
ikonia
that is the correct place to store the private key for a certificate on a FreeBSD host, on a Redhat based box it's notmrally /etc/pki/tls/private, what's the freeBSD mirror
-
skered
xrdp has a pulseaudio module that creates a sink. chrome uses stdiod. I see there's a pulseaudio-module-sndio port. That port is for having pulseaudio applications talk out to a stdio attache device not the other way around? chrome talking to stdio that would go to a pulseaudio sink?
-
skered
I'm guessing the only way to get chrome to work with xrdp audio (pulseaudio) on FreeBSD is to rebuild?
-
skered
Apps that use/expect /dev/dsp there's padsp.
-
_xor
ikonia: Depends on what is using it. For nginx, I generally store it either in /var/db/APP_NAME/tls.d/... or possibly in /usr/local/www/APP_NAME/tls.d/... (with webroot being something like /usr/local/www/APP_NAME/pubwww).
-
_xor
skered: Don't know at the moment what the current chrome port supports, but depending on your output device(s), you can use virtual_oss and/or sndiod (or pulseaudio if you want).
-
_xor
skered: Also, look at sysctl variables: hw.snd.basename_clone, hw.snd.default_auto, hw.snd_default_unit.
-
» _xor is using a USB headset with chrome+firefox without issues (no pulseaudio, sndio configured but disabled unless I need it).
-
ikonia
_xor: thanks, so not really a set system path, more use case by use case
-
_xor
If you need bluetooth, you can use virtual_oss to let it manage /dev/dsp* devices for it.
-
_xor
Though there's blued on the way to replace some of the wonky bluetooth stack stuff.
-
_xor
skered: Depending on your device(s), you might need to tweak some rules in /etc/devd.conf, though I've yet to run into the need for it.
-
ikonia
Freebsd 13, reading
docs.freebsd.org/en/articles/rc-scripting - the init system appears to be systemV based,
-
VimDiesel
Title: Practical rc.d scripting in BSD | FreeBSD Documentation Portal
-
ikonia
is it actually systemV compatible, or is it propritary and just written in the system of a sysv
-
_xor
-
VimDiesel
Title: The Differences Between BSD and System V Unix - Daniel Miessler
-
ikonia
thanks
-
_xor
Point #8 specifically.
-
ikonia
that's a really nice simple to read and to the point page, thank you
-
skered
_xor: The issue is I don't have devices. It's all virtual.
-
ikonia
annoyingly it looks like I'll now have to write a pretty big update to a puppet module
-
ikonia
thought I'd get away with a minor mod to systemv support that was already built in, nice doc though, thank you
-
_xor
ikonia: `man 8 rc.subr` to use as a quick reference on functions that are available with `. /etc/rc.subr` in your rc script.
-
_xor
ikonia: `man 8 rc` as the root page of the documentation.
-
_xor
ikonia:
docs.freebsd.org/en/articles/rc-scripting (which you already know about) as a primer.
-
VimDiesel
Title: Practical rc.d scripting in BSD | FreeBSD Documentation Portal
-
_xor
skered: What do you mean specifically?
-
skered
_xor: I don't have audio devices on the host machine or at least ones that I want to output to. xrdp creates a pulse sink via it's module. so pulse apps will output to that sink.
-
skered
Apps that use dsp I can run them via padsp to redirect those calls to the sink.
-
skered
So with sndiod apps (chrome) I don't have any options to get it's audio to pulse.
-
skered
Outside of rebuild chrome that is. I see there's pulseaudio-module-sndio but it seem that's one direction from pulseaudio to sndio devices (can't find any docs on it).
-
skered
rebuilding*
-
skered
I was trying to confirm if that was the case with that port. The project seems to be apperas to be MIA.
-
iio7
Which package provides Xlib header files?
-
skered
iio7: libX11
-
skered
_xor: It seems that package is a FreeBSD only thing.
-
iio7
skered, thanks.
-
skered
oh yeah... archive.org.
-
skered
That has the old github page for that project...yeah it's for play to stdiod. blah.
-
skered
So I guess maybe someone needs to create the same for sndio.
-
rtprio
_xor: i use puppet
-
rtprio
concrete_houses: yes, i've had a busy website on frebsd
-
rtprio
nerozero: ifconfig tap shows the pid that opened it; which is the bhyve process
-
nerozero
rtprio, thank you so much !
-
ikonia
ls
-
ikonia
oops
-
nerozero
Opened by PID 16322 !!!! THANKS !!!!!!
-
rtprio
vm info host will also tell you what tap it's using
-
_xor
skered: Oh, didn't realize this is for xrdp.
-
nerozero
oh ... didn't knew that
-
nerozero
thank you !
-
rtprio
nerozero: 👍
-
nerozero
that is really helpful !
-
nerozero
exactly what I need
-
_xor
skered: I took notes on my previous PulseAudio setup a few years ago, but I can't seem to find them right now.
-
_xor
skered: I'm pretty sure I remember configuring it to sink output to sndio.
-
_xor
skered: Though I try to avoid pulseaudio best I can, it's a pita.
-
RoyalYork
Good afternoon friends. Just installed FreeBSD 13.1 and registered my nick. I last used linux almost 12 years ago. Coming back to a more proper *nix OS now. Im here to listen, watch and learn more about this great OS
-
rrr
Well good.
-
RoyalYork
I'm very out of date with all of this but it's slowly coming back
-
V_PauAmma_V
Welcome!
-
RoyalYork
Thanks
-
rtprio
i let my vm-bhyve config sit too long, now none of my vlans work
-
rrr
maybe they just collected a little dust.
-
rtprio
i'm trying to remember what changed, all of the config (other virtual switches) were still there
-
rtprio
just can't communicate on that vlan
-
rtprio
appears to be an arp problem
-
_xor
rtprio: I haven't used puppet in years, didn't realize it does orchestration now.
-
rtprio
it might not cover all the orchestration bases
-
_xor
I was just taking a quick look at the docs and yeah it does seem like it's mostly focused on configuration management and its being extended for orchestration.
-
_xor
I was considering using salt alongside my consul+nomad cluster, but so far nomad templating does everything I need, so haven't had to yet.
-
_xor
Oh, and also, I just noticed these two ports were recently introduced:
freshports.org/sysutils/podman-suite &
freshports.org/sysutils/ocijail
-
VimDiesel
Title: FreshPorts -- sysutils/podman-suite: Metaport of podman and buildah toolkit
-
_xor
:| looks like I may not need to implement my task driver after all.
-
RoyalYork
Im using ircII for now..... it's so awful, it's beautiful
-
RoyalYork
tail
-
nacelle
RoyalYork: try weechat and/or irssi ?
-
nacelle
(I prefer irssi fwiw)
-
RoyalYork
thanks nacelle, i'll look to those. in the meantime im here 39 years in the past :)
-
nacelle
irssi is from the 90s, as is ircII
-
RoyalYork
i'll give a tri
-
RoyalYork
*try
-
RoyalYork
brb
-
rtprio
nacelle: as is mIRC
-
RoyalYork
nacelle: Much better, thanks
-
RoyalYork
Do many of use cli irc clients or gui?
-
rtprio
most here i suspcet cli
-
amigan
I telnet directly to the ircd and vomit RFC1459 commands.
-
RoyalYork
amigan: that sounds like your on the bleeding edge of technology
-
RoyalYork
:)
-
amigan
I actually used to do that back in the day, visiting grandma's with only a 33.6k. The RFC was smaller than mirc.
-
RoyalYork
Call me old, but there is something about cli and text that keeps bringing me back. I started with Commodore 64 BBSes in the late 80s. Played MUDs in the 90s and now my kids think TikTok is the greatest thing since sliced bread
-
Erhard
I miss MUDs
-
amigan
X for me is just a way to run a browser and have a ton of terminals. And occasionally use gimp.
-
RoyalYork
Funny enough, muds are what brought me back to *nix. I have a very basic level of programming knowldge (and more time than usual now). I figured I wanted to challange myself to create a simple text based program similar to MUDs, Zork etc
-
RoyalYork
Its funny because I'll put in a metric ton worth of effort, have this crappy game and everyone except me will be unimpressed :-D
-
Erhard
That was my school project in HS. Wrote a Interactive Text Adventure in Pascal
-
Erhard
Yeah, but that's how you learn
-
RoyalYork
Exactly
-
RoyalYork
Im teacing my kid (basic) python - adding, subtracting, intro to variables and shes sort of impressed. Shes like "wheres the pictures"
-
amigan
Hooray, us-east-2 connectivity problems and I'm dead in the water. Time to go home.
-
RoyalYork
Ya I got work to do to.... I;ll be idling for a bit
-
Erhard
amigan: Good thing most of my stuff is in Ohio ;-)
-
Erhard
(AWS I assume)
-
CyberCr33p
I run "gitup ports -w 0b68a105030c4790ae0dd04d25ac764e14b70a3e" to get the latest ports collection before PHP 7.2 is removed. When I do "cd /usr/ports/php72-extensions && make install clean" I get this: "Unknown extension bcmath for PHP 72." and build doesn't start. Any idea what is the issue? I did the same for PHP 5.6 and 7.3 without issue.
-
RoyalYork
CyberCr33p: I'm here however Im not able to assist. Maybe someone else will be available shortly
-
amigan
Erhard, yep, AWS. Looks like things are coming back.
-
nacelle
rtprio: mirc is for windows "ewwww" - but i'm also guessing its old enough it could be run with wine... so whatever floats someones boat I guess. gui irc would harsh my mellow though :-)
-
» yuripv slaps nacelle around a bit with a large trout
-
FUZxxl
Greetings!
-
FUZxxl
I've created a disklabel with glabel(8)
-
FUZxxl
how can I rename the disk?
-
rtprio
glabel label -v mynewlabel /dev/<device> ?
-
FUZxxl
rtprio: I've already done this
-
FUZxxl
but the label I created is wrong
-
FUZxxl
how can I change it from /dev/label/foo /dev/label/bar?
-
FUZxxl
if I overwrite the label with a new one, will this hurt?
-
rtprio
i thought it would overwrite
-
FUZxxl
do you think or do you know?
-
FUZxxl
I have data on the disk, don't want to find out the hard way
-
rtprio
it's not something i can recall doing. try it on a test label and see
-
FUZxxl
it looks like I can just hexedit it
-
rtprio
CyberCr33p: security support for php 7.2 ended nov 2020
-
_xor
FUZxxl: Is it zfs?
-
_xor
-
VimDiesel
Title: Let’s start! : gaming
-
FUZxxl
_xor: yeah
-
FUZxxl
rtprio: that worked ... whewh
-
rtprio
FUZxxl: 👍
-
_xor
Hexediting it?
-
_xor
I remember something about being careful with glabel on a gpt+zfs disk.
-
FUZxxl
nah didn't find a suitable hexeditor
-
FUZxxl
just destroyed and recreated the disk label
-
_xor
It rebooted successfully?
-
CyberCr33p
rtprio I know but I run it inside a jail and I use backports from newer versions
-
meena
FUZxxl: you shouldn't need a hexeditor. geom can set labels
-
FUZxxl
meena: glabel(8) does not have a feature to change a label
-
FUZxxl
Maybe I should file a feature request
-
daemon
there is a way to do that
-
daemon
might be via gpart or something odd
-
daemon
I asked a couple of years ago
-
daemon
it was not really clear or obvious but there is a way
-
meena
FUZxxl: weird
-
FUZxxl
daemon: for gpart labels, sure why not
-
FUZxxl
but I don't think there is one for glabel(8) labels
-
daemon
'create' and 'label' in the man page look to be useful
-
daemon
more 'label'
-
FUZxxl
daemon: which of these change an existing label?
-
daemon
looking at this command
-
daemon
it looks like you would want to do a 'clear'
-
daemon
then a 'label'
-
FUZxxl
daemon: it is not documented that this won't destroy any data on the device
-
daemon
nope so a backup would be a good idea
-
FUZxxl
also that destroys and recreates the device, meaning it cannot be done when there are active consumers of the label
-
FUZxxl
so tl;dr there is no functionality to rename a label
-
daemon
did you try calling label when a label is already set
-
FUZxxl
no
-
FUZxxl
I believe it would fail
-
FUZxxl
also glabel label is for ephemeral labels which I am not interested in
-
FUZxxl
I don't like doing undocumented commands to disks containing precious data
-
meena
FUZxxl: I feel like that is a question for hackers@
-
FUZxxl
hm hm
-
meena
not sure if there's a more appropriate list
-
FUZxxl
I'll start by writing directly to the subsystem author.
-
meena
-
VimDiesel
Title: freebsd-fs⊙Fo
-
FUZxxl
ok
-
meena
who is the author
-
FUZxxl
see glabel(8)
-
FUZxxl
it's pjd@
-
» meena doesn't know that guy
-
ghoti
rtprio: re vm-bhyve, thanks for the advice, that's what I'll do.