-
jimmiejaz
any of y'all on a T-mobile connection by chance? I would like to see a traceroute to both hover.com and mail.hover.com as it appears that T-Mobile can't reach the hosts. Feel free to /msg me the results
-
uskerine
Hi, is it possible to assign an additional folder to man pages? For example I put some extra man pages for a custom application at /opt/myapp/man/man1
-
taylan
uskerine: I believe it's possible. You may want to look into manpath and man_db.conf, assuming this is the same on FreeBSD which it probably is (I'm currently on Gentoo).
-
mason
uskerine: man man, and look at MANPATH
-
mason
uskerine: and man man.conf
-
demido
is using smartd pretty common for proactive monitoring of disks in zfs setups? i basically want syslog messages to appear on any failures OR prefailure warnings, testing every 15 or 30 min. no emails as i don't have a mta set up and don't wanna bother with that yet
-
mzar
yes, smartd works fine
-
ek
demido: You don't need to have an MTA setup in any fancy fashion. FBSD comes with DMA. If you simply set the "root" line in /etc/mail/aliases (and then run "newaliases" afterward) to whatever email you want, it'll email any @root emails to that email address.
-
ek
Of course, using a strict (and most are these days,) email provider might deny the emails or toss them into the spam folder.
-
demido
ya i don't wanna deal with email rn i wanna start with just smartd logging failures or prefailure warnings to syslog
-
ek
Sure. Very simple. Smartd works just fine for syslog reports.
-
demido
i read man smartd, man smartd.conf, it's kinda intimidating. happen to know off hand what the config would look like to do that? disks are sas fwiw, and da0-da7
-
ek
demido: Well, smartd shoud log to syslog by default (if there is anything report.) Is there something in particular you're looking for?
-
demido
just failures and prefailure warnings is all i care about rn, and checking every 15 or 30 min whatever's default
-
ek
So, editing the ${ETCDIR}/smard.conf file and adding "DEVICESCAN -a" should do the trick.
-
ek
Of course, after a "service smard enable && service smartd start".
-
ek
I'm tired...
-
ek
service smartd enable && service smartd start
-
ek
That should scan every drive and report any errors to syslog.
-
demido
that's all it takes? whoa ty!! any idea how i can test that ek? like simulate an error or do something that makes smartd detect failure or prefailure warning?
-
ek
demido: Yep. That's all it takes. Pretty simple application. But, unfortunately, I am not aware of how to produce fake results for smartd. :(
-
ek
However, I can confirm the reports do work as I've gotten them plenty of times in the past.
-
demido
ek ok tyvm. happen to have an example of what a prefailure or failure line looks like? jc
-
ek
demido: I actually do. I currently have a NAS disk with a CRC error. Gimme a sec. I'll post it.
-
demido
woohoo
-
ek
-
demido
ahh and that was shit into /var/log/messages?
-
ek
demido: I have mine emailed to me. But, it'll be the same report.
-
demido
ek ok ty. are you freaked out that your NAS drive is going bad or?
-
ek
demido: Naw. One CRC error doesn't put me at unease. It's a RAIDZ2, so whenever I get around to replacing it, I will. Pool and scrubs are still reporting no issues.
-
demido
started smartd with DEVICESCAN -a in conf and no error was shit into /var/log/messages! tyvm
-
mzar
if smartd is properly configured, and the drive is reporting failure, you will see messages like these bold ones in the first post
truenas.com/community/threads/faile…f-check-back-up-data-now-help.11048
-
demido
how often does smartd test drives by default?
-
demido
those info lines are really helpful i can't wait to get my first 1
-
mzar
it depends you configure it, but drives are self-checking theiselves is smart is enabled on them
-
mzar
so smartd the can test drives on schedule, but drives also do self-checks and report failuers
-
demido
i just used smartctl -a /dev/... and my drives have smart enabled, so i should be all set!
-
demido
that's cool that smart can PUSH failures and warnings to smartd and it doesn't have to rely on POLL
-
ek
demido: Yep. Many things have come a long way over the years.
-
ek
Simple is best.
-
demido
ya it is
-
CueXXIII
hi there, i wonder why there are 12 files with the immutable flag set (man 1 chflags), and why only those 12, since they don't allow recovery on thier own:
oetec.com/pastebin/lined/b4HzcCv3
-
CueXXIII
(freebsd 14.2-p1)
-
taylan
CueXXIII: They look mostly security-related to me. Maybe it's a hardening feature.
-
CueXXIII
taylan: sure, but i could easily enough change other libraries needed by su. so it is not really enough for security, either
-
CueXXIII
ie libc is not immutable (at least on my system)
-
demido
docs.freebsd.org/en/books/handbook/…#virtualization-host-xen-dom0-setup mentions vm.max_wired, but sysctl vm.max_wired said unknown oid. is it not used anymore or?
-
mzar
CueXXIII: remove the flag with chflags(2) and you will be fine
-
mzar
there were more of them, IIRC kernel had also this flag in the past
-
CorvetteZR1
hello. i just ran pkg upgrade on a laptop and it appears to have pulled in plasma6 and kf6 packages...after reboot, when i log in, desktop doesn't load, just black screen and cursor. did i update to plasma6 too soon? :)
-
CorvetteZR1
anyone else have the issue and know a fix? or should i wait until some additional packages are available that might fix it?
-
CorvetteZR1
xorg and sddm logs don't show any errors
-
rwp
If you need to use a ports compiled kernel module for your graphics then the problem is that the binary port is compiled against 14.1 the oldest supported kernel not 14.2 the newest kernel.
-
rwp
This is one of those known really annoying problems that happens every time about now in the release cycle.
-
rwp
-
CorvetteZR1
i have nvidia on this one...is it also impacted by it?
-
CorvetteZR1
i'll give it a try
-
CorvetteZR1
yea, installed nvidia-driver port, it's for 14.2; but still not loading desktop
-
CorvetteZR1
ok, looks like during upgrade, not all plasma6 packages got installed
-
CorvetteZR1
i had to pkg install plasma6-plasma, and now when i log in, i get to the desktop
-
CorvetteZR1
but, it's using llvmpipe instead of nvidia, and is very slow...need to figure out why it's not using opengl
-
CorvetteZR1
hmm, could it be because plasma6 is trying to use vulkan which my fermi gpu does not support? need to dig into that...
-
polarian
Good evening, sound on FreeBSD 14.1-RELEASE does not appear to be working, I never use the speakers on my laptop until today I needed to hop into a call. pulseaudio is running, pavucontrol shows the device is unmuted and there is audio passing to the device
-
polarian
yet nothing
-
polarian
I have a sneaky suspicion that this might be down to libreboot, I had audio working on the laptop when I installed freebsd, the only thing I changed was I flashed libreboot
-
HER
polarian: check sysctl hw.snd.default_unit
-
HER
polarian: and cat /dev/sndstat
-
HER
and switch the default_unit sysctl hw.snd.default_unit=2
-
HER
as needed
-
HER
to use the wanted soundcard
-
polarian
HER: the unit is not the issue
-
polarian
it is the right one and they all show up
-
HER
ok
-
polarian
I will flash back the stock bios and see if that was the cause otherwise I am not too sure, nothing has changed since it was working other than libreboot, but I fail to see how the bios would affect sound
-
polarian
like the SD card reader is broken due to libreboot, but the speakers show up, so it shouldn't be a bios issue :/
-
brutser
it's pfsense related, but i guess freebsd will have a similar solution.. i want to automate the installation without need of any user input and using config.xml for the settings.. i cannot find the proper tutorial how to do this - the format of config.xml i know and is correct, i am trying to use install.conf but no idea what i need to put in there
-
brutser
for it to work
-
ghoti
Email question. I use sendmail for incoming mail. I get a ton of spam incoming from *anywhere* spoofing addresses at my domains in the envelops. I'd like to refuse this mail. What should I be looking at? I use spfmilter already with an ~all. Is it safe (or effective) to change that for this?
-
tyler82_Desktop
i am trying to setup whoix gateway and whonix workstation on bhyve iwth vm-bhyve. on my vm switch list there are three switches now. one is public, second one is external and the third one is internal. The public works well with archlinux VM. However gateway and workstation does not have connection to the network. I did create a bridge normally with ifconfig bridge0 create & ifconfig bridge0 addm re0 up. Then i did vm switch create -t manual -b
-
tyler82_Desktop
bridge0 public
-
tyler82_Desktop
vm switch create -t manual -b bridge0 external
-
tyler82_Desktop
vm switch create internal. Public is for archVM and works perfectly. But why whonix does not get the network? What else i should configure? i did disable firewall and pf for this testing as well.
-
Drak909
Hello all
-
brutser
anyone here knows how to automate install freebsd (i am trying to get this done for pfsense, but cannot find proper docs on this topic)
-
voy4g3r2
-
voy4g3r2
not documentation but so far, an interesting talk about doing a reproduciable build
-
voy4g3r2
he discusses using ansible
-
brutser
i think i came across it yes but did not see it yet, probably because i not want to use ansible
-
voy4g3r2
i have only heard of that or maybe puppet.. i only played around with ansible a little..
-
demido
docs.freebsd.org/en/books/handbook/…#virtualization-host-xen-dom0-setup mentions vm.max_wired, but sysctl vm.max_wired said unknown oid. is it not used anymore or?
-
mzar
there is not much work on Xen support recently
-
demido
ya but does vm.max_wired still exist?
-
demido
seems like it was removed but can't find more than an email chain discussing it from years ago
-
mzar
-
mzar
demido: so in r347532 vm.max_wired was probably removed
-
demido
hm ok, ty!
-
mzar
-
mzar
it looks like we have NAT64 support in PF since mid December, great news !
-
mzar
-
demido
nat64 in pf is great advance
-
demido
mzar know where i can find doc on vm.max_user_wired to see what the value refers to? like is it bytes, KB, or?
-
demido
i guess it's pages
-
demido
no idea if i need to tune that or not so nvm
-
ek
It appears to be a count. Not a size.
-
ek
Have you looked at mlock(2)?
-
uskerine
mason I finally configured MANPATH and it works now, thanks
-
uskerine
taylan MANPATH is the env variable that needs to be defined, once that is done, it works
-
mason
uskerine: There's also the systemwide config file if you don't want to set the environment variable. But good.
-
ek
Yeah. I suppose it depends on weather you care if it's a globally required manpage or you just want it for the one user or whatever.
-
ek
For a manpage, I would typically think just go global. Set it and forget kind of thing. It's not like a manpage is going to put the system into any additional security risk.
-
ek
At least, I would certainly hope not. That would be... concerning.
-
» mason imagines something akin to breaking file(1) with crafted data.
-
ketas
spice your life up today by adding . to $PATH
-
uskerine
mason ek I was looking for something specific to one user, it is for a custom application
-
mason
Alright, env is perfect for that then. Cool.