-
meena
jauntyd: I'm not seeing that as explicit dependency
-
meena
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
meena
-
VimDiesel
Title: FreeBSD Porter's Handbook | FreeBSD Documentation Portal
-
jauntyd
ty meena
-
jauntyd
i never thought to look there lol
-
CrtxReavr
jauntyd, add this to your make.conf?: DEFAULT_VERSIONS += python=3.10 python3=3.10
-
jauntyd
CrtxReavr, ah yes. I am still rather new to customzing ports. Thanks@
-
poisone
@here please check pl's guys
-
meena
poisone: no one is @here.
-
thumbs
poisone: what are you trying to do?
-
debdrup
Seeing discord syntax on irc is.. disconcerting.
-
V_PauAmma_V
Is it Discord though? It could be Twitter or markdown, for all I know. :-)
-
AmyMalik
debdrup, Discord is disconcerting.
-
AmyMalik
V_PauAmma_V, "@here" is a syntax for issuing a broadcast ping.
-
AmyMalik
Its use is considered very rude, not quite as rude as saying everyone's nickname individually as some irc spambots do, but still pretty rude
-
debdrup
The only thing it's got going for it is that it, along with @everyone, can be suppressed.
-
AmyMalik
yeah.
-
» V_PauAmma_V nods thanks at AmyMalik.
-
CrtxReavr
jauntyd, I think what you were seeing there is the default Python version was 3.9, so unless you change the default. . .
-
msiism
So, I've been looking into benefits of ZFS on a desktop computer.
-
msiism
Now, is it correct that using ZFS would be like using LVM on Linux because ZFS comes with its own volume manager?
-
msiism
And does this then make partition resizing easier?
-
zykotick9
msiism: regarding resizing zfs... proceed with caution. zfs does a lot of things well - in a straight forward manner, but I'm not sure resizing is one of those. ymmv
-
msiism
Okay, I mean, I'm not planning on resizing things willy-nilly.
-
msiism
But I once had to resize a boot partition in Linux without LVM. That was kind of a pain, but it worked in the end.
-
msiism
Now, I wanted to make sure the partition layout I chose is somewhat sane. I'd do it like this:
-
msiism
freebsd-boot (512K), / (16G), swap (2xRAM), /usr/home (rest of the disk)
-
msiism
I have a 300G drive, I think.
-
msiism
The reason I'd do it like this is that my main concern is to separate system stuff from user data.
-
devnull
Hi folks, Why doesn't FreeBSD adopt Signify instead of GPG, to verify download images, like OpenBSD?
-
rtprio
msiism: 2x ram is probably overkill; / including /usr seems a little small
-
rtprio
msiism: yes, zfs is a volume manager; you can set quotas, but there's not 'resizing' per se
-
rtprio
devnull: because no one has taking the time to implement it?
-
msiism
rtprio: I was only gonna make swap that big because the Handbook says: "As a rule of thumb, the swap partition should be about double the size of physical memory (RAM)."
-
msiism
The rule of thumb I know, is that it should be the same size.
-
rtprio
depending on how much ram you have, it's quite often overkill
-
msiism
I have 2G
-
rtprio
2g would be fine for swap
-
» msiism makes a note
-
rtprio
are you going to try zfs?
-
msiism
Yes.
-
msiism
About / being a bit small: On my current Linux setup, there's /boot (200M), swap, / (14G) and /home (all else).
-
msiism
And that wokrs fairly well. Though 1 or 2 GB more on / would come in handy at times.
-
rtprio
if you're using zfs, it's fine and won't be too small. they'll grow to accomidate
-
msiism
Oh, I didn't know that.
-
rtprio
if not using zfs / would contain /usr and /usr is where many files are (my /usr is 72gb)
-
rtprio
just do the auto partition for zfs and start with that
-
msiism
Heavens…
-
msiism
Are you building a lot of stuff from yource?
-
msiism
s/yource/source/
-
msiism
I mean, I'm planning on using mainly pre-built packages.
-
msiism
But yeah, I'll look at what the installer suggests.
-
» poisone makes a piece
-
rtprio
16gb of that is /usr/ports, building packages; a lot could be cleaned out i suspect
-
msiism
I see.
-
rwp
I have 5.1GB of installed binary packages on my FreeBSD 13.1R desktop.
-
rwp
I have not purged the pkg download cache in a year and have 9.3GB of pkg binary files that I can flush at any time.
-
rwp
My total "/" root combined space with base plus the above is 18GB. But 18 - 9.3 = 8.7GB of root used space for just the full desktop system.
-
msiism
Good to know.
-
rwp
Oh, I also have almost 2GB of base update files cached too. So flushing that would free up another 2GB.
-
rwp
Which would bring my base system down to around 7GB of space needed for a full desktop system.
-
rwp
And of course on a server there would be no need for Firefox, Chromium, LibreOffice, TeX, all the fonts, and such so a server base image would be much smaller.
-
rwp
Then to increase the size: Highly recommended is to install zfstools and then enable zfs-auto-snapshot to keep and rotate automated snapshots. FTW! But that will use space for the snapshots on an active system.
-
rwp
msiism, I come from a heavy use LVM background where we always had many partitions.
-
rwp
That gave many advantages but as a disadvantage if the size did not fit then it was a pain to resize things.
-
rwp
The wonderful thing about zfs is that you can have all of the benefits of many partitions, called "datasets" in zfs, and but not be stuck with a bad initial sizing.
-
rwp
Partition sizes in LVM map over to dataset space quotas in zfs.
-
msiism
I see.
-
rwp
I recommend ignoring quotas until you find a use case that needs them. They can be added or adjusted on the fly at any time though.
-
msiism
I've now used the auto setup for ZFS, more or less accidentally.
-
msiism
Seem like, if you want encryption and a custom layout with ZFS, you gotta use the shell.
-
rwp
Excellent. (hands steepling...)
-
rwp
And so now when you use "zfs list" you see what looks like a long list and are thinking it is too. But it isn't!
-
rwp
Just use the system and you won't find those getting in the way. And at various points of use you will find that those are advantages to have.
-
rtprio
i think i installed freebsd a half dozen times before i got the feel of it / knew the layout i liked / got comfortable with the installer
-
rwp
Me too.
-
rtprio
fortunatly, only about half of those were with floppy disks
-
rwp
Hey I am still doing re-spins and trying various things and learning new cool stuff!
-
» rwp laughs so hard I snort!
-
rwp
8-inch? (me laughs)
-
rtprio
yeah, but now i can do that in a vm, not the frankenstein hand-me down full tower without a cover freebsd box
-
nacelle
rwp: freebsd is in the 1.44mb 3.5" era for certain
-
rtprio
no, 3.5
-
msiism
Should I configure SLAAC if I have choosen to configure IPv6?
-
rtprio
msiism: do you have a device offering a ipv6 router?
-
msiism
Oh, seems I should.
-
msiism
Yes.
-
rtprio
then yes
-
rwp
rtprio, I was enjoying teasing. I am a relative newcomer to FreeBSD.
-
rwp
I am also still learning to deal with IPv6 but have learned that though SLAAC seems like the way things should be done that DHCPv6 is often what a network is actually using. It seems 20 years is not long enough for it to actually have matured.
-
rtprio
yes slaac is the way to go, but yeah, i don't know why dhcpv6 is a thing
-
meena
still don't get it
-
rwp
Time and learning curve is what keeps everything from happening all at once.
-
meka
slaac is stateless, dhcpv6 is stateful. In short, slaac is every client chooses its own address, in dhcpv6 server leases the addresses. One advantage of dhcpv6 is that it can register hosts in dns
-
rwp
meka, That is a very nice explanation. It gave me something to learn today.
-
rwp
It explains why Amazon uses DHCPv6. So they can have control of the addresses.
-
rwp
msiism, Most of the time it isn't necessary to know *EVERYTHING* about an OS before making good productive use of the OS.
-
rwp
An operating system a very large thing. Even after quite a few years I am still learning new things routinely.
-
rwp
BBIAB
-
msiism
rwp: Sure, I don't know all too much about Linux either.
-
msiism
I'm wondering, though, which harding options I should select for a desktop/laptop scenario.
-
msiism
I currently got hide_jail, random_pid, clear_tmp, disable_sendmail, secure_console.
-
rtprio
if it's your first install, i wouldn't worry about any of them
-
devnull
msiism it depends.
-
msiism
I certainly want clear_tmp.
-
meena
if you're not sharing it with anyone, i wouldn't worry either
-
meena
except clear_tmp. how is that not default, or a security thing?
-
rtprio
it's a security option
-
msiism
Does ASLR slow things down considerably?
-
meena
not that I've found
-
msiism
Okay.
-
msiism
Okay, using most of the options then.
-
msiism
So, are there any groups I should add myself to right away?
-
rtprio
wheel ? unless you plan on using sudo
-
meena
doesn't sudo default to wheel?
-
rtprio
games ? video?
-
rtprio
the freebsd package iirc doesn't have defaults
-
msiism
Yeah, the default is "[]".
-
msiism
I'll go with wheel for now.
-
parv
Also "operator". Justfication, I do not remember
-
msiism
Okay, I'll have to do that later then.
-
msiism
I just read that using sudo is recommended over adding to wheel. Is there "doas" in FreeBSD?
-
parv
Check ThePorts
-
parv
"pkg search doas"
-
msiism
Okay, I will.
-
msiism
Okay, FreeBSD boots successfully!
-
rtprio
of course it does
-
msiism
There are probably ways to screw an installation and prevent that, I guess.
-
rwp
I always choose clear_tmp, disable_sendmail (I install postfix), the others I ignore but note they could be useful in a secure server setup.
-
rwp
I always add myself to wheel as that is required to use su and sudo. Otherwise can only log in as root on the vt console.
-
msiism
I thought using sudo doesn't require being in wheel.
-
rwp
Maybe I should visit that problem again. I couldn't get sudo to work for me unless I was in the wheel group.
-
lisu
o/
-
lisu
o>
-
lisu
o/
-
meena
rwp: you can add any group or user to sudo. the default, on FreeBSD, is wheel
-
rwp
meena, I'll visit the wheel issue again and understand it. But initially at least I could not use sudo or su without being in the wheel group. So now I always add myself to it on install and of course everything works that way.
-
Babaj
rwp: > "I always add myself to wheel as that is required to use su and sudo" This is not quite true. You can specify specific user names in the sudo configuration file.
-
meena
that's what she (meena) said
-
thumbs
bum dish?
-
meena
a toilet seat
-
thumbs
sorry, I was trying to make the sound for the drums at the end of a joke
-
meena
lol
-
meena
🥁 🔔
-
meena
(almost)
-
Fudge
hey again guys, still battling with X and slim, log says /dev/dri/card0 doesnt exist.
-
meena
Fudge: what drivers do you have loaded / installed? for what hardware?
-
Fudge
intel for integrated intel
-
Fudge
for some reason having trouble using pastebin on my network not sure what's going on there
-
Fudge
happy just to use vesa tbh
-
nekobit
what's a good practice for if i want to compile a port but make changes to it?
-
nekobit
i want to compile GNU Emacs without GTK
-
nekobit
is it "make configure"?
-
meena
nekobit: modify your make.conf to say that you want to say that
-
meena
but, isn't there already a version without gtk? or was that nox?
-
nekobit
ah, looks like `make configure' was the easiest solution
-
nekobit
meena: should've elaborated, i really wanted a different toolkit
-
nekobit
for some reason gtk port is buggy
-
nekobit
might be a freebsd bug?
-
nekobit
it freezes when i switch windows (under Enlightenment)
-
meena
nah, it's buggy on the Ubuntu i use too
-
nekobit
as in, that issue occurs when you switch windows and go back?
-
meena
I couldn't even get it started lol
-
meena
I had to use lucid for years
-
rtprio
nekobit: pkg install emacs-nox
-
nekobit
read above, im using motif
-
nekobit
er, i didnt state that, but i really just didn't want to use the GTK version
-
nekobit
more on me, i just read the docs
-
rtprio
yes, make configure; but i seem to no recall no gtk is an option
-
rtprio
oh, there it is
-
nekobit
btw, i haven't poked at my make.conf, where would i put a "threaded" option
-
nekobit
er, how would i compile with multiple threads
-
nekobit
can i literally just do `sudo make -j4', i would imagine that could break things
-
nekobit
or do i put something in make.conf
-
rtprio
make -j4 might work; some ports break with it
-
rtprio
it is not something i'd put in make.conf for that reason
-
daemon
no real point using -j1+(anything) just pkg install what you want to get it going and do the port build in the background
-
rtprio
that doesn't make any sense
-
rtprio
if you pkg install you don't need to do anything 'in the background'
-
daemon
depends if you want the custom options or potentially newer ports version of a port
-
daemon
but in the mean time you can use the pkg version without using multiple cpu cores, which will always work -j1 in the background
-
daemon
so you can have your system up if not to your spec in no time
-
rtprio
ok, whatever man. he said he wanted to set options in the port, so not sure why you're talking about packages