-
jb1277976_
Thanks koobs
-
\dev\null
Hi all
-
koobs
\dev\null: o/~
-
\dev\null
:)
-
jmnbtslsQE
seeing a strange issue trying to configure nat in vnet jail on only certain hosts: ipfw: setsockopt(IP_FW_NAT44_XCONFIG): Invalid argument
-
jmnbtslsQE
looking at the code..is there any guide on how to write data to the console or some other good way to report data from inside the kernel?
-
jmnbtslsQE
want to examine what's happening inside ipfw_nat_cfg in sys/netpfil/ipfw/ip_fw_nat.c
-
jmnbtslsQE
hmm, i guess i can just use printf
-
V_PauAmma_V
man 9 log
-
kevans
printf is my personal favorite
-
jmnbtslsQE
thanks
-
jb1277976_
Back on freebsd koobs w/Current i decided something. i've given almost 3 days trying to fix my internal mic issue. i've reinstalled freebsd 3x ghostbsd 2x and linux 2x lmfao!! i really want freebsd so im going to buy some dongle thing thats a mic that plugs into usb or my headphone jack and call it a day. something small
-
jb1277976_
i've leanred about my system i can tell you that. i can be up on freebsd in 30 mins from a clean install
-
angry_vincent
whats the best practicefor ZFS NFS share to allow write on pool? i could do simple permission change to allow writing from nfs client, but is there a better approach
-
angry_vincent
it is local network, so that i do not mind dumb ways
-
PredatorONormies
Hello!
-
PredatorONormies
Is FreeBSD vulnerable to the new serious OpenSSL Heartbeat 2.0 bug?
-
debdrup
FreeBSD isn't using OpenSSL 3.x, so no.
-
V_PauAmma_V
FreeBSD base has OpenSSL 1.1.1o (in 13.1), not sure offhand about ... what debdrup said.
-
debdrup
Well, that's assuming that it doesn't apply to 1.x, which is the version FreeBSD uses.
-
V_PauAmma_V
AFAIK, report was only for 3.x.
-
debdrup
The pre-announcement only mentioned 3.x which means people assume it only applies to that.
-
V_PauAmma_V
twitter.com/iamamoose/status/1584908434855628800 says versions < 3. It's from "the Apache Software Foundation (ASF)'s VP of Security", per
zdnet.com/article/openssl-warns-of-…y-vulnerability-with-upcoming-patch, linked in Bruce Schneier's blog post about it. Make of it what you will.
-
VimDiesel
Title: Mark J Cox on Twitter: "OpenSSL 3.0.7 update to fix Critical CVE out next Tuesday 1300-1700UTC. Does not affect versions before 3.0.
t.co/jIRQhx0nCr" / Twitter
-
V_PauAmma_V
s/< 3§/< 3 not affected/
-
Reinhilde
Man, the code of /src/*/usr.bin/indent is utter lossage.
-
Reinhilde
bakcopy() performs a copy of the origin file, instead of moving it.
-
debdrup
a move is just a copy and an rm.
-
Reinhilde
debdrup: yes, when working across filesystems. In the same filesystem, it involves creating a hard link, then deleting the old file.
-
Reinhilde
So, I'm probably going to take usr.bin/indent out of all context, and add this change, and release it. This product contains software developed at the University of California, Berkeley (?)
-
debdrup
Remilia: you're right, it's just that I'm so used to creating zfs datasets instead of folders that it works out I basically never get the hardlink+delete old file behaviour. :D
-
PredatorONormies
> <debdrup> FreeBSD isn't using OpenSSL 3.x, so no. < Ah, nice
-
PredatorONormies
Thankyuwu
-
vxwarlock
ifp
-
Remilia
debdrup: wrong highlight there, you meant Reinhilde
-
Reinhilde
meeyow?
-
» Reinhilde wags tail
-
Reinhilde
I should set up the qmail on my workstation to forward emails to the qmail on my main server.
-
Remilia
one must not set up qmail
-
» Remilia hides
-
yuripv
one must patch qmail
-
otis
netqmail even?
-
otis
or schmonz's notqmail?
-
Remilia
-
VimDiesel
Title: FreeBSD 13.1 released • The Register
-
Remilia
and El Reg writers prove they cannot read good documentation
-
Remilia
> Even the newest FreeBSD is still a bit more basic than that. You had better be happy at a shell prompt and using vi to create a few config files because even after the installation program has finished, most things are done from the command line. We Googled how to install Xfce,
-
Remilia
why not follow the handbook
-
» Remilia facepalms
-
debdrup
Remilia: yes, yes I did.
-
V_PauAmma_V
Remilia, snarkiness is their shtick. Praising documentation just wouldn't do.
-
Reinhilde
otis: A fork of Amitai's notqmail, yeah.
-
Reinhilde
yuripv: yes.
-
Reinhilde
Remilia: Too late. ;)
-
last1
is a compressionratio of 1.25x in ZFS equivalent to a 25% reduction in storage usage ?
-
debdrup
I believe so.
-
grahamperrin
Remilia: if you want _really_ bad, <
archive.ph/dwxxV#89%> FreeBSD 14.0 introduces a new feature called “Bash”.
-
grahamperrin
Gosh.
-
VimDiesel
Title: archive.ph
-
NerdyMcNerdface
last1: It does not mean that.
-
debdrup
Got a source on that?
-
NerdyMcNerdface
Yes, one of my filesystems has 3.95x compressratio. That means it would compress to less than 0 bytes.
-
debdrup
Nonsense.
-
NerdyMcNerdface
Got a source on that? :P
-
debdrup
Text that takes up 4kB on disk and compresses by 8x compression won't suddenly take up anything other than 512B.
-
NerdyMcNerdface
My point is that if 1.25x = 25% reduction then 3.95x would imply a 295% reduction.
-
debdrup
That's not exactly a big reduction.
-
NerdyMcNerdface
I'd argue that a 295% reduction is quite substantial.
-
debdrup
The entire base system, in binary format, compresses at almost 3x with lz4, and 4x with zstd, if memory serves.
-
debdrup
Yes, so? Processors are very powerful nowadays, compared to what they were when Lempel and Ziv started working in the field. ;)
-
grahamperrin
V_PauAmma_V: <
old.reddit.com/r/freebsd/comments/uxuf92/-> "Ignoring the article's flaws, it's not a _bad_ advertisement for FreeBSD. …"
-
VimDiesel
Title: FreeBSD 13.1 released • The Register : freebsd
-
shiroyasha
It's probably less confusing to say "the uncompressed version takes 3.95x as much as the compressed version".
-
debdrup
Sure, but with inline compression and compressed ARC, the uncompressed data doesn't really exist anywhere.
-
grahamperrin
<
startpage.com/do/dsearch?query=Xfce+FreeBSD&cat=web&language=english> top hit is an undated page from 2015, no mention of Handbook until page 5 of search results, that's in the context of a 2013 blog post.
-
Reinhilde
maths is good. you should study it.
-
V_PauAmma_V
I think 1.25x means a reduction of .25/1.25, or 20%.
-
NerdyMcNerdface
V_PauAmma_V: I agree. 1.25x = 20% reduction. 3.95x ~= 75% reduction.
-
V_PauAmma_V
Ways in which math and English don't mesh #48926489267: in math, "4 times more than 100" is 500. In English, it's increasingly 400.
-
V_PauAmma_V
(see also "inflamable".)
-
xmj
statistics is offtopic
-
xmj
;)
-
V_PauAmma_V
Not when they relate to discussions of FreeBSD features.</literal-minded>
-
Reinhilde
Coldcold
-
bmr
-
VimDiesel
Title: src - FreeBSD source tree
-
bmr
that is so cool :)
-
bmr
grattis FreeBSD!
-
Remilia
grahamperrin: archive dot ph shows me a captcha page which does not display a captcha ahaha
-
grahamperrin
-
VimDiesel
Title: Which Linux OS are you most looking forward to in 2018? - Linux Operating System
-
Remilia
grahamperrin: oh, ‘It allows users with limited command-line experience to run arbitrary programs with elevated privileges on Linux’
-
Remilia
I see
-
Remilia
this is where I post that pop team epic panel, right?
-
Remilia
-
grahamperrin
So, I use Bash (a feature of FreeBSD 14.0-CURRENT, not a feature of Linux) in FreeBSD on Linux. Arbitrarily.
-
Remilia
I use Git Bash which is a feature? of git? on Windows?
-
grahamperrin
It's the Freebisdulator.
-
grahamperrin
The poor cousin of Linuxulator.
-
mvanbaak
hurray for wg in tree. congrats
-
Remilia
I have a really stupid re_format question
-
Remilia
I am calling sed with 's/route:[[:space:]]+//' and my goal is to replace 'route:<some whitespace>' with an empty string
-
Remilia
what am I doing wrong here
-
Remilia
if I remove the + it works (for the first whitespace after 'route:')
-
Remilia
oh, * helps, I forgot all about REs
-
Remilia
sorry for the noise
-
last1
I have an issue with a php code that fails with: sem_get(): failed for key 0xe0638b9e: No space left on device
-
last1
is there a tunable config for number of semaphores ?
-
michelem
Hi folks! I noticed that the "bind" non-root user with uID=53 can open TCP port 53 without being root. Sysctl "security.mac.portacl" is not defined in the system. Where can I trace what allows that user to open the port, and what other rules are allowed?
-
michelem
net.inet.ip.portrange.reservedhigh and -low are also set to the defaults 1023 and 0.
-
rtprio
are you sure that it's not starting at root and dropping privs?
-
michelem
duh. You are right. The script uses "envuidgid $USER" which I assumed to drop privileges. But that only sets env vars for the desired user. Thank you rtprio
-
rtprio
ya, np
-
mns
I accidently, because I wasn't paying attention to what I was doing, ended up doing 'sudo zfs destroy -r zroot/bastille' in the wrong tmux window. I quickly did contrl-c several times to cancel the command, but it seems that some parts of zroot/bastille may have gotten deleted anyway. Is there a way to recover from that without having to redo everything that I had ?
-
Reinhilde
Probably not.
-
otis
mns: from backup, yes. otherwise, most probably no.
-
mns
snapshots maybe ? not sure how to use them though or if they're enabled.
-
Reinhilde
probably not, a destroy would've yeeted them too.
-
otis
destroy -r also destroy any snapshots
-
otis
anyy descendants of zroot/bastille (filesystems, volumes, snapshots, clones...)
-
mns
otis: ok was not aware of that. dang
-
mns
I may be able to recover quickly enough. Lets see what happens.
-
otis
take it positive: you can exercise your disaster recovery scenario(s).
-
Reinhilde
that's, uh
-
Reinhilde
most of us don't have that.
-
otis
in worst case, you'll only get 50% success rate. disaster: yes, recovery: no.
-
mns
I think it will be the 50% success rate this time
-
mns
:-)
-
jb1277976_
What up everyone
-
michelem
Hi folks. Need help in finding a solution to this:
dpaste.org/Dn58q#
-
michelem
See "exec.start" on line 6. That passes some arguments taken from some files. That fails because likely the outer shell expands the command in the host, before actually executing the (expanded) command line inside the jail
-
michelem
any idea how to achieve that same effect while taking the configuration only from within the jail?
-
michelem
ok, I was wrong on that. The shell command is actually run within the jail.
-
koobs
morn
-
jb1277976_
Instead of rebooting all the time is there a restart for each pkg I install that rc.conf and loader.conf get updated?
-
jb1277976_
rc.d ?
-
koobs
jb1277976_: yep rc.d (from ports theyre in LOCALBASE/etc/rc.d)
-
koobs
service <servicename> start
-
koobs
if you havnt yet put 'foo_enable=yes' in /etc/rc.conf, then you can use service <servicename> onestart
-
rwp
There is only rarely a need to reboot. Such as when doing a major upgrade which includes the kernel.
-
koobs
only time you need a reboot is for loader.conf stuff
-
koobs
there might be ways to kernel module unload/load (reload) to re-read initialization configurables, but im not sure
-
jb1277976_
Hey koobs
-
koobs
jb1277976_: how are you
-
jb1277976_
fine
-
jb1277976_
koobs: how do i know what service to reboot. do i just get the name of whatever i need and thats what i restart?
-
jb1277976_
s/reboot/restart/
-
jb1277976_
compliing my first every port on freebsd. there is no binary for it
freshports.org/print/epson-inkjet-printer-escpr2 im excited
-
VimDiesel
Title: FreshPorts -- print/epson-inkjet-printer-escpr2: Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux
-
koobs
jb1277976_: each rc.d script has a name variable, which shows up in `service list`
-
jb1277976_
yea i was tired of rebooting every time i updated rc.conf lol
-
jb1277976_
but thats for any operating system
-
koobs
kinda sorta, some support some levels of runtime upgrading/reloading kernels
-
koobs
or kernel modules
-
jb1277976_
koobs: did i tell you i gave up on trying to get my internal mic working. i bought a dongle from amazon. will keep an eye on
bug 262579
-
VimDiesel
262579 – Framework Laptop: headset/mic input issues
bugs.freebsd.org/bugzilla/show_bug.cgi?id=262579
-
koobs
jb1277976_: i found some root causes / same problem in other OS's
-
jb1277976_
ok
-
koobs
the internal array mics via webcams are 'digital mics', which are problematic/special from a config point of view
-
koobs
i have a set of links i identified, that ill doc somewhere at some point
-
koobs
but the feeling i got was, in the absence of an automated system (device id matching/etc) to setup pins properly, its going to need device specific setup
-
jb1277976_
got it
-
koobs
but in this case, too, the setup is very special internally
-
koobs
linux has this:
sofproject.org
-
VimDiesel
Title: Home - Sound Open Firmware
-
koobs
and i found issues for your device even as late as 2022
-
koobs
whats interesting about sof is: "BSD/MIT licensed firmware and BSD/GPL licensed drivers"
-
jb1277976_
yea
-
jb1277976_
wondery why it hasn't been ported?
-
koobs
its quite linux specific
-
koobs
im just saying (at least its not only gpl)
-
koobs
whats youre device again ?
-
jb1277976_
let me get it one sec
-
koobs
15-.....
-
jb1277976_
yea something like that
-
koobs
whats the full value?
-
jb1277976_
-
VimDiesel
Title: HP ENVY x360 Convert 15m-es1013dx Product Specifications | HP® Customer Support
-
koobs
es, right
-
koobs
so
-
koobs
-
VimDiesel
Title: 213953 – HP x360 Spectre speakers not working (Tigerlake, 15-eb1xxx/8811)
-
koobs
thats what linux (realtek driver fixup for your device) did
-
koobs
-
VimDiesel
Title: HP x360 spectre 13-aw2619nz No sound in internal speaker · Issue #3300 · thesofproject/linux · GitHub
-
VimDiesel
-
koobs
still issue sin late 2021
-
koobs
-
VimDiesel
Title: ASoC: Intel: sof_sdw: fix jack detection on HP Spectre x360 convertible by plbossart · Pull Request #3195 · thesofproject/linux · GitHub
-
koobs
-
VimDiesel
Title: HP Spectre 13-aw2020ca believes headphones are connected · Issue #3152 · thesofproject/linux · GitHub
-
VimDiesel
3152 – FreeBSD 2.2-STABLE: getty does not initialize %m, %s, %r and %v
bugs.freebsd.org/bugzilla/show_bug.cgi?id=3152
-
koobs
-
VimDiesel
Title: [BUG] Microphone on HP Spectre x360 13-aw0xxx doesn't work · Issue #3519 · thesofproject/sof · GitHub
-
VimDiesel
-
koobs
so, theyre aware of issues, and still have remaining open issues
-
jb1277976_
wow, thanks for doing research
-
koobs
-
VimDiesel
Title: HP Spectre x360 (2020) - ArchWiki
-
koobs
many code repos reference that page
-
koobs
now, the 'convertible' (intel) is seprate but also similar
-
koobs
but that page refs "This wiki covers the HP Spectre x360 released in 2020 containing TigerLake CPUs"
-
koobs
but doesnt include your 15-es*
-
koobs
but, same sound/hardware setup
-
koobs
and same problems
-
koobs
" Part of profile(s): HiFi
-
koobs
[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)"
-
koobs
see
-
jb1277976_
yep
-
fragcula
I'm using freebsd on raspberry pi and get new updated images weekly. Trying to streamline keeping as much between new images. Homedir is on a USB, and so will /etc/* with a pkg cache. I guess /usr/local/etc/* also worth backing up? Anything else spring to mind?
-
fragcula
Is backing up sshd's keys a good idea? possibly better to just remove it from my known_hosts so private key never leaves root filesystem?
-
koobs
/var/db/* certain things (if you care about package db, etc)
-
koobs
/etc if you modify
-
koobs
" so will /etc/* with a pkg cache." ah
-
koobs
localbase/* can contain customised things and configs
-
koobs
so not just /etc
-
koobs
some ports/packages have entire heirarchies in /usr/local/<thing>/*
-
koobs
including data
-
koobs
fragcula: since youre using usb for home, doesnt this cover keys?
-
fragcula
Hmmm, installing packages taking an age so far (python taking ~2 hours). So perhaps will just have to be very judicious with what I install
-
fragcula
koobs: I mean the server fingerprint, I think the private key is in /etc/ssh
-
fragcula
I suppose no real risk as if someone got to the USB it's game over anyways!
-
koobs
fragcula: your user keys are in /etc/ssh ?
-
koobs
not ~/.ssh/id_* ?
-
fragcula
my user keys definitely in ~/.ssh
-
koobs
what stage are packages 'slow' in ?
-
fragcula
but if I try and connect to the server the fingerprint will have changed
-
koobs
right youre talking about the host fingerpint first gen thing
-
fragcula
extracting
-
koobs
some people are pretty clear cut about separate of base/local (for configs too)
-
koobs
and modify as little in /etc as possible
-
fragcula
so cache wont save much tbh
-
koobs
for ssh you can use the port/package, which uses LOCALBASE/etc/ssh/*
-
koobs
then youd capture all of that 'custom config'
-
koobs
if you want to keep it
-
koobs
i suppose the question is, having 'backedup' whatever you do, whats the use case for 'restoring' ?
-
koobs
and does that use case have a threat vector/model where not having the old host fingerprint is relevent
-
fragcula
mhmmm, yeah, I guess the threat overwhelmingly is me not updating and being at risk through missing a sshd update
-
fragcula
in which case I can just do whatevers most convenient with the server keys
-
rtprio
fragcula: are you reinstalling with each image or what?
-
fragcula
rtprio: yeah, just flash the image to the SD, boot and it does some first boot magic (resizes partitions etc). SSH over and have a script to copy over those files and reboot
-
rtprio
there are probably easier ways to update your system. but also, why weekly
-
rtprio
i don't expect you're going to be missing much every week
-
fragcula
rtprio: it's cause it's running on a raspberry pi 1 so not a top tier supported platform
-
koobs
fragcula: what branch of freebsd are you ?
-
fragcula
freebsd-update doesn't work
-
koobs
on*
-
fragcula
koobs: 13.1
-
koobs
mmm.
-
fragcula
rtprio: no I imagine not, but I don't keep an eye on updates so alternative would be to watch out for security updates I guess
-
rtprio
i found pi1 to be unusable on freebsd
-
koobs
rtprio: whats the main issues/gaps ?
-
rtprio
because it's _old_ and _slow_ and limited in memory
-
koobs
im not familiar with the arch, but care about developer board usability
-
fragcula
armv6 so really old stuff
-
rtprio
koobs: one issue was it took 10-20 seconds to negotiate ssh key login
-
koobs
right
-
rtprio
i was going to use it as a bastion host, but i determined it was too slow even for that
-
koobs
anything not just a function of constrained resources?
-
fragcula
I don't have that problem, I'm using ed25519 dunno if that makes a difference
-
rtprio
koobs: i suppose not
-
fragcula
koobs: I think it's soft floating point
-
koobs
ah
-
fragcula
right now biggest issues for me is filesystem stuff is unbearbaly slow
-
rtprio
yep. also that
-
fragcula
usb host is managed on same chip as ethernet (dunno if also same as the SD card used as the root file system)
-
fragcula
SD card means you pretty much have to turn off logging (or redirect)