-
migue
#join #venezuela
-
lts
-
lts
Almost two months of not installing an available security patch, for both FreeBSD and linux.org...
-
multisn8
I think this is an excellent moment to ask: How could community and tools support admins more to prevent scenarios like these?
-
multisn8
Should there be automated updates for all internet-facing software? Maybe some split standard, so non-breaking-changes are installed automatically while breaking changes are held back for manual approval?
-
multisn8
Should we (as in FLOSS) introduce community-visible labels to denote availability for routine things as well as mental workload?
-
» llua laughs in work mandated quarterly updates only
-
voy4g3r2
in my experience, it is always the trust but verify model.
-
rdr
installing FreeBSD :)
-
franks2
Hi, are there any way to get auditd from jails?
-
franks2
I see its mentioned here
freebsdsoftware.org/blog/freebsd-jails-guide - but I cant seem to get any audit events from jails in the logfile of the jailhost
-
rdr
i'm not familiar, but if it's similar to other virtualization, perhaps yo9u can get it inside the jail?
-
o0x1eef
Any news about CUDA support on FreeBSD
-
titou
hey
-
titou
I would like to use pkgbasify on my FreeBSD in order to use pkgbase. Unfortunately, I read that hardlink error could be present if the base system is splitted into multiples mounts and this is my case (/var/crash, /usr/ports, /usr/src, /tmp, /var/tmp, /var/mail, /var/audit) is it a problem?
-
rtprio
no?
-
titou
rtprio: ok but I don't want pkgbase crashs my system :)
-
titou
and another question on another topic: i recently migrated from synth to poudriere. Now I upgraded my ports. Should I need to perform "poudriere jail -c -j ..." again in order to upgrade packages or is there another solution?
-
rtprio
i don't know much about poudriere, but probably "do what you have been doing"
-
rtprio
the system doesnt change, just how the files are accounted for
-
ivy
titou: pkgbase doesn't install anything into any of those directories. that looks like a fairly standard zfs root configuration? which is well tested with pkgbase
-
titou
ivy: ok super thank you both four your answer
-
GoSox
So unlike launchd, cron doesn’t check to see if a script is still/already running before relaunching it if the clock says its time to run, correct? If so, then whats the best way to make sure a script isn’t run twice at the same time?
-
Snalglum
you probably need to add that check in the script yourself, like checking for process name/etc
-
GoSox
or just making and deleting an invisible .running file somewhere
-
o0x1eef
Check out lockf(1) - might help.
-
ivy
i would probably have the script create a lockfile rather than trying to grep for process name, which is a bit fragile
-
GoSox
the lockfile option could be fragile too, if the script crashes for some reason
-
ridcully_
GoSox: lockf - see the examples at the end of the man page
-
GoSox
then it would be unable to run ever again, until i noticed
-
Snalglum
if your script crashes then your lockfile will stay forever and no more runs
-
o0x1eef
le sigh
-
GoSox
i guess i’d need ANOTHER script running in the background, cleaning up all of the runfiles for all of my scripts like once a day
-
ivy
GoSox: no, use lockf(1)
-
o0x1eef
Apparently incapable of understanding that or checking. Mentioned 3 times now.
-
Gedge
titou: there is always #poudriere
-
titou
Gedge: great thank you
-
polarian
It wasn't just freebsd which got pwned interesting
-
polarian
lts: I am 99% sure both Linux and FreeBSD are using managed hosting, thus it is at fault with the company they are paying to manage the hosting for them
-
polarian
IMO there should be a move to replace the forums now
-
polarian
FreeBSD operates in Europe too afaik and wouldn't want to get bitten by the GDPR next time they get pwned
-
polarian
Its time the freebsd team takes control of the forums, and a FOSS solution is deployed.
-
ivy
i don't think that is correct, both linux.org and forums.freebsd.org admins posted that it was their own responsibility to update the software
-
polarian
ivy: you also said that its not hosted on freebsd infra
-
ivy
that is correct
-
polarian
and also the IP addresses on the freebsd infra is a completely different datacentre from the one the forums is hosted on
-
ivy
the forum is nothing to do with the freebsd project, aside from having a hostname under freebsd.org, which is probably a mistake but too difficult to change now
-
polarian
ivy: what I want to know is whether this is the freebsd taking responsibility to something which wasn't their fault, or whether they genuinely have full control over the forums and choose not to do critical security patches
-
polarian
if it is a latter, it looks extremely bad for the freebsd project
-
polarian
How can people trust in the security of an OS when their forums gets pwned...
-
polarian
the fact linux.org was also pwned somewhat takes the heat off freebsd...
-
ivy
polarian: the forums is not operated by core, the project in general, or the Foundation. it is hosted and managed by a third-party user. no freebsd.org admins have access to the forum other than as users
-
polarian
ivy: right... but because it has the freebsd branding the freebsd project's reputation is on the line
-
polarian
like I said, from a users point of view, if a project cant keep its infra secure, than why trust the OS is secure?
-
polarian
the fact it was a script kiddie is even more humilating imo
-
polarian
humiliating*
-
ivy
perhaps users are intelligent enough to not engage in such ridiculous black-and-white thinking? who knows
-
» polarian shrugs
-
polarian
I saw the backlash from the pwn
-
polarian
Linux users were rather vocal about freebsd being dogshit
-
polarian
until they realised linux.org also got pwned :)
-
polarian
ivy: also, the forums is an official community platform for the project (unlike the Discord for example), it is lucky this was an XSS attack by a script kiddie only wanting attention, and not a data breach, or distribution of malware...
-
polarian
a data breach would have likely gotten the attention of the authorities, and then you have them breathing down your neck
-
ivy
"Linux users" were vocal about that? really? what percentage of Linux users, would you say?
-
ivy
this isn't 1998, no one cares about stupid OS wars
-
ivy
also, is linux.org even connected to Linux? (i can't seem to work out who owns/runs it)
-
polarian
ivy: the ones I know :)
-
polarian
obviously I cant speak on behalf of millions maybe even a billion people
-
polarian
I am in security circles though, so they are going to be vocal about such things
-
polarian
but anyways, the fact this wasn't managed by the core team means nothing, a freebsd branded platform was pwned yesterday, something has to be done about it
-
polarian
you cant just say "oh its a third party user not our problem"
-
polarian
like imo this is yet another failure for the project to do the most basic security
-
polarian
yes its not the teams fault this time
-
polarian
there has been major xorg vulns sitting in the port tree unpatched, despite there is a team to handle that...
-
polarian
xorg is SUID binary
-
polarian
and also before someone says "do something about it then" I have, I try my best to look through the vuln disclosures and push through patches for ports which are affected.
-
polarian
idk...
-
voy4g3r2
a personality problem is more challenging than an engineer problem at times
-
polarian
I am rather pissed off that such a trivial exploit was used against one of the freebsd's platforms
-
polarian
and it seems ivy is very chilled and lax about it, which I dont see why?
-
polarian
you had a bunch of likely teenage script kiddies exploit a XSS vulnerability, which took out the forums...
-
polarian
voy4g3r2: wdym?
-
voy4g3r2
polarian: you think it is "critical" and other stakeholders think it is "not critical as a 3rd part thing" as you references above. So you are at an enpasse.. is it critical or is it not. If the person/team responsible for the maintenance of the servers, you can say all you want it is critical, but they do not think it is. So this becomes a person situation. how do you inform a stakeholder, who deso not
-
voy4g3r2
agree with assessment, that their limited time needs to be invested in resolving an issue.
-
voy4g3r2
a people problem :)
-
ivy
anyone who has concerns about how the project is run should contact core, not random developers on irc who have no influence over that
-
voy4g3r2
correct, because none of them (on irc) are associated with this resolution path.
-
voy4g3r2
a great model to evaluate against is a Risk/Reward model or even a CAPA (Corrective Action Preventive Action).. the 5 whys is a great tool.
-
polarian
ivy: lol I was just discussing it
-
polarian
but if you urge me to contact core, then maybe I will
-
hodapp
you can feel free to demand to speak to the manager all you want
-
polarian
whos the security liason
-
polarian
I remember it listed somewhere
-
polarian
Allan is
-
ivy
polarian: you asked why i was "chill". i am chill because mediating the relationship between the project and the forum is nothing to do with me. i am suggesting that if you want to contact the people who actually care about this, that would be core
-
polarian
well you both seem to think its outrageous im angry about such a thing
-
polarian
it doesnt matter if you are core, or have any role in the problem
-
hodapp
but FreeBSD's "branding"(tm) is, uhh, mostly to people who (1) don't pay for it and (2) understand that, sometimes, the script kiddies score a goal
-
polarian
if you care about freebsd, why wouldnt you be angry?
-
polarian
hodapp: if you get pwned by script kiddies, there is serious problems, im sorry...
-
hodapp
polarian: and I wasn't pwned by script kiddies
-
polarian
how long ago was the vuln patcched? 3 months?
-
polarian
hodapp: even the post on the forums said it was script kiddies
-
polarian
and ccome fucking on
-
polarian
who else pwns a site to stick their discord accounts on it
-
voy4g3r2
polarian: because it is just a whole meme of.. forest gump movie where tom hanks was running and stepped in poo.. it happens
-
polarian
I guess nobody shares the same concerns as me then...
-
voy4g3r2
it is not there is no concern, it is the severity of it
-
hodapp
literally everyone here understands that When Your Forum Gets Hacked, That's Bad
-
polarian
voy4g3r2: ***ANY*** attack which is successful is a concern
-
hodapp
but the "I would like to speak to the CEO, this moldy onion indicates a supply chain problem, a societal rot, and a moral failing, and I demand an IMMEDIATE plan for how you will ensure that I never again receive MOLDY PRODUCE" tone isn't gonna get you anywhere
-
polarian
hodapp: I will simply email my concerns, im not going to be putting a complaint in against the project
-
polarian
its more a "what can we do to ensure this doesnt happen again"
-
polarian
because right now the response seems to be "oh it was only an XSS attack, nobody got harmed, all continue like usual!"
-
ivy
polarian: i would suggest taking a step back and considering what specific outcome you are expecting here. if you think something should be changed about the relationship between freebsd projet and the forums, or how the project in general handles security, being angry about it here probably isn't going to produce any useful results
-
hodapp
go lecture them on their finances while you're at it, like you were doing the other day
-
ivy
right now it sounds like you expect several hundred freebsd developers to all drop what we're doing and go yell at core until some unspecified change is made which will satisfy you... but regardless of whether that's a good approach, it doesn't seem to be working, so a different approach may be in order
-
polarian
ivy: outcome, let me think
-
polarian
1. freebsd project takes the forums
-
polarian
or cuts ties with the forums and marks it a unofficial community
-
polarian
and urges people onto IRC or mailing list instead
-
ivy
again, please don't tell me. this is nothing to do with me, i have no more influence over this than you do
-
polarian
ivy: YOU JUST ASKED
-
polarian
im so fucking confused
-
ivy
no, i didn't
-
polarian
welp I shall part for a bit
-
hodapp
I also don't see where ivy asked anything
-
ivy
i said *you* should consider what outcomes *you* expect, then *you* should consider the steps you take to achieve those outcomes
-
hodapp
they're gone
-
ivy
oh well
-
hodapp
it's the same person who was complaining the other day about how it's an *OUTRAGEOUS* waste of resources for some other project (I don't think this was even under FreeBSD's umbrella, it was some outside project making FreeBSD builds) to do a nightly build of FreeBSD
-
ivy
i mean, i can understand their concern (except for the weird bit about Linux users), i was just trying to suggest that complaining in IRC is not going to achieve much...
-
hodapp
he was doing the same thing with complaining about how much money someone was wasting doing nightly builds of FreeBSD and how this is a symptom of a wider problem of open source projects being really bad with finance
-
hodapp
regardless of me pointing out that it was 99% likely being done on a VPS/dedi that they pay the same price for regardless of usage
-
scottpedia
what's the situation guys?
-
hodapp
polarian being polarian
-
hodapp
demanding to speak to the manager of FreeBSD
-
scottpedia
okay?
-
scottpedia
who is that? Marshall McKusick?
-
» hodapp shrugs
-
Q-tio
quite odd
-
polarian
alright I sent an email to core
-
polarian
and I am calm
-
rtprio
are you tho?
-
polarian
yeah :)
-
vkarlsen
I can confirm. I've never seen polarian this calm
-
amigan
Is anyone else seeing random reboots with 14.3-RELEASE-p10 and 14.4-RELEASE-p1? I can't tell if there is panicking or not since I did not have a console on the machine. Rolling back, first to -p9, and then after upgrading to 14.4-, to the base release (not p1) indeed stopped the reboots every few hours.
-
amigan
It doesn't look like any dumps are being written; nothing shows up in /var/crash.
-
amigan
Also apparently on this particular system, booting with no monitor or keyboard connected means you get no /dev/console at all. (it's a Seeed Odyssey with a weird Intel LPSS uart that I cannot get to work at all, much less as a console)
-
Snalglum
for what it's worth, i'm getting occasional complete freezes on a box with igc NIC, no ping, nothing, but console works fine; a reboot fixes it. this is on 15-Rel.
-
vortexx
anyone else upgraded to 14.4-RELEASE only to have nextcloud refuse to allow access to files? (this is in an iocage jail). log level 9 isn't producing anything...
-
vortexx
(I can view that the files are there but neither download, upload, or modify them)
-
rtprio
pkg: Failed to fetch
pkg.FreeBSD.org/FreeBSD:16:amd64/kmods_latest_0/packagesite.pkg: Failed writing received data to disk/application
-
rtprio
did someone mention a fix for this? ivy ?
-
rtprio
or perhaps i just hosed my pkg.conf
-
vortexx
rtprio: there isn't a version 16 of FreeBSD yet
-
ivy
rtprio: you want kmods_latest, not kmods_latest_0, probably
-
Afterglow
amigan: no problems here with 14.3p10
-
ivy
rtprio: this is a terrible error though, i suggest filing a PR about that
-
ivy
rtprio: (you can see the available repositories for 16 at
pkg.freebsd.org/FreeBSD:16:amd64, which is a good place to start for problems like this)
-
rtprio
yeah, 404 would have given a ton more context
-
rtprio
ivy: wait, what's the difference between latest and weekly?
-
rtprio
and for 15, is quarterly a link to the latest _quarterly_[0-3] indicating quarter?
-
rtprio
is this documented someplace
-
rdr
latest is LATEST, quarterly is older
-
ivy
rtprio: the repositories beginning with 'base_' are for base; latest, quarterly and kmods_* are for ports
-
rtprio
that is the only part of this convention that i know
-
rtprio
i'm confused by the suffixes
-
ivy
rtprio: kmods_quarterly_X is for 14.X. e.g. on 14.4, you should use kmods_quarterly_4. that's because the modules have to be built for each minor release
-
rtprio
right, ok
-
ivy
rtprio: do you mean the difference between base_latest and base_weekly? base_latest is built twice a day, base_weekly is built once a week
-
rtprio
yes, base_latest vs base_weekly. thanks.
-
rtprio
so when 15.1 comes out, it will be $ABI/base_release_1
-
rtprio
right?
-
ivy
yes
-
rtprio
great, thanks
-
ivy
i think some of these names could have been chosen a little better, in hindsight, but it's difficult to change them without breaking everyone's pkg
-
ivy
like, base_latest, ports_latest, kmods_latest, or something
-
rtprio
maybe for 17
-
rtprio
i get why _x is for abi.x but yeah, having that explicit would align closer to the 14/14.2-RELEASE/ browsable and easily identifiable system
-
anth
I'm running 15 on a laptop with two buttons. Anyone know where the emulation of the middle button is defined?
-
rtprio
wayland or x?
-
anth
I don't understand what it's doing; it's like it gets stuck in some state.
-
anth
X
-
anth
(I forgot my mouse today, so it seems like a good day to finally fix it.)
-
rtprio
are you using moused? man it's been a while since i've done this in x
-
anth
rtprio: I don't think so? It's libinput, which I think means no?
-
anth
Me too. Probably a decade. Those memories are long gone.
-
rtprio
jw, if you open up xev and press both buttons, what do you get?
-
anth
Wait, never mind. This is one library doing its own emulation and getting it wrong.
-
f451
hi. when switching terminals then pasting does anyone sometimes get ~01thing-being-pasted01~ instead of just thing-being-pasted ?
-
f451
i keep having to enter 'reset' then return to get normal behaviour
-
ivy
f451: that sounds like something has enabled bracketed paste on your terminal and forgot to term it off. perhaps a text editor or something with a readline CLI?
-
ivy
s/term if off/turn it off
-
f451
i thought it was an option in /etc/make.conf. i have it turned off there, i make my ports in poudriere
-
f451
the /etc/make.conf is what the builder uses
-
ivy
for readline there's a ports config option for it, but anything can enabled bracketed paste if it wants, so it could be something else
-
f451
right
-
f451
id like to universally turn it off if possible it's really annoying
-
f451
theres no option in x11/terminator for it (in fact theres no options at all in the port)
-
ivy
oh, is this in X? i thought you were talking about the vt console
-
f451
yeah its in X
-
ivy
i think you may have to ask the developers of your terminal emulator, if it doesn't have a config option for that already
-
f451
i checked in devel/readline just in case and it's off there, too
-
f451
it's happened in other terminals i think, am 75% sure. i use terminator 99% of the time though
-
f451
to top it all off, i use tcsh LOL
-
f451
looking at it, seems it's a bash or zsh interaction, hmm
-
Xinayder
adding my 2 cents to the discussion of the forums issue. defacement is usually harmless. the thing I am a bit worried about is the linux.org admin saying they managed to obtain session tokens for the admin. I assume they didn't manage to exfiltrate data, and had very limited control over the forums. other than that, it happens. like I said, this is
-
Xinayder
not as big of an issue as Manjaro "forgetting" to renew their SSL certificates for the 6th year in a row.
-
Xinayder
if you wanna discuss this feel free to DM me, I don't think it's warranted to discuss this any further in this chat room :P
-
karolyi
hello, does anyone know about chroot handling changes between 14.3-RELEASE and 14.4-RELEASE? background info:
php/php-src #21589
-
rtprio
wait, you chroot directly to your php path?
-
rtprio
that doesn't make any sense
-
karolyi
there is a jail, and in its php-fpm.conf, I run roundcube chrooted. it worked so far
-
rtprio
so in the jail, of course you would need a resolv.conf
-
karolyi
the jail has it, yes
-
karolyi
but roundcube only works if I put an extra etc/resolv.conf under its chroot
-
karolyi
(hence why I left out the leading slash)
-
rtprio
you chroot inside the jail?
-
karolyi
yup
-
rtprio
but why
-
rtprio
and also, how would you expect it to resolv things if it doesn't have a resolv.conf, inside the chroot
-
karolyi
but how did it work so far? was that an 'undocumented feature' aka bug?
-
karolyi
I'm just wondering, really. I'm willing to make changes but I also want to get to the bottom of what caused it
-
rtprio
well you could query what chroot changes happend to know for sure
-
karolyi
not sure where to begin with that, to be honest
-
karolyi
I've upgraded from 14.3-RELEASE-p9 to 14.4-RELEASE-p1, and I think that broke it
-
karolyi
or fixed it, depending on how you look at it
-
rtprio
i'd argue fixed
-
karolyi
well by eyeballing the changes between 14.3-RELEASE-p9 to 14.4-RELEASE-p1, there are changes to chroot, but my understanding of them is murky to say the least.. I really need to talk to actual devs to get a clearer picture
-
karolyi
kevans: I'm looking at your changes now, babab49eee9472f628d774996de13d13d296c8c0 in src
-
karolyi
not sure if that has anything to do with it at all
-
karolyi
besides, that's the command line tool, not the kernel provided functionality