-
CorvetteZR1
michaeldexter, one thing to note, when i set -s 30,xhci,tablet, i get these errors in console when linux kernel in the guest is booting: pci_xhci: portregs_write to unpowered port 1
-
CorvetteZR1
this gets logged 20+ times just after selecting kernel in the guest's grub
-
michaeldexter
Are you willing to file a PR at bugs.freebsd.org, first searching for the issue?
-
CorvetteZR1
sure
-
CorvetteZR1
when i search for that error, only result in google brings me here:
illumos.org/issues/14623
-
VimDiesel
Title: Bug #14623: bhyve/xhci: Connecting device on port 1 failed - illumos gate - illumos
-
VimDiesel
-
CorvetteZR1
hmmm, to apply this patch, do i need to build whole kernel?
illumos/illumos-gate 104fd29
-
VimDiesel
Title: 14623 bhyve/xhci: Connecting device on port 1 failed · illumos/illumos-gate@104fd29 · GitHub
-
michaeldexter
CorvetteZR1: That looks like it would be in the bhyve(8) utility.
-
CorvetteZR1
right. so can i patch/compile only bhyve to test this?
-
CorvetteZR1
when i try to compile bhyve, it fails:
dpaste.com/89GRPXR8E
-
VimDiesel
Title: dpaste: bhyve make fail
-
CorvetteZR1
any idea what i might be missing or doing wrong?
-
michaeldexter
CorvetteZR1: That with the patch? Maybe ask on freebsd-jails on libera. There are a few nvlist users there.
-
CorvetteZR1
the 'patch' i'm trying is just modifying one line, not sure if it's the fix
-
michaeldexter
CorvetteZR1: I have documented the known aspects of your issue on the bhyve weekly call doc so they don’t get lost.
-
CorvetteZR1
cool, thank you!
-
michaeldexter
CorvetteZR1: How hands-on do you want to get with this?
-
CorvetteZR1
i'm not a developer...but i'll help where i can
-
michaeldexter
You have a good… example bug. :)
-
CorvetteZR1
if i can figure out how to compile bhyve, that'll be a start :)
-
michaeldexter
That is a great start!
-
michaeldexter
CorvetteZR1: Willing to take this to #bhyve?
-
CorvetteZR1
sure
-
michaeldexter
Probably best not to spam this channel.
-
kevans
CorvetteZR1: if you're building random things in the tree, you need to buildworld first unless you want to play 52 card pickup with the dependencies
-
kevans
CorvetteZR1: what you're seeing is becaue you need to build libnv and libvmmapi, but they themselves might have dependencies that need to be built, and so on and so forth
-
CorvetteZR1
kevans, gotcha, thanks!
-
yuripv
CorvetteZR1: there is also buildenv target that will get you set up with needed prebuilt stuff and put you in a shell with proper setup for changing/building arbitrary bits in the tree
-
yuripv
(i just hate how zsh's CPUTYPE needs to be unset every time though)
-
CorvetteZR1
interesting...never heard of buildenv before. will look into it
-
\dev\null
Guys, just thank you for colored diff :)
-
mns
made my first comment on a bug :-)
-
rwp
mns, Thank you for being involved and contributing! :-)
-
mason
mns++
-
polyex
i got a question on sudo rule. polyex ALL=(ALL) ... applies to me on any host but what's the 2nd all for?
-
polyex
doc doesn't make sense to me
-
rwp
The second all is the target user. It allows all users to be a target.
-
rwp
If the rule allows root then it might as well allow ALL since root can always become other users anyway.
-
polyex
well if 2nd all is target user why does rule start with my username?
-
rwp
The first field is the from user and the later field is the to user.
-
rwp
It's reasonable to allow a specific user to become another specific user, such as a role account, but not to become any of all possible users.
-
rwp
You probably don't need to restrict it for whatever you are doing but as a general purpose tool the capability is there. And I use it in my environment.
-
polyex
what's your rule of thumb on it?
-
rwp
My rule of thumb? Do the Right Thing. :-)
-
rwp
As I said if you want to allow yourself to become root then say ALL there. Because as root you could become other users anyway.
-
rwp
It's an optional field anyway. You don't need to include it at all. It will default to ALL if you don't include it.
-
rwp
I see I do mostly include it in my rules just as part of the template of use. But I can also see that I don't always include it. I should make that consistent in my files. Editing...
-
rwp
But for example if you were to say "polyex ALL=(root) ALL" then you could only switch user to root and would not be able to switch user to rwp for example. Which if you can switch to root it is silly to prevent you from switching to rwp.
-
darwin
i want to run maybe 10 OS in Bhyve and be able to open their programs in X
-
polyex
for something that requires root like 'service' we need ALL so you can become root right?
-
polyex
when i changed it to me it stops working
-
rwp
Yes.
-
polyex
or just root i guess
-
rwp
Here is a small snippet:
bsd.to/Z2Tw/raw
-
VimDiesel
Title: Z2Tw
-
rwp
darwin, What is "10 OS"? Mac OS 10? MS Windows 10? Debian 10 Buster?
-
rwp
polyex, Here is a snippet from a system using a shared role account for mailing list management "LISTHELPERS havoc = (mlmgr) NOPASSWD: /bin/bash" which is an example using something other than (ALL) in the target user. "sudo -i -u mlmgr" works and is expected but does not allow switching to any other user.
-
rwp
polyex, Another hint: I don't modify /usr/local/etc/sudoers instead I add /usr/local/etc/sudoers.d/sudoers with my own file as an override without ever touching the original file. That way I never need to merge files on an upgrade.
-
rwp
The packaged default sudoers file has "@includedir /usr/local/etc/sudoers.d" to include that .d directory of config files.
-
polyex
why do you run from havoc, and as mlmgr?
-
polyex
btw i could get away with putting (root) didn't need (ALL) so any reason to use ALL instead?
-
rwp
"havoc" is the name of the server where the mailing list is hosted. So the host name field says havoc to limit that rule to only work on havoc. That file is shared across multiple systems. Other systems sharing that file won't match on the host name.
-
polyex
ya sorry i meant what's LISTHELPERS? the from user right?
-
rwp
It's useful in my situation to have a shared role account. And since most of the people don't have a password, they only use ssh keys to log into the system, they can't use a password with sudo. They don't have a password. But the shared account is exactly as secure as their originating accounts, which is pretty secure since they can only use ssh keys to log in.
-
darwin
rwp, '10 operating systems (OS)'
-
rwp
So "mlmgr" is the mailing list manager role account. Note that I am not proposing that you need this or should do this. It's just an example.
-
polyex
ya i know just curious
-
rwp
darwin, Cool! I have never heard of this system!
-
polyex
so any reason to use ALL over root if you only need root?
-
darwin
what system?
-
rwp
polyex, Yes, LISTHELPERS is a list of user account names that can do this.
-
rwp
darwin, "10 operating systems (OS)" that you mentioned. You just said it!
-
darwin
no I didn't. I said systems
-
darwin
i didn't mention a specific one yet
-
rwp
You said "<darwin> I want to run maybe 10 OS in Bhyve and be able to open their programs in X" and I don't know what "10 OS" is.
-
rwp
In any case I am not myself very good with bhyve but maybe other people can help there.
-
kevans
yuripv: buildenv still needs the stuff to be bootstrapped
-
kevans
it only does the flag / env setup bits
-
polyex
if you got a bin that builds up a cache file as it runs where do you put it?
-
polyex
in man hier i saw there's /var/cache, but that docs implies it's temporary. but this cache file is persistent
-
nimaje
normaly cache is stuff that can be deleted for space reasons, but only the user should delete stuff from /var/cache (or the program that has originally written it, when it notices outdated stuff)
-
polyex
ya it could be deleted, and it would be automatically recreated next time program starts, but it takes time and it's inconvenient. so i preserve the cache file across system installs
-
polyex
still the best place is /var/cache?
-
polyex
i was thinking maybe /usr/local/share too
-
polyex
not sure which 1 is better
-
nimaje
/var/cache sounds better, as it directly tells the user that it can be excluded from backups
-
polyex
ok
-
polyex
if i make an rc script to run my bin when the server starts up i use daemon that way it keeps it running. but in my long command line, how can i pass some args to MY bin instead of it being more daemon args?
-
otis
all arguments after command-to-be-run-under-daemon are passed to command
-
otis
(see man 8 daemon)
-
Remilia
-
VimDiesel
Title: Practical rc.d scripting in BSD
-
Remilia
though I forgot if it actually mentions daemon
-
Remilia
oh right
-
Remilia
it does not
-
pertho
nimaje: well.. I can load i915kms if I move away the firmware as mentioned in issue 252 in freebsd/drm-kmod.. so maybe the firmware needs updating? Or something...
-
debdrup
Remilia: I think
docs.freebsd.org/en/articles/rc-scripting is a more up-to-date version of that article
-
VimDiesel
Title: Practical rc.d scripting in BSD | FreeBSD Documentation Portal
-
Remilia
does seem like it
-
debdrup
It's also the right file to modify, in case anyone wants to contribute a section on daemon(8). ; )
-
Remilia
I checked it as well and it does not mention daemon either
-
Remilia
I would if I had decent enough knowledge :(
-
debdrup
Decent enough knowledge of what?
-
Remilia
of rc.scripting and daemon, in practice
-
Remilia
that full stop is a mistype
-
debdrup
Ah, okay - I was thinking if it was knowledge of writing docuemntation for FreeBSD, there's documentation for that too :P
-
Remilia
haha I got like 6 years experience as a technical writer but I never write about things I do not understand well enough
-
polyex
now is the best time to begin!
-
Remilia
well sometimes I do but only in my personal weblog or short length like fedi
-
pertho
what's the preferred way to configure a touchpad in FreeBSD these days? I see old wiki pages about synaptics and sysctls.. is that all superceded by libinput now?
-
nimaje
you could port someting you need that has a service and write about it while you learn from man pages and other rc scripts and at the end we should probably have a useful port and a new section in the documentation
-
moviuro
Hi all, how much will FreeBSD complain if I move all my disks (incl. system, full zfs arrays, etc.) to another board? (currently have a raidz1 array with 4 disks, and that's it)
-
moviuro
x0.at/Bsay.txt <- /usr/local/sbin/zfsnap destroy -r zroot # didn't remove old/stale snapshots such as zroot/ROOT/default⊙b2_16.34.30--34d . Why?
-
Remilia
moviuro: I am unsure if the developers of zfsnap frequent this channel
-
Remilia
have you tried posting an issue in the github repository?
-
Remilia
oh it seems dead
-
moviuro
the repo looks pretty much dead (last open issue 2020)
-
Remilia
last closed is Oct 27
-
Remilia
-
VimDiesel
Title: zfSnap -d command is not working · Issue #110 · zfsnap/zfsnap · GitHub
-
VimDiesel
110 – initial install leaves /tmp and /usr/tmp mode 755.
bugs.freebsd.org/bugzilla/show_bug.cgi?id=110
-
Remilia
interesting
-
moviuro
zfsnap destroy -r -v -p before-13.2- zroot # seems to do the trick
-
Remilia
are you using zfsnap or zfsnap2
-
moviuro
zfsnap -V says 2.0.0.beta3
-
Remilia
oh so you installed zfsnap2
-
gendish
Any zfs gurus around? Got two kinda old disks (running for 8.5 years) in the server. 120GB ad0 (GPT, freebsd-boot) and 1TB ad2 (GPT, freebsd-boot). Thinking about putting a 12tb disk in. Not running in mirror or raid at the moment. Should I do zpool replace zroot adaop3 NEWDISK ; gpart backup ada0 | gpart restore -F NEWDISK ; gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 NEWDISK ;
-
gendish
wait for resilver until done then ; zpool remove ada0p3 ? Can I do this to the second (1TB disk) too? Or do you guys have a better solution? Creating a new pool on the new disk and move the old pool to the new? Thanks in advance.
-
Remilia
gendish: make sure that 12 TB drive is not SMR
-
Remilia
gendish: by the way does your system only support legacy boot? if you can use UEFI boot it is a lot more convenient
-
gendish
Remilia: It's a CMR-disk according to the spec sheet. Think it's a non-UEFI board. Asus P6T SE
-
Remilia
yeah :\
-
jmnbtslsQE
i'm not a zfs guru and i've never done zpool replace where the pool has only one disk, but i would just create a new zpool on the new drive and then zfs send -R, then destroy the original, unless you cannot allow downtime
-
jmnbtslsQE
i'd wonder whether an unsuccesful zpool replace would leave your pool in an undesirable state
-
jmnbtslsQE
(you will need recv -u when you receive it so that it doesn't automatically mount over your existing mountpoints)
-
gendish
jmnbtslsQE: ok thanks!
-
gendish
Remilia: So I must keep my 120GB disk to be able to boot if I understand it correctly right?
-
Remilia
gendish: no, if you use gptzfsboot etc.
-
Remilia
the bootcode part
-
Remilia
refer to stuff like 14.0 release notes there should be instructions for upgrading MBR bootcode and they apply
-
Remilia
or just read the gpart-bootcode manual page
-
gendish
Remilia: Cheers!
-
deacon426
morning peeps
-
Zyxer
MORNING
-
deacon426
HI!
-
gendish
good afternoon
-
deacon426
gendish: afternoon :)
-
hernan
muuuurnin
-
deacon426
hi hernan
-
jauntyd
mornin'
-
jauntyd
what are you all up to with FreeBSD?
-
deacon426
jauntyd: morning
-
PiRATA
sup jauntyd
-
jauntyd
not much. browsing the forums
-
deacon426
well, jauntyd I for one am waiting to pull the trigger on a NAS and can't freaking wait to install fbsd on it and play with zfs and possibly caching if I can afford it
-
Zyxer
Game development
-
deacon426
whoa Zyxer, that's awesome.
-
deacon426
I have always wanted to test run steam one of these days
-
jauntyd
sounds fun deacon426
-
Zyxer
Uh... I am using godot
-
Zyxer
Guess we will release for steam as well, no idea how to make it run on FreeBSD. But I heard it is possible.
-
deacon426
Zyxer: and relatively easy :)
-
Zyxer
OpenBSD can download steam games from cli without the steam interface
-
deacon426
cool
-
deacon426
to the NAS!
-
Zyxer
ZOOOOOOMIES
-
deacon426
I like the idea of having a local steam server just having it call out for updates on its own
-
Zyxer
Oh, that is what you use the NAS for
-
deacon426
Zyxer: one of many utilities I'm sure
-
deacon426
everyone talks about FreeNAS or TrueNAS or Synology or this and that, I always wonder way they just don't go the way of the sword so to speak (native fbsd)
-
deacon426
I'm likely to go with a new i3 if it will be to remain striclty as backend storage, but if a hypervisor will be utilized on the same box then I'll been a beefier chip. The new i series have native ECC and aren't very expensive. Mainboards on the otherhand, :(
-
deacon426
*need
-
deacon426
plus decent hotswappable chasis, jeepers :( expensive
-
Zyxer
Mainboards are expensive due to PCI-E 4, which is overkill unless you go for the 8K gaming
-
deacon426
yeah I think intel pushed for PCI-E 5, probably AMD as well which is ridiculous
-
Zyxer
Bigger profit
-
deacon426
letters on a box
-
Zyxer
Profit margin is usually x%, but if the price is big then the x% ends up being a bigger sum
-
deacon426
GET ME THOSE LETTER ON THAT BOX -- some CEO
-
Zyxer
Yea
-
deacon426
*letters
-
CorvetteZR1
Zyxer, download steam games without steam...explain
-
Zyxer
PCI-E 4 is already overkill. I know of one single use case for it that is aplicable for consumers
-
CorvetteZR1
yea, i used godot on freebsd, works great. i didn't release anything, but what i had was playable on freebsd...that was with godot 3.5 though
-
deacon426
I think AMD's SAM uses it, though I very well may be ignorant
-
CorvetteZR1
but i still have godot 4 installed and the editor launches...but the game i was working on is broken now. because of godot, not because of freebsd
-
Zyxer
CorvetteZR1: It logins to steam and all using API, so it is a script that runs in terminal. Then use API to fetch a game in your list. I think it runs the steam API terminal program when you launch steam games to still work despite DRM, since the DRM is usually ping server to confirm you owe me
-
Zyxer
I bet the steam client is electron or something,
-
Zyxer
With extra privileges
-
Zyxer
Or well, I guess all electron apps get bonus privileges on system than if run in browser
-
CorvetteZR1
what's it's called? steamcli or something? i guess it's not just an openbsd thing, you can run this utility on other oses too?
-
deacon426
CorvetteZR1: steamctl
-
CorvetteZR1
cool! will check it out
-
deacon426
damn near everything is on git these days no doubt
-
nimaje
'on git'? you mean in a git repo? why would that matter?
-
deacon426
he want's to check it out, does it not make sense to visit the development of said program?
-
deacon426
and yes nimaje, in a git repo. Thank you for the correction, sincerely. :)
-
nimaje
but to see it you need to know where it is hosted, not what vcs is used, it doesn't benefit you to know that there are some git repos on my laptop, as you can't access them
-
nimaje
hm, there seems to be some steamctl on github, not sure if you meant that, but it seems to do what you spoke off
-
Zyxer
Oh, the actual usecase for PCI-E gen 4/5, you can use fewer datalanes for more/same speed
-
Zyxer
Meaning my 4 NVME to PCI-e adapter could be shrunken down to only need 4 or 8 lane PCI-e slot
-
Zyxer
Now that I got an mATX I cannot fit it in my motherboard, since 1 16 lane is for GPU, and there is no other 16 lane that the PCI-e nvme adapter needs. Luckily the only reason I bought it was to be able to add another NVMe, but my new MoBo has 2 NVMe slots.
-
Zyxer
Sadly I bet at least one does PCI-e 4 without sharing lanes, meaning that unless I got some passive cooling using heat sinks with plates or whatever it is called in english, the NVMe bottlenecks due to thermal limits.
-
Zyxer
The early NVMe that supported PCI-e gen 4 performed worse than gen 3, because it performed better in a burst until it got hot, then it had to bottleneck so severely that the PCI-e gen 3 NVMe outperformed it
-
deacon426
Zyxer: that is my setup, though my main rig is mITX
-
deacon426
all pci-e 4 lanes. one gpu and two nvme
-
deacon426
the main does have a heat sync and fan
-
deacon426
(nvme)
-
Zyxer
I thought my PCI-E card was a 4 laner... Otherwise I would not have gotten an mATX (or at least one with two 16/2x8 lanes)
-
Zyxer
deacon426: Lucky you. My NVMe has nothing of the sort
-
Zyxer
So I connected it to the secondary M.2 slot
-
deacon426
had to tweak the curve though because of coil whine
-
Zyxer
Hoping that it shares lanes with other stuff thus "bottlenecking" the NVMe so it won't overheat
-
Zyxer
I am scared the heatsink by itself will be to fat and collide with GPU
-
deacon426
it is beefy
-
deacon426
mATX you should be fine.
-
deacon426
I fell into the SFF rabbit hole, and was A-OK
-
Zyxer
what is SFF?
-
Zyxer
also it is this motherboard I got
-
deacon426
"small form factor"
-
Zyxer
-
VimDiesel
Title: ASUS PRIME B550M-K ARGB - Moderkort | Webhallen
-
Zyxer
Oh, looking at it I realised the prioritized M.2 slot is above the GPU and should fit a heatsink on top of
-
deacon426
-
VimDiesel
Title: DAN Cases
-
deacon426
ssupd being just, awesome.
-
deacon426
fits a 280mm rad and a full sized 2.5 slot gpu
-
deacon426
Zyxer: yeah, fabricate one, that would be cool.
-
Zyxer
I found a heatsink
-
Zyxer
A returned one tho', they claim it has no signs of usage except maybe instructions not following
-
Zyxer
be quiet! MC1 Pro
-
Zyxer
Oh you really went down the SFF rabit hole
-
Zyxer
Damn, the ssupd had a nice case
-
Zyxer
I almost went down the SFF rabbit hole. I found it interesting enough to stick my head down the hole, then saw the prices and noped out of there
-
Zyxer
Today the only mATX I bought were because they were cheaper for me, or I had found some chassi on black friday, and when upgrading MoBo only mATX would fit
-
Zyxer
but the SFF chassis are very sexy
-
Zyxer
I have a full tower but some of the SFF chassis can fit bigger GPUs than my full tower
-
Zyxer
A friend bought one of those, when it was a semi new concept afaik
-
Zyxer
An SFF chassi
-
Zyxer
He did not reciev one within a reasonable time, they costed around 400-500 bucks back then, so he was getting worried and emailed them and asked about it. They excused their mistake, they had forgotten to ship it.
-
Zyxer
I think they got stressed and almost panicked because when package arrived he got 2 chassis instead of one. Or that was their way of excusing themselves for the mistake
-
Zyxer
(2 different packages, they arrived one day after the other)
-
tsundoku
my reentry into the world of FreeBSD is coupled with a desire to go for a smaller, quieter, server, so I'm working on an mATX board in a smallish cube case. I'm pretty impressed so far
-
tsundoku
I think I'm developing an abiding love for the zany ASRock server boards that cram as many features as possible into a small space
-
Zyxer
Minimal OS, minimal (physically) hardware
-
deacon426
tsundoku: I'm not sure but I think the 790-itx I was looking at was ASRock. ECC and all :)
-
deacon426
yeah Zyxer: by the time the dan case arrived I think I paid just over $300 which is waaay too much. Darn niche products
-
deacon426
same goes for mechanical keyboards.. :(
-
Zyxer
Split keyboards are the way to go
-
tsundoku
you get what you pay for I guess
-
tsundoku
I make my own keyboards... it's not that cheap but it gets me what I want
-
Zyxer
Nah, you don't always get what you pay for, but you never get more than what you paid for
-
Zyxer
My friend made his own keyboard, I think in total tops 70bucks
-
tsundoku
I'd have to add it up but it probably ended up costing a few hundred dollars at the end of the day
-
Zyxer
Bought his own microcontroller, programmed it, the PCB board, the switches and all. Even has 2 smoll screens. split keyboard
-
Zyxer
Wat
-
tsundoku
the keycaps are the most expensive part, especially if you're doing something less common. I had to mix and match from a few sets to accomplish what I was trying to do
-
Zyxer
Damn, yea ok they can go up· I only heard some keramik keycaps. They sounded so good it was ASMR
-
deacon426
I have a beautiful gradient seafoam green set that didn't fit, darn standards
-
deacon426
...just sitting in a bit now, taking up space
-
deacon426
*bin
-
Zyxer
I gotta ask, why do many tech communities use libera?
-
tsundoku
I have... a lot of sets
-
Zyxer
Personally I really dislike having to sign up and give email for the luls
-
tsundoku
whenever I see something that has Mac-style modifiers, I jump on it unless I don't like the way it looks
-
tsundoku
> I gotta ask, why do many tech communities use libera?
-
tsundoku
as opposed to... ?
-
Remilia
'having to sign up' is a barrier for spammers
-
tsundoku
it was freenode, but freenode fell victim to some drama, libera got stood up as a replacement, and it was widely accepted
-
Zyxer
I have an iMac G3, with original keyboard, running OpenBSD (FreeBSD was much more hassle to install on that iMac G3).
-
nimaje
oftc / hackint and probably others
-
Zyxer
tsundoku: As opposed to unofficial servers I am in. No signup or anything required
-
tsundoku
define "unofficial"
-
Zyxer
Also how does the email prevent spam?
-
Remilia
Zyxer: have you ever been to DALnet in late 1990s/early 2000s?
-
tsundoku
the thing I like most about registration with services is that I can make sure nobody steals my nick.
-
Zyxer
Unofficial as in not referred to in any official page. Freebsd.org or whatever the main site is for example
-
Remilia
DALnet did not have services and you did not need to register
-
Remilia
in return you had to run your own bots and hope they do not disconnect
-
tsundoku
I run an IRC network myself and even though it's tiny, dealing with spammers takes a certain amount of work
-
Remilia
or your channel would be taken over in an instant
-
tsundoku
services packages go a long way towards making it less of a pain
-
Zyxer
Bro, I was still in diapers in the 90's
-
Remilia
bro yourself
-
Remilia
etc.
-
tsundoku
nothing wrong with being younger, but historical context is important
-
tsundoku
things usually are the way they are for a reason
-
» Remilia does not like being addressed as 'bro'
-
Remilia
yeah
-
Zyxer
If ppl self hosted it wouldn't be as susceptible to spam and such, I think
-
Zyxer
Yea ok. True, historical context matters
-
Remilia
and by requiring a valid email for registration + a registered nickname/account means spammers have much harder time getting in
-
tsundoku
what do you mean?
-
Remilia
'self-hosted' IRC is insanity
-
tsundoku
if it's on the internet, it's susceptible to spam. it doesn't matter if it's big or small, self-hosted, cloud-based, whatever
-
Zyxer
I guess I am insane then
-
Zyxer
I and a friend.
-
vkarlsen
I've self-hosted irc before. No white coats showed up.
-
tsundoku
obscurity won't get you far in an era when spammers are constantly crawling the Internet looking for identifiable services to pester
-
Zyxer
But sure allocating nick names I get it
-
nimaje
some recent spam wave seemed to just scan the ipv4 adress space for irc servers and spam them
-
Remilia
first of all, 99% of hosting/dedicated/etc. providers will kick you out for hosting ircd
-
Zyxer
????????????
-
Remilia
unless you disclose that to them and often pay extra
-
Remilia
because IRC servers are risk factors
-
Zyxer
My friend has a VPS that doesn't care?
-
tsundoku
I self-host all sorts of stuff, and you still have to have reasonable mitigations in place to deal with spammers and casual malicious access attempts. they will find you.
-
Zyxer
And I only allow i2p tunnels
-
tsundoku
so I don't understand your logic of self-hosting making this less of a problem
-
Remilia
if you have an IRC server that does not limit access to it, it will be used as a command & control centre for a botnet
-
Zyxer
Ok, and why can't the botnet owner setup their own IRC server for that?
-
Remilia
why would they?
-
tsundoku
this conversation is getting very confusing.
-
Remilia
I mean
-
Remilia
other than that
-
vkarlsen
They can, but they don't have to if they can use yours :D
-
Zyxer
Because many VPSes allow for anonymous pay and all that
-
Zyxer
Get their friends on and plausible deniability
-
tsundoku
I think you misunderstand the purpose and appeal of a botnet
-
Remilia
I guess it is really great to have to connect to 15-20 self-hosted IRC servers if you participate in as many open source projects?
-
tsundoku
well yeah that's the other thing
-
nimaje
that could be traced back to them, so using an open ircd is a better idea for them and it doesn't cost them
-
Zyxer
Yes. I rather have to do leg day than risk one actor fucking up or crashing or whatever and every community suddenly gone
-
tsundoku
it sounds like you're saying "why does this public IRC network for widely used software projects not work like the private one I hang out on with my friend and limit access to?" which doesn't make sense
-
Remilia
what does 'one actor' mean
-
tsundoku
nobody wants to have to like, contact the host of every chat channel and set up a tunnel to access their special invite-only resources
-
Remilia
Libera is an IRC network
-
Zyxer
nimaje: You pay with crypto for a VPS, then make a public IRC, and no one can prove the IRC owner was behind the botnet
-
Zyxer
Maybe I am misunderstanding how libera works or IRC, aren't all channels on libera hosted on libera server?
-
tsundoku
it's nice to have small friends-only spaces online, but the purpose of Libera and channels like these is fundamentally different from that. it's just like in "real life." different spaces have varying degrees of public/private nature, and are set up accordingly
-
Remilia
[22:46:22] * There are 70 users and 33496 invisible on 28 servers
-
Zyxer
Or is libera only for verification of email?
-
Remilia
LiberaChat has 28 IRC servers
-
Remilia
all over the world
-
Zyxer
yes?
-
Remilia
so I do not understand [15:39:18] <Zyxer> Maybe I am misunderstanding how libera works or IRC, aren't all channels on libera hosted on libera server?
-
Zyxer
And everyone being on facebook is not a problem? Because facebook has servers all over the world?
-
Remilia
what is 'libera server'?
-
tsundoku
service liberad restart
-
tsundoku
oops
-
Remilia
haha
-
Remilia
I think you misunderstand what an IRC network is and how it functions
-
Remilia
LiberaChat is not 'a server'
-
Zyxer
Someone is running libera. I mean, literally the issue with freenode could happen to libera, no?
-
Zyxer
Yea ok, liberachat is not one server.
-
Zyxer
Facebook is not one server either
-
deacon426
the issue with freenode was a hostile takeover of an NPO I though.
-
» Remilia will now withdraw before people in charge notice the off-topic flame-bait tier stuff going on
-
deacon426
Zyxer: Libera is a *network*
-
Zyxer
But it is one actor controlling all libera servers
-
deacon426
no
-
Zyxer
Hmm. Ok
-
Zyxer
How not? So libera cannot be bought byu a mallicious actor?
-
Remilia
-
Zyxer
No one can sell libera?
-
VimDiesel
Title: About Libera Chat | Libera Chat
-
deacon426
Zyxer: this is why Libera was created in the first place
-
Remilia
please educate yourself
-
Zyxer
deacon426: I see, I thought it was similar to the freenode network
-
deacon426
it is freenode 2.0 sort of.
-
deacon426
Zyxer: you're in the right place
-
Zyxer
Remilia: I am trying. Remember I did not grow up with IRC or any of that. It is still new to me
-
Zyxer
My frame of reference is very different from IRC "veterans".
-
Zyxer
I just don't like centralisation. Sometimes it is needed yes.
-
Zyxer
But hosting an email server on FreeBSD or whatever, is also susceptible.
-
Zyxer
Doesn't mean I am comfortable having around 100% of all email servers being owned/run by 2 actors
-
Remilia
I understand, in the dilemma of 'convenience vs centralisation' you choose the radical former
-
Remilia
latter*
-
Remilia
errrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
-
Zyxer
From my perspective everything that is centralised in any way is that just to collect data or control your speech.
-
Zyxer
You meant decentralisation, lmao
-
Remilia
yes
-
Remilia
you hate being able to join multiple projects' channels on a single non-profit IRC network
-
Remilia
most people prefer that convenience
-
Remilia
that is the difference
-
Remilia
basically, your approach is kind of against the principle of IRC itself
-
Remilia
an IRC server lets you create as many channels as you want to, for any kind of topic of interest to you or others
-
Remilia
by design it means there is value in people converging
-
Zyxer
Maybe. I am trying to learn. Remember that what I am experienced with bans ppl completely for claiming the government doesn't have your best interest in mind. And those that do not ban all collect data. That is the environment I grew up in
-
» Remilia goes back to her book
-
Zyxer
Remilio: <by design it means there is value in people converging> ok that was a great point actually
-
Zyxer
Thanks for encouraging me to read on liberas site and linking it. Most things I read about are due to controversies, so my look on things is probably overly pessimistic.
-
Zyxer
Ok something actually related. Can I read LUKS on FreeBSD?
-
Zyxer
I get ambiguous answers when googling
-
nimaje
there is
freshports.org/devel/libluksde no idea if it works I haven't tried it
-
VimDiesel
Title: FreshPorts -- devel/libluksde: Library and tools to access LUKS Disk Encryption encrypted volumes
-
Zyxer
Thank you so much!
-
Zyxer
That's just a header file... ? Aw well, a pointer
-
nimaje
the pkg-plist says it should contain bin/luksdemount (and other stuff)
-
Zyxer
Oh, thanks. Guess I was thinking in terms of linuxism
-
Zyxer
I tried to install luksdemount but to no avail
-
Zyxer
lmao
-
nimaje
the pkgname is libluksde and you can give pkg the portname devel/libluksde too, you can't install an individual file from a package
-
Zyxer
Hi, again, how can I tail console? sudo tail -f /dev/console fails me. I get no output
-
Zyxer
I am trying to run xconsole in a terminal, and not in a separate window. The man page for xconsole mentioned -daemon, but it just detaches from the terminal so I can use it for other things
-
unixwitch
Zyxer: i usually enable console.log in /etc/sysctl.conf, then you can just tail /var/log/console.log (and it also saves the log, which is useful if you need to check earlier events)
-
Zyxer
So console_log_enable=YES?
-
unixwitch
no, edit /etc/sysctl.conf, uncomment the line starting "console.info ...", then touch /var/log/console.log; chmod 0660 /var/log/console.log; service syslogd reload (you have to pre-create the file because syslogd won't log to files that don't exist)
-
unixwitch
er, /etc/syslog.conf, not sysctl.conf
-
Zyxer
Oh, syslog not sysctl, yea I got very confused. Googled and they were all like "Just uncomment obvious line lmao"
-
unixwitch
yes sorry, i just made the same typo 3 times checking those instructions... apparently i'm asleep today
-
Zyxer
It is a day of rest afterall
-
Zyxer
Is a reboot needed or can I reload syslog.conf?
-
unixwitch
no reboot, just reload syslogd
-
Zyxer
It doesn't work. Perhaps I am missunderstanding something.
-
Zyxer
I want all things that output in xconsole to be read in terminal, with like tail -f or something
-
Zyxer
I reloaded it, and stil lempty file after unplugging and replugging USB
-
Zyxer
So I restart it, now it isn't empty it just says syslogd exiting on signal 15
-
Zyxer
But unplugging and replugging usb doesn't give any output there
-
Zyxer
Good news
-
Zyxer
tail -f /var/log/messages
-
unixwitch
Zyxer: ah, it only shows console output from userland programs, not the kernel (because that goes to /var/log/messages). if you want only kernel output, you could add a new entry to syslog.conf with "kern.info ..." and put it in /var/log/kern.log or something
-
Zyxer
/var/log/messages is good enough for me. Is that bad practice?
-
unixwitch
oh, no. i thought you wanted console output specifically, /var/log/messages includes a lot of other stuff as well
-
Zyxer
Oh, I see. So uncommenting console.info line and also make the kern.info output to same file will get me only console and all console output to that file?
-
Zyxer
Yes, that worked. Thanks so much!
-
Zyxer
Well, luksdemount is failing for me. Invalid master key size value out of bounds. and unable to read from volume handle, unable to open volume. Bah, guess I'll plugg in my loonix to transfer files.
-
Remilia
for recent kernel messages you can also just dmesg
-
Zyxer
Yea but I wanted to... Hmm... I guess dmesg|tail -f might accomplish what I want?
-
deacon426
Zyxer: yeah tailing dmesg is SUPER useful
-
Zyxer
I can tail it with -f flag?
-
deacon426
try it, find out
-
Zyxer
Yea true lmao
-
Zyxer
No it didn't work
-
deacon426
are you trying to pipe tail into dmesg?
-
deacon426
or other way around rather
-
Zyxer
dmesg|tail -f
-
deacon426
try $ tail -f dmesg
-
Zyxer
tail: dmesg: No such file or directory
-
Zyxer
tail takes input from stdout or a file afaik
-
deacon426
will watch accomplish the same thing?
-
deacon426
or maybe just $ tail dmesg
-
Zyxer
No, tail -f is superior because the watch workaround, the loop that accomplishes linux watch, spams every 2 seconds and then you wanna scroll up to check something then buffer is full of the watch workaround
-
deacon426
I would read the man page for tail
-
Zyxer
dmesg isn't a file, can tail command really take a command as argument?
-
Zyxer
I think the issue is dmesg command ends
-
deacon426
you can tail dmesg, I do it all the time
-
Zyxer
yes, tail it
-
unixwitch
tail -f doesn't work with dmesg because dmesg just prints the output once and exits
-
Zyxer
tail -f does something else
-
Zyxer
Yea, my suspicion and reason I didn't try to tail -f the dmesg, otherwise for one time thing latest dmesg lines I tail it without -f
-
deacon426
Zyxer: it's $ tail -f | dmesg
-
unixwitch
"tail -f | dmesg" doesn't make any sense since dmesg doesn't read any input
-
deacon426
ah
-
deacon426
read the file then, not the binary?
-
deacon426
tail -f /var/log/...
-
Remilia
I never said you should use tail with dmesg, just that you can check the message buffer using it
-
Kalten
better -F instead of -f as -f sticks to the file (inode) and -F sticks to the file name i.e. when /var/log/bla is renamed and zipped to /var/log/bla.0.gz and a new /var/log/bla created, -f would stop, but -F would continue to tail what is written to the new file (with different inode) named /var/log/bla (see “man 1 tail”)
-
deacon426
that's awesome thanks Kalten
-
Kalten
:-)
-
Kalten
deacon426 you might want to make use of /etc/syslog.conf (or even /etc/syslog.d/) e.g. a line “*.* /var/log/all.log” and than “service syslogd restart”
-
deacon426
I was literally just in /etc/syslog.d (for other reasons) but still oddly weird you just mentioned that. Will do, thanks for the clue
-
deacon426
I'm already there might as well :)
-
CrtxReavr
boy, the bandwidth I'm getting from the official download site is all over the map.
-
CrtxReavr
12 MB/s, 2MB/s
-
unixwitch
BIND is supposed to send notifies to secondaries for changes from dynamic zone updates (nsupdate), right? i'm sure this used to be working but somehow it's stopped... i wonder if it's because i enabled inline dnssec signing
-
unixwitch
ah okay, you aren't supposed to use inline-signing on dynamic zones, it works as expected without it
-
unixwitch
does anyone have a recommendation for hardware for a home/office router with a CPU fast enough to handle 1Gbps of PPPoE-encapsulated traffic (with a few ipfw rules)?
-
meena
unixwitch: something APU?
-
rwp
unixwitch, Uhm... There are many different machines out there but I happen to be using the small ram
zimaboard.com here. 2-3 watts. It's an inside-out system with storage on the outside.
-
VimDiesel
Title: ZimaBoard - World's First Hackable Single Board Server
-
rwp
But it has 2x GigE NICs making it good for my use as a router/firewall.
-
unixwitch
meena: from what i saw from other people's testing, the APUs' CPUs are too slow to do 1Gbps PPPoE
-
unixwitch
(PPPoE is awkward because it requires everything to be serialised to a single CPU core, so it can't benefit from SMP)
-
rwp
I am not using PPPoE so I can't say from experience how that would work.
-
mns
I have an unused Acer Chromebook c83-431 and was looking to get FreeBSD on it. I think it is an Intel Atom CPU. Which kernel would that be ?
-
unixwitch
rwp: that looks interesting, thanks. do you happen to have any real-world routing throughput numbers at all, even if not PPPoE? (no worries if not, i might email them and ask...)
-
rwp
unixwitch, I just ran www.speedtest.net here and got 930Mps down, 878Mbps up, ping 4ms through the router to a neighboring town that is also on the municipal fiber.
-
unixwitch
$120 for the basic one... perhaps i'll just buy one and test it, i'm sure i could find another use for it if it's too slow. interesting that the lowest spec actually has higher max frequency...
-
rwp
It's typical for a dual core to be more speed daemon than a quad core. Double the bus load then must reduce the speed.
-
rwp
Same thing with max ram in a lot of systems. More ram means more capacitance loading which means more wait states for a ram cycle.
-
jb1277976
I'm looking at
man.freebsd.org/cgi/man.cgi?fdisk and right here it says This command is obsolete. Users are advised to use gpart(8) instead. why is that ?
-
VimDiesel
Title: fdisk
-
rwp
jb1277976, Do you see any mention of GPT anywhere in the fdisk manual?
-
jb1277976
let me look i just landed on that snippet.
-
jb1277976
nope
-
unixwitch
jb1277976: because gpart (part of GEOM) is how partitions are normally managed on FreeBSD, so that's what you should use. fdisk is a relic from the old MBR / BSD disklabel days.
-
jb1277976
ok
-
unixwitch
(you can still create MBR partition tables with gpart if you really want to, so there's no reason to use fdisk at all... i'm mildly surprised it's still shipped)
-
rwp
And if fdisk only handles MBR and does not handle GPT then it can't handle the new preferred GPT partitioning.
-
jb1277976
Thanks. looking at the examples it makes sense
-
rwp
It does seem like a distractor to have fdisk still in base. People coming from linux would get sucked into it. But that's why they have a prominent warning in the man page and a pointer to gpart.
-
rwp
Love the bugs section quote that it does not handle partition types introduced since MS-DOS 6. Okay then! It's definitely a museum piece command.
-
unixwitch
rwp: did you notice the HISTORY section which mentions it was ported to 386BSD? :-)
-
unixwitch
quite possibly it hasn't even been updated since then, too
-
rwp
unixwitch, I did see that! I was surprised it didn't have any subsequent history of ports. But probably because it hasn't been!
-
unixwitch
it might be the only thing left in FreeBSD which actually came from 386BSD (and not 4.4BSD) so it's technically not wrong if you consider FreeBSD a fork of 386BSD, i suppose
-
unixwitch
this reminds me that i had a vague desire to port 2BSD to i386 at some point... although nowadays it would be more trendy to port it to ARM, i suppose
-
meena
unixwitch: quick, port it to armv6 before it dies too
-
unixwitch
i'm sure NetBSD will support ARM for the next 30 years for the 3 people still using it :-d
-
unixwitch
s/ARM/armv6
-
meena
true, true.
-
mtrkss
awhhh, buildworld failed
0x0.st/H324.png
-
jb1277976
can freebsd see inside of a gpt label that was created by openbsd ?
-
meena
jb1277976: it should be able to do that, yes
-
unixwitch
mtrkss: CURRENT? or a release?
-
jb1277976
meena there a doc showing all the fstypes i can use to mount it ?
-
unixwitch
jb1277976: lsvfs will show all supported filesystem types, if that's what you mean. if you want to mount an OpenBSD partition, it will be formatted with FFS (UFS) but i'm not sure if FreeBSD supports OpenBSD UFS off hand...
-
jb1277976
ok
-
unixwitch
i *strongly* suggest mounting it read-only if you try that, so it doesn't damage the filesystem
-
jb1277976
ok
-
mns
The BSDs do not support each other's FFS/UFS partition. I've been through this exercise several years ago. The common file system between the BSDs ? ext2/ext3 :-)
-
mtrkss
unixwitch: stable/14
-
mtrkss
sorry for late response
-
mns
s/do not support/do not have inter-operability/
-
mtrkss
did a git clone again, hope it works now
-
unixwitch
mtrkss: curious. i just built stable/14 yesterday (with the p2 commits) and it was fine
-
unixwitch
wait no. that was releng/14.0
-
mtrkss
here's the /etc/src-env.conf i'm using
0x0.st/H323.conf
-
mtrkss
right now it's building fine
-
mtrkss
oh god i'm getting a lot of warnings on openssl
-
meena
shouldn't SSE2 be default by now?
-
meena
it's been around for about… as long as i have… used computers.
-
unixwitch
is there a base utility that will generate crypt(3)-format password hashes?
-
unixwitch
or a ports utility would be acceptable too...
-
Remilia
unixwitch: dovecot
-
Remilia
it has `doveadm pw`
-
Remilia
(as an example)
-
Remilia
also there's Perl
-
meena
Remilia: feels a bit heavy to install all of dovecot for it's password utility
-
unixwitch
would rather not install dovecot (thanks though) but it turns out slappasswd can do it: slappasswd -c '$5$%s'
-
Remilia
true
-
unixwitch
i wonder if it's worth submitting a PR with such a utility... seems like it might be generally useful
-
Remilia
wait, can't openssl do this
-
Remilia
hmm apparently not
-
Zyxer
Ugh...
-
Zyxer
Copied around 700GB using rsync from a linux (skill issue, I couldn't use luks drive on FreeBSD)
-
Zyxer
Now
-
Zyxer
30GB RAM in use
-
Zyxer
ZFS caching is fun (the copy is already completed)
-
Remilia
did they remove -crypt from `openssl passwd`
-
unixwitch
Remilia: ah, `openssl passwd -6` does do what i wanted
-
meena
unixwitch: there's pwgen in ports
-
Remilia
unixwitch: but that's SHA512, not crypt
-
unixwitch
meena: i used pwgen all the time but i don't think it can generate crypted hashes?
-
meena
oh, right, missed that bit
-
unixwitch
Remilia: it generates SHA512 hashes in crypt(3) format: $6$LwohPYPLMYR9X/jY$cAiGEZwKwkwJCmC0M7dYwMND1bpXRWTIP8so1y1GTgslWvOOTBOE3.bdcIwteyRWEUTjYbet6yhHBG1o7p0d00
-
Remilia
I thought you wanted the crypt algorithm
-
unixwitch
well, i want something that crypt(3) will accept, and it understands $6$ hashes
-
Remilia
you never said what algorithm you wanted so
-
unixwitch
Zyxer: it's normal for your filesystem to use all available memory; it will free memory as needed. the alternative would be having memory sitting around not used by anything, which is a waste of money
-
unixwitch
Zyxer: all filesystems (more or less) work this way
-
meena
unixwitch: i think OpenBSD has something
-
Zyxer
I know ZFS does that
-
Zyxer
And nothing weird, I was just suprised that copying files and dirs would make it cache everything
-
Zyxer
At boot only 1337MB RAM is eaten for cache
-
Zyxer
Or, around 1GB, 1337 is total RAM
-
Zyxer
But I haven't heard of any other filesystem caching that much on unused RAM
-
unixwitch
all filesystems work like this. including UFS on FreeBSD, and ext4 on Linux. it has to cache everything read from disk because that's how the cache works
-
Zyxer
Oh, yea
-
meena
right, OpenBSD has encrypt(1).
-
Zyxer
but ZFS takes it further afaik and caches more than "necessary". Like no other setup using dwm eats over around 300mb RAM at boot
-
Zyxer
It starts caching before you use the files or anything
-
unixwitch
Zyxer: it really doesn't... if booting requires loading 300MB of files from disk (like /bin, /usr/bin) then you'll have 300MB cached after boot.
-
unixwitch
it won't just randomly cache things that aren't read from disk, because that would generate i/o for no reason
-
unixwitch
ZFS does tend to be a little more insistent on keeping things in the cache (since it has its own ARC cache instead of using the normal filesystem cache) but that just makes it more efficient
-
Zyxer
I know, it literally is a feature. "Unused RAM is wasted RAM" actually applies in ZFS cache
-
Zyxer
I'm not worried. I just never seen cached RAM not getting freed up when the files copied to the system using scp or rsync
-
Zyxer
My OpenBSD server has like, 50MB more due to cache after huge files copied to
-
rwp
Hmm... On _other_ systems I am used to using the Apache utils htpasswd command to manage those hashed passwords. I don't see it available on FreeBSD. Please say it isn't so!
-
unixwitch
so apparently `make installworld DESTDIR=/jail/whatever` doesn't produce a functional jail (due to missing files like master.passwd)... what else do i need to make it work?
-
Remilia
unixwitch: I think you can use distributeworld to generate distribution sets
-
Remilia
but not sure if they include that stuff
-
Remilia
distributeworld + packageworld would give you stuff like base.txz kernel.txz etc.
-
Zyxer
Ok so, I am sorry if this is a dumb question, but why doesn't du -a list all files in specified directory? Could the issue be that the folder is a symbolic link?
-
Remilia
du -aL
-
Remilia
to traverse symbolic links
-
Zyxer
Thanks
-
unixwitch
Remilia: i was hoping i wouldn't need to use bsdinstall since i already have a built world in /usr/obj...
-
Zyxer
I got 13239 memes locally. Although that includes directories since I didn't filter for only files.
-
V_PauAmma_V
rwp, "pkg provides" gives several possibilities other than just installing Apache.
-
rwp
V_PauAmma_V, Are you saying that htpasswd is included in the main Apache package?
-
Zyxer
Time to tag them all (already tagged maybe 20% or somethign)
-
rwp
I really expected it would be in a separate package of utilities. (Like on, ahem, other systems. Me glances shyly away.)
-
V_PauAmma_V
Technically, I'm not. But "pkg provides" definitely is. Along with a Python htpasswd implementation.
-
rwp
Zyxer, If you want to push _through_ a symlink then put a trailing slash on the end. For example "du foo/" with a trailing slash. "foo/" is the same as "foo/." and dot is the current directory.
-
rwp
V_PauAmma_V, It does seem to be bundled in the www/apache24 package.
cgit.freebsd.org/ports/tree/www/apache24/pkg-plist#n4
-
VimDiesel
Title: pkg-plist « apache24 « www - ports - FreeBSD ports tree
-
rwp
Is this a ramification of the problem that one can't make multiple binary port packages from one port source? Do I have that right? And so at the moment it's all together even if splitting them out would make sense?
-
Zyxer
rwp: Thanks
-
Zyxer
unixwitch: Well after boot and me check RAM, fresh boot, it is 1337MB
-
Zyxer
sometimes 1338MB
-
V_PauAmma_V
rwp, that's been possible for a while, using flavors. See eg, packages workrave and workrave-xfce, both from x11/workrave.
-
rwp
Then this would be a perfect example. Those are useful utilities to have without needing the entire server installed.
-
rwp
I should install that server package and verify. I am one of those people on the Nginx side of things and so avoid Apache all other things being equal.
-
nimaje
V_PauAmma_V: no, that isn't subpackage stuff there and flavours shouldn't be used to emulate subpackages
-
V_PauAmma_V
I don't understand the distinction you're trying to make.
-
Schamschula
rwp: Indeed. I've been building apache24, even though it's broken as a server (at least when using the php module), just to get a couple utilities, e.g. logresolve.
-
V_PauAmma_V
Or perhaps I don't understand what subpackages are.
-
rwp
The other utility I use is "ab" apache-benchmark which is good for stress testing http servers.
-
nimaje
workrave and workrave-xfce are two build of the same software with differnt options set (flavours); the wanted behaviour is to build the software once and split specific files (htpasswd) in its own package instead of creating only one package from that build (subpackages)
-
Schamschula
Well something like libnghttp2 and nghttp2. Both are built from the same source code, one is the library and the other are the utilities.
-
rwp
Are they built in one build or built in two builds? I think that is the question being pondered.
-
Schamschula
Two builds.
-
rwp
JFTR but ab and htpasswd are both in the apache24 package as expected.
-
rwp
Two builds. Which is more build work than if it were one build that then produced two packages. I think that is the point under discussion.
-
rwp
It's still on my learning path to learn how to build packages. I haven't ever done it and don't yet know the details.
-
rwp
Life and time are what keep everything from happening all at once.
-
Schamschula
I just had a look at the apache configure --help info. I don't see how you can not build the server binary. So you'll end up building it, just not packaging it.
-
V_PauAmma_V
Are subpackages already available? I don't remember seeing them mentioned in the Porter's Handbook. Did I miss it?
-
nimaje
yeah, seems like libnghttp2 / nghttp2 is a good candidate for subpackages once that lands (no idea were informations on that are, afaik there is support in poudriere for it and now it needs testing or something)
-
V_PauAmma_V
*nod* Thanks. I can see the point of wanting to use less build cluster resources.
-
rwp
It's also the huge packages which can benefit the most and the huge packages are going to be bigger build resource hogs.
-
Schamschula
The lack of subpackages for FreeBSD has puzzled me. I'm used to MacPorts which has had subports for a long time. I maintain the nghttpd2 over there
github.com/macports/macports-ports/…b52cd6b7ed26b2/www/nghttp2/Portfile
-
VimDiesel
Title: macports-ports/www/nghttp2/Portfile at 54f3a3b23e8d07573e6c8b1783b52cd6b7ed26b2 · macports/macports-ports · GitHub
-
Schamschula
Note: there are some dead subports there, as python support has been removed upstream.
-
nimaje
hm, that subport stuff seems more like flavours, as it changes configure args
-
Schamschula
Yes an no. The python subports are, but nghttp2 = libnghttpd2 and nghttp2-tools = nhttpd2 over here.
-
nimaje
and I don't find where anything says which file should be put in which package
-
V_PauAmma_V
nimaje, anyway, thanks for the explanation.