-
polyex
nvm my bad. bhyve ok!
-
polarian
lw: I assumed that
-
polarian
the licence page doesn't really say FreeBSDs view on copyleft... it makes it very clear they only accept BSD code within the core projects... but apart from that I dont see any "We disagree with GPL", unlike OpenBSD which started a war to eradicate GPL from its base system.
-
polarian
maybe I missed something?
-
lw
well, i'd say a policy forbidding GPL code counts as disagreeing with the GPL :-) i don't know if there's a specific policy statement on that, but a lot of work has been done over the years to replace GPL base components with non-GPL ones
-
polarian
I guess its more implicit then... and I completely missed ot
-
polarian
it*
-
lw
this is where things like libarchive and bsdgrep came from
-
polarian
doesn't this cause friction though?
-
lw
not that i've noticed, i think people who use/develop freebsd recognise that not having copyleft code in base (except where unavoidable) is a benefit for users
-
polarian
Hop into a Linux channel and not supporting GPL is seen as a crime... and then hop into BSD and its the opppsite...
-
polyex
lw pkgbase will make that even better
-
polarian
is FreeBSD core GPL-free?
-
lw
polarian: go to ask a linux channel about AGPL/GPLv3 and see what friction you get :-)
-
polarian
yikes...
-
polarian
they pretend v3 doesn't exist :P
-
lw
polarian: yes, see src/gnu/
-
lw
not very much though
-
polarian
I remember someone asking touvalds when he will adopt GPLv3 :P
-
polarian
so like OpenBSD, removing src/gnu is a long term.goal?
-
lw
er, i mean, no it's not gpl free (i answered the opposite question, does it contain gpl code)
-
lw
yes, i'm sure any patches to remove the remaining gpl code would be welcome
-
lw
the tricky part is it has to not break existing users, which means you can't just take an existing non-GPL implementation and dump it in src
-
lw
getting bsdgrep to work in all situations that ggrep did (especially re: performance regressions) is still ongoing work
-
polarian
what about the git situation... OpenBSD had their attempt at making OpenCVS (wtf even happened to OpenCVS?), does FreeBSD have a similar issue with VCS or is git simply standard and thus not worth replacing?
-
lw
i don't know what core's stance on Git is but i assume since it's not actually in-tree it's fine -- you can create your own freebsd-based product and the fact that freebsd.org uses git doesn't affect you at all
-
polarian
lw: well dare include coreutils and Stallman will start calling it gnu/BSD :P
-
polarian
ah so eliminating GPL is more focused on the users than the developers...?
-
polarian
because the average FreeBSD user won't need git... (unless they are a developer)
-
lw
yes, the idea is that you can take freebsd and create a proprietary product from it, which makes it more useful than if it had gpl code in. it's not (so much) as philosophical objection to the gpl, although i'm sure many bsd people dislike it
-
lw
(i personally don't care about creating proprietary products from freebsd but i strongly dislike copyright in general so i would always prefer a more free license (BSD) over a less free one (GPL))
-
dstolfa
lw: there really needs to be some tool to fetch the git repo in base at some point. we had svnlite back in svn days and it made some things quite a bit easier to test. now when i break the ABI or run on unsupported architectures, i *have* to build git separately somewhere which is just annoying
-
lw
dstolfa: pkg install FreeBSD-src FreeBSD-src-sys!
-
dstolfa
not everything uses pkgbase
-
lw
ok, technically not a git repo though
-
kenrap
(the average FreeBSD power-user will more likely use git than not though)
-
polarian
dstolfa: fetch the tarball for a commit?
-
dstolfa
polarian: 99% of the time i want the repository, not just the source
-
polarian
oh...
-
lw
ask infra to export git.freebsd.org via NFS?
-
dstolfa
lw: via kerberos...? :)
-
dstolfa
make sure to have the full package
-
dstolfa
maybe autofs somewhere in there too
-
polarian
why NFS? why not ftp?
-
lw
polarian: because if you mount via nfs you can actually use it as a source tree. but that wasn't really a serious suggestion
-
polarian
ah... right...
-
kenrap
it would be interesting to see OpenBSD re-implementing git with a permissive license as an "OpenGit" project
-
lw
i do think it's a bit odd that the src control system isn't in src itself
-
lw
that was always the case with sccs, rcs, cvs
-
dstolfa
kenrap: it's called got and it was practically useless last time i tried it
-
polarian
lw: I do have to point out that FSF states GNU is freer than BSD, so it does solely depend on your individual viewpoint... I don't agree with them... just got to point out its relative
-
lw
(although sccs was under a very non-free license, since lots of src was proprietary code back then)
-
polarian
kenrap: There is a library which is permissively licenced
-
kenrap
Game of Trees, lovely name
-
polarian
I would like to see what the OpenBSD folks would do to a git rewrite
-
polarian
git is HUGE
-
polarian
I'm sure they would cut out anything they deem useless, or outdated
-
lw
if someone was going to rewrite git, it would be worth considering alternatives (hg, darcs) at the same time, although i don't know how those are licensed
-
polarian
HG is GPL
-
lw
opensolaris used hg and i hated it, but that was 20 years ago, i imagine it's improved
-
polarian
hg is simpler but AFAIK its slower and less storage efficient
-
polarian
just checked darcs is also GPL
-
lw
oh well, back to SCCS then
-
polarian
it does seem like nix userspace is dominated by GPL
-
lw
FSF has a good PR team
-
polarian
FSF makes open source devs seem insane
-
kenrap
and copyleft is trendy
-
polyex
i'm trying to get a grafana plugin (
github.com/quickwit-oss/quickwit-datasource) to build on freebsd. i got the Go part building with mage. JS part i can't figure out, how to get yarn install to run because node_modules/cypress: command failed. cypress/lib/tasks/state.js:51 errors 'Platform "freebsd" is not supported'. how can i get that
-
polyex
working pls pls?
-
polarian
lw: have you seen "escape to freedom" on gnu.org?
-
lw
polarian: most people consider my political views insane so i wouldn't hold that against them. holding a contrary opinion rather than ceding to the popular position seems commendable by itself
-
polarian
OK I will rephrase it from "insane" to "extreme"
-
polyex
any grafana users?
-
kenrap
you probably should ask in #freebsd-ports, polyex
-
polarian
its still annoying how reverse engineering of old hardware is all GPL'd... While Linux will run in almost anything... BSD lacks behind on compatibility... although FreeBSD seems to support quite a wide range of stuff... and attempts to borrow said implementations from Linux has led to threats of lawsuits... so I assume this is why BSD devs/users are disillusioned with GPL? because its been used against BSD?
-
lw
so i ran into a weird FRR bug earlier:
le-fay.org/tmp/30d/a7E1u3.txt - it thinks 10.255.0.10/30 is on wg1, but it's clearly not. anyone seen this before?
-
thaewrapt
re
-
kenrap
supposedly (from RMS' point of view) copyleft gives power to the users, but from my point of view permissive-ness gives power to the developer. So having copyleft hardware "gives power to the user" from the big corps.
-
lw
kenrap: isn't that backwards? copyleft gives power to the developer (because it lets them control how people use their software), permissive gives power to the user (because they can use the software however they want)
-
kenrap
lw: nope, because for example, if someone even links to a GPL licensed library, it "infects" the project to be GPL as well, regardless of license.
-
AlaskanEmily
Can I prevent anyone else from selling copies of my software with copyleft?
-
lw
AlaskanEmily: yes, although the GPL itself doesn't do that
-
lw
a license that prohibits selling copies of the software would usually be considered not a free / open source license, even by the FSF
-
AlaskanEmily
What other copyleft licenses would you suggest? Most of them end up coming down to permissive, but with more patent or legal stipulations.
-
lw
i don't know of any license that does that off hand, although i imagine at least one must exist
-
lw
(this used to be an issue for sites like cdrom.com because they couldn't sell CDs containing software that you're not allowed to sell... less of an issue nowadays i guess since people don't buy software on CD anymore)
-
AlaskanEmily
So some semi-similar licenses might be the MPL and CDDL. Ultimately those end up meaning that individual files must be redistributed in kind, but any new code could be of any license, and you can mix them freely.
-
AlaskanEmily
If you want to ensure that a piece of software stays open source, they don't really do that. They ensure that individual components must remain source-available and free to distribute.
-
kenrap
permissive -> "sure, do what you want, but be sure to credit me", copyleft -> "if you make changes, then gimme gimme"
-
kenrap
lw: actually I can see why you were thinking that way in terms of open source developers, but with changes being required to be open and practically sent back to upstream, it ultimately benefits the users of the software with more features, etc.
-
zwr
you often have the issue that you don't want the code that comes back, the Toybox maintainer ran into that when he was in charge of Busybox and actually spent years battling corporations to comply with the GPL
-
zwr
also, the GPL in particular can prevent others from embedding your project in other free software projects or even using it
-
AlaskanEmily
You have to ask what your goal is. Copyleft doesn't automatically give developers what they want for their software.
-
AlaskanEmily
Permissive won't necessarily either.
-
zwr
e.g. SoX has the best audio resampling algorithm in the free software world, but it's GPL'd, you can't use it in libopus which is BSD licensed because that would impose additional restrictions on libopus
-
AlaskanEmily
You also couldn't use it, for instance, in a case where you needed to talk to hardware with a proprietary driver without jumping through tons of hoops (this is why many audio libraries are LGPL or MPL'ed, if they aren't just BSD/MIT/ISC licensed)
-
AlaskanEmily
(Specifically in an embedded situation, or where you need to use a proprietary API)
-
xFCFFDFFFFEFFFAF
Konversation kterminate
-
kenrap
Konversation klosed
-
lw
can anyone recommend a *small* application to do IP address management? i just want to easily track which IP addresses have been assigned where
-
lw
for a small network, not SP/enterprise
-
mns
lw: wouldn't your dhcp server give you that information?
-
voy4g3r2
lw: have you tried the dude?
-
voy4g3r2
-
VimDiesel
Title: MikroTik Routers and Wireless - Software
-
voy4g3r2
if you are using that red awesome router, you shared a few weeks ago
-
lw
mns: no, since many things don't use DHCP -- servers (static assignments), router link nets, anycast addresses, etc
-
lw
voy4g3r2: i tried it and thought it was not very good :-)
-
lw
although i have a spare RB4011 now, maybe i should have another go.
-
lw
voy4g3r2: i replaced that mikrotik with a freebsd box because it's just... more useful.
-
voy4g3r2
hehe
-
voy4g3r2
i came to same conclucion
-
voy4g3r2
-
VimDiesel
Title: Grafana: The open observability platform | Grafana Labs
-
voy4g3r2
i am NOT sure what can really be done iwth this
-
voy4g3r2
but i am toying with this because i swear something is going on, with some device on my network...
-
concussious
bcr did an amazing talk about it at bsdcan2019
-
voy4g3r2
concussious: grafana?
-
concussious
yes
-
lw
voy4g3r2: grafana is good for monitoring (i use it with prometheus) but not really for IPAM... unless there's a plugin for that?
-
voy4g3r2
i hear those in combo, i only started "exploring" a few hours ago
-
voy4g3r2
but i know i need to monitor SNMP stuff
-
voy4g3r2
how.. it keeps coming to those two pieces of software
-
lw
so grafana is just a frontend, it needs something else to collect the data. Prometheus or InfluxDB are both popular for that, i think Graphite also works
-
voy4g3r2
oh good to know.. i got sucked into the hype
-
voy4g3r2
but it probably does not answer your question
-
voy4g3r2
maybe there is a way to play with the ARP table?
-
voy4g3r2
as in.. query it from router and get ?
-
lw
i could do that but it doesn't really need to be automated, just something better than a manually edited text file
-
polyex
there any way to tell 'go mod tidy' from a specific dir pls?
-
voy4g3r2
yeah, i started the whole static ip and dhcp mix.. probably will get to your problem..sooner than later
-
concussious
im so sorry, it was icinga
-
voy4g3r2
not sure i understand..
-
voy4g3r2
polyex: the go language?
-
polyex
ya
-
polyex
trying to get a grafana plugin built
-
voy4g3r2
sorry, can not help.. i have not touched that language plus much smarter programmers here than me..
-
CrtxReavr
polyex, my "hack" for creating Grafana plugsins, was to use the HTML panel and embed a page that did what I needed.
-
polyex
we can build them now
-
voy4g3r2
polyex: oh, i would just default to python/perl/html for what i can read
-
voy4g3r2
review log files... generate an output
-
lw
there really should be a way to create a new vlan without having to reconfigure 5 different devices to pass it. (in fact i think there is, but nothing i use supports it...)
-
polyex
in my bsdinstall script i can run ls -la /tmp/jails/testjail/tmp and see a file in there, but after i cp -RpP /tmp/jails/testjail/ /usr/local/jails/testjail/, i ls -la /usr/local/jails/testjail/tmp and the file isn't in there?
-
polyex
ok i guess what's happening is when the jail starts, it clears /tmp heh
-
polyex
i guess that's because the jail host has clear tmp enabled in its rc
-
polyex
hm i wonder how to work around this
-
meena
i keep forgetting that our jails aren't actually PID namespaces…
-
meena
as in, they are enclosed, but not remapped from 1
-
MiniontobyPI
voy4g3r2: would using the release notes make it possible to do the upgrade WITHOUT an KVM?
-
meena
MiniontobyPI: most of my FreeBSD machines are VPSes, and I've almost never needed more than ssh to upgrade them
-
MiniontobyPI
oke, thx
-
meena
only my development VMs I fuck up badly enough to need it :P
-
MiniontobyPI
I guess I can run `freebsd-update upgrade -r 13.3-RELEASE` to upgrade from 12.2?
-
MiniontobyPI
Thx guys!
-
MiniontobyPI
but wait
-
MiniontobyPI
oh right, I have to run the install command again after reboot
-
MiniontobyPI
Yay, it works
-
meena
from 12.2? whew
-
TommyC
high risk high reward
-
voy4g3r2
MiniontobyPI: all good?
-
s2r
MiniontobyPI, don't forget to upgrade the boot code.
-
MiniontobyPI
s2r: how do I?
-
s2r
-
VimDiesel
Title: Update of the bootcodes for a GPT scheme (x64 architecture) | The FreeBSD Forums
-
s2r
if you are using gpt partitioning
-
MiniontobyPI
I am using amd64 as architecture, and I don't know if I use gpt patitioning, since I do not have any specs of the machine
-
MiniontobyPI
Oh I see tere is a command
-
MiniontobyPI
Yeah, the first partion is Gpt
-
MiniontobyPI
or wait
-
MiniontobyPI
=> 40 52428720 vtbd0 GPT (25G)
-
MiniontobyPI
40 111 vtbd0p1 freebsd-boot (56K)
-
MiniontobyPI
151 52428609 vtbd0p2 freebsd-ufs (25G)
-
MiniontobyPI
Btw guys: I am really new to freebsd, what is the rcctl or systemctl alternative that freebsd offers?
-
V_PauAmma_V
What do these do?
-
MiniontobyPI
Manage services
-
MiniontobyPI
like sshd or nsd
-
MiniontobyPI
like `start sshd`, `stop sshd` and `restart sshd`
-
V_PauAmma_V
Is service(8) what you're looking for?
-
MiniontobyPI
I think so
-
voy4g3r2
MiniontobyPI: another file that may be involved in that whole thing is /etc/rc.conf
-
Steeve
Apologies in advance for over the top enthusiasm but HOW COOL that you get compression out of the box like you do on ZFS. I'm coming from a couple of decades of ext3/4 use and this is just incredible to see something like 30GB of text files get shruken down into almost nothing
-
Steeve
Was just doing tests like $ yes > 1.txt
-
voy4g3r2
it is dependent on data and the compression algorithm used..
-
Steeve
Right, these were intentionally kind of repetitive so I know the results were exaggerated but still SO cool and so different from what I'm used to
-
MiniontobyPI
thanks guys
-
Ltning
I'm trying to use diskinfo(8) to test adevice for ZFS SLOG use, but when invoking it with -wS I always get "Sync write error: Bad file descriptor"... what gives?
-
Ltning
Doesn't matter if I use it against the raw nda device or after gpart create and gpart add
-
deimosBSD
wait until Steeve learns about zfs dedup
-
mason
Compression is probably more generally useful than dedup.
-
meena
👆
-
polyex
hm get a problem in grafana.log. error downloading plugin manifest keys. how can i disable that? i have to request permission to open fw and i don't wanna bother with that
-
polyex
nvm
-
polyex
anyone used grafana provisioning to configure plugins using a file?
-
polyex
got it!!
-
Ltning
polyex: What is this provisioning you are talking about? :)
-
polyex
some grafana shit to config a plugin with a file instead of clicking on UI