-
markmcb
I'm about 3 months into FreeBSD. Feeling pretty confident lately (headless server, so everything is cli). Big thanks to everyone in here who has helped me get up to speed! :)
-
V_PauAmma_V
Congrats!
-
micdud
what would be a proper locking directory for a user ran service ? would /var/run/lock/app changed to +w for the user be ok? (need to be portable with linux)
-
meena
micdud: i don't think und lock directory needs to be a global one. you'd have a directory for the service. it would be somewhere in /var and in there, you'd have a directory for holding locks
-
kenrap
How do I get permission as user to ifconfig up/down network interfaces?
-
satanist
kenrap: sudo/doas, you can explicit set the allowed command
-
kenrap
Now I'm even more confused. Why does networkmgr explicitly run those kind of commands without using sudo/doas?
-
llua
neither is guaranteed to be installed
-
parv
Is "networkmgr" from The Ports? Could add a dependency๐คท๐ฝโโ๏ธ
-
debdrup
You might be able to adjust the group permissions of the nodes using devfs, and then add yourself to the group that has the permissions - but it's not without a certain amount of risk.
-
martinrame
hi, I need to edit the crontab of a jail that is shut down. Why?, because it has a @reboot task that I don't want to run when I start the jail. Now the /etc/crontab is different than the one that I edit using "cronab -e", where is that file?
-
martinrame
found it. It's in /var/cron/tabs/root
-
monkeybusiness
add
-
kenrap
debdrup: perhaps that's what ghostbsd does and I'm just helping out with networkmgr for fun. And gotcha, I wouldn't want to take that kind of risk.
-
kenrap
I'm trying to set it up to reproduce a github issue and see what I can do solve it.
-
opalraava
hi all ^.^
-
kenrap
hey there
-
opalraava
So I'm trying to build a Firefox clone, called LibreWolf, on freebsd. It fails with a `ERROR: Could not find libclang to generate rust bindings for C/C++. Please install the necessary packages.`
-
kenrap
You probably might want to ask that in #freebsd-ports instead.
-
opalraava
oh, thanks :o)
-
kenrap
sure thing
-
opalraava
I could switch from archlinux to freebsd, the only hard requirements would be to have ext4fs support in the kernel builtin, and the ability to run VirtualBox. Both things are well supported is my impression
-
Demosthenex
why ext4?
-
Demosthenex
and virtualbox is fine
-
opalraava
sorry from joining/quitting all the time, i'm trying to make my irc.conf work :/
-
Demosthenex
why ext4?
-
Demosthenex
and virtualbox is fine
-
opalraava
that's a slow long term storage that requires it.. i'll just use zfs on my ssd ofcourse
-
Demosthenex
ext4 on regular disk partitions?
-
opalraava
it's a slow disk for backups, it's size makes it impossible to move anywhere else. I also might need to move to Qubes some point next year, and qubes doesn't like zfs.. so I'm stuck with it for now
-
Demosthenex
just mentioning that linux's lvm isn't supported
-
opalraava
oh, okay, sorry :) Yeah, it's not lwm, it's just regular disk partition.
-
Demosthenex
yep, that might work, i haven't tried ext4 in freebsd yet
-
la_mettrie
ext4 is not supported well on FreeBSD (even with fusefs). it can be used for accessing files and maybe writing at times but not for regular use
-
opalraava
aww thats a shame
-
opalraava
hmm so I got myself a puzzle then. ext2?
-
CorvetteZR1
hello. i have a laptop with Freebsd 13.2-RELEASE-p2 running x11 and kde plasma5. everything was working great. last night i ran pkg upgrade which updated kde-plasma from 5.26 to 5.27. now when i log in, it shows the kde splash with the spinning gear, but then stays on black screen with just the cursor
-
la_mettrie
opalraava: ext2fs works fine on both. i think zfs should work on linux but i'm not sure
-
CorvetteZR1
there are no errors in Xorg.0.log, no errors in sddm...the desktop just does not render
-
CorvetteZR1
anyone aware of issues with plasma 5.27? i think i'm using quarterly pkgs. using Intel graphics
-
CorvetteZR1
is it possible to rollback pkg upgrade?
-
CorvetteZR1
i do have zfs snapshots, but i'm hoping i can do a more graceful rollback or find a fix...
-
Demosthenex
opalraava: can you do it readonly?
-
opalraava
hmmz, no..
-
tyler82
How is that possible that my fstab does not include the system and boot partition but the system boots up with no issue? ๐
-
CmdLnKid
its called zfs properties
-
CmdLnKid
and the bootloader does the rest
-
tyler82
CmdLnKid: so zfs does not require any fstab entry?
-
CmdLnKid
no
-
CmdLnKid
you also have boot environments available
-
yuripv
i don't think boot/root were really needed in ufs case as well?
-
yuripv
(didn't do ufs install in more than 10 years, don't remember)
-
tyler82
CmdLnKid: Oh nice. Thanks. only my proc and one ntfs drive are mounted in fstab now. All good. ๐
-
CorvetteZR1
yay, i fixed it! had some messed up permissions /tmp/runtime-user dir...that was bizzare
-
CorvetteZR1
thx everyone :)
-
CmdLnKid
tyler82, yw
-
CmdLnKid
tyler82, as well i believe there may be a section in the handbook that explains it a little more than i can elaborate here
-
CmdLnKid
or at least minimal give you a rough understanding of the process
-
tyler82
CmdLnKid: to be honestvi havent find it on handbook. googling on fbsdforums or any bsd related forums are better as explaining real situations with real commands. Handbook is very theoretical for me.
-
» CmdLnKid havent had to read it in years
-
CmdLnKid
ive been following current & stable commits forever now
-
CorvetteZR1
ok, i'm having another problem now. in kde, i no longer get the restart/shutdown options...only log out
-
CmdLnKid
man zfsbootcfg and see "SEE ALSO" section and read through the man "section subject"
-
CorvetteZR1
in sddm, i do have restart/shutdown; but not in kde
-
CmdLnKid
bectl will be your friend
-
carlavilla
tyler82: is not covered yet, we're working into a new edition of the handbook
-
carlavilla
the idea is to cover ZFS boot too
-
CmdLnKid
surprised it isn't covered yet
-
CmdLnKid
thats always been a staple here
-
CmdLnKid
assuming, which i hate to do... that its in a wiki on freebsd.org
-
tyler82
carlavilla: nice. Also a good advice. Make sure u do an "example" section where u do real commands with different scenarios.
-
carlavilla
np
-
carlavilla
:)
-
PyR3X
anyone know why when I tab complete a command it doesn't add a space afterward for the next argument?
-
PyR3X
it works for commands in $PATH but not for scripts
-
CmdLnKid
thats because scripts unless you added a completion for are as is
-
CmdLnKid
ofcourse you could do that for anything ending in (.sh|.csh|.bash|.zsh)
-
tyler82
My biggest problem is on my fbsd learning curve is the man page. Fore example yesterday i was playing with custom install from shell. i was looking for gpart delete a partition. however delete is explained amd tons of flags and option etcetera. But i was looking for the real syntax of the command how to use. gpart delete ada0p11 or gpart delete ada0 i 11 or gpart delete -i p11 or what? then
-
tyler82
finally i have found it on some forum. not even official freebsd forum. gpart delete -i 11 ada0. But apart from weak examples fbsd documentation is very good. ๐ Many times i just dont need the full explanation of each flags and options of the command. i just want to use it. I will learn what it does in the real situation anyway. ๐
-
CmdLnKid
try to understand the structure of the commands first. they'll usually always follow thru to everything else
-
yuripv
it clearly says: gpart delete -i index [-f flags] geom, so why you would think it's "gpart delete ada0p11" or "gpart delete ada0 i 11"?
-
CmdLnKid
shifting focus from ufs and slices to something like gpart from mbr is a learning curve itself
-
tyler82
yuripv: not clearly if u are noob...๐ like me๐
-
yuripv
tyler82: there's even "Deleting Partitions and Destroying the Partitioning Scheme" example in there
-
tyler82
yuripv: Yes i saw them....
-
» CmdLnKid loves gpart/zfs. gpart is the pizza, a partition is the designation area of ingrediants and zfs create are the ingrediants added
-
CmdLnKid
zfs create zroot/sauce/cheese/{pep,sausage,ham,...}
-
CmdLnKid
fuck! going to order a pizza now at 08:41 in the morning
-
debdrup
pizza early, pizza often
-
CmdLnKid
;)
-
CmdLnKid
ima just call this brunch ;)
-
CmdLnKid
if i keep this up the local pizza joint is going to put me on speed dial
-
CmdLnKid
if you are in the milwaukee area keep marco's in mind
marcos.com
-
VimDiesel
Title: Marcos.com
-
CmdLnKid
would love to see a freebsd conf here
-
vkarlsen
I had an awakening when the manager of the then-local burger place recognized my voice and pre-recited my usual order to me when I called from an unknown number without introducing myself
-
CmdLnKid
thats pretty common where i live. at least with myself and the burger and pizza joints. 3/5 already recognize me
-
CmdLnKid
suspecting my phone number being linked somewhere among employees that i regularyly talk to
-
CmdLnKid
hometown joint:
vitaleszeeland.com considering i grew up there this was the local lunch hour highschool joint to grab a slice or two before 5th hour
-
VimDiesel
Title: Vitaleโs โ Zeeland โ Vitale's Zeeland is the perfect place for family and friends to enjoy great food and drinks!
-
CmdLnKid
best pizza ive ever had owned by the italian mob
-
CmdLnKid
;-)
-
CmdLnKid
anyway back on subject
-
tyler82
if i want to make a full system backup with rsnapshot which folders needs to exclude?? i guess mnt media (i just want to make backup about the system itself but not the attached storage mediums) tmp but var and usr not sure....
-
vkarlsen
I'd take var and usr, but not tmp and dev
-
tyler82
oh dev. i forgot that
-
tyler82
what about var/lib?
-
vkarlsen
Probably
-
vkarlsen
Is there anything in there you'd want to retain?
-
CmdLnKid
for ref ive only had export/var 14.9M 64.6G 19K /export/var
-
CmdLnKid
export/var/log 14.9M 64.6G 14.9M /var/log
-
CmdLnKid
if you are retaining anything make your backup solution and snapshots centric to that
-
VVD
proc exclude too if mounted
-
tyler82
for sure
-
CmdLnKid
proc isn't zfs
-
tyler82
so proc tmp mnt media and dev. the rest could be backupable
-
CmdLnKid
zfs snapshot -r / ... evrything under that is snapshotted its your choice as to what subset of that you want.
-
CmdLnKid
combinded with a send/recv you have exactly what you ask for
-
tyler82
CmdLnKid: no. i am talking about rsnapshot. not zfs snapshot. that is already done. ๐
-
CmdLnKid
ah
-
tyler82
i do double backup. just in case....
-
CmdLnKid
rsnapshot is a diff case
-
Demosthenex
CmdLnKid: now i want pizza
-
VVD
dev isn't zfs tooโฆ
-
Demosthenex
tyler82: i do zfs snapshots via zrepl, and then borgbackup
-
CmdLnKid
demosthenex, much abliged
-
tyler82
Demosthenex: borg was giving me error even if i had run as root... some symlink issue. restic also.
-
tyler82
What it does really work for me is Timeshift. but unfortunatelly no FBSD version of it. ๐
-
CmdLnKid
how deep do you really want to go... snapshots or clonezilla ?
-
CmdLnKid
snapshots are great for filesystem related data that you depend on restoring in the event of say a ransomwware attack.
-
CmdLnKid
but your base 0 restores ... send/recv/clonezilla
-
CmdLnKid
getting a feeling you need more exposure here
-
CmdLnKid
no experience here with timeshift
-
CmdLnKid
and cannot see a need for it
-
irda
hi guys. any recommendation for a single UFS partition > 40TB ? (FFSv2 and default SUJ)
-
dkeav
don't think UFS is a good fit for that large of a partition
-
irda
well, since I have hardware raid and can't get rid of it, ZFS isn't an option.
-
dkeav
okay, well is what it is then
-
irda
just wondering if there's some recommendation to make sure fsck will run etc... (I have another fbsd13 system with a 20TB fs that can't get clean, fsck segfault at some point)
-
rtprio
irda: it should run if the filesystem isn't unmounted cleanly
-
rtprio
but oof.
-
irda
rtprio: well, fsck should fix unclean FS... right? so expecting it to run only when it has been cleanly unmount ...
-
dkeav
are snapshots enabled?
-
dkeav
i had problems in the past with fsck and when that was on
-
dkeav
-
VimDiesel
Title: The FreeBSD Project
-
rtprio
right. so don't crash and avoid power outages and you should be good
-
dkeav
yes, just plan on never having anything go wrong, everything should be fine then
-
dkeav
works 100% of the time, every time
-
mushbox
dkeav: shit hitting the fan is just normal, because when it does go wrong you didn't plan for it anyway
-
mushbox
i don't understand the airplane crashing checklist... there's not even enough time to go through it
-
meena
who wants to answer this bug report
bugs.freebsd.org/bugzilla/show_bug.cgi?id=272944 by perpetuating cargo cult?
-
VimDiesel
Title: 272944 โ Vnet performance issues
-
meena
see
cathode.church/@meena/110714341071855602 in case you're wondering what the semi secret cargo cult is
-
VimDiesel
Title: Mina: "once again, i'm getting bitten by #FreeBSD's [`vtโฆ" - Cathode Church
-
RhodiumToad
vnet != vtnet
-
RhodiumToad
does epair have the same issue as vtnet?
-
meena
someone teach my brain reading, please
-
RhodiumToad
I'm not sure why someone wouldn't expect a nontrivial performance hit when inserting what amounts to a software-driven switch in the data path at >10Gbps speeds
-
meena
I wonder how others do
-
meena
crossbow!
-
dkeav
rip solaris
-
» dkeav shakes fist at oracle
-
meena
dkeav: you could do that for lots of software
-
dkeav
indeed
-
dkeav
it's like the midas touch, but instead of gold whatever ellison touches turns to feces
-
V_PauAmma_V
Does he have donkey ears too?
-
dkeav
yea, give him a lick, tastes just like raisens
-
opalraava
spicy noodles, I like that
-
mason
dkeav: Oracle's a big free software supporter. New OpenSolaris any day now, for sure!
-
yuripv
har har
-
dkeav
mason: yea annnnnny day now