-
» skered goes to sleep dreaming of curl and xorg updates.
-
crb
is there any way to suspend to disk a bhyve guest so the host can be restarted?
-
rtprio
bhyvectl --suspend
-
crb
rtprio: thank you!
-
rtprio
i think you need a kernel rebuild for it to work. also i haven't used it
-
c7svqhi8
assuming a bhyve exploit jailbreaking PS5, is it possible then to run KDE atop Sony's gfx stack?
-
c7svqhi8
still, is there a pre-built kernel for PS4 running vanilla FreeBSD?
-
_xor
Well that was fun.
-
meena
i thought PS5 runs Linux
-
maccampus
How is Mac Sillicon support ?
-
debdrup
meena: it runs freebsd 11
-
last1
is there a mirror somewhere with older freebsd 11 packages ?
-
last1
I need the latest available pkg for 11.4
-
last1
(for cmake)
-
last1
I've tried here
ftp-archive.freebsd.org/pub/FreeBSD…ive/old-releases/amd64/11.4-RELEASE but there's nothing, although other versions like 9.1 do have the complete packages list
-
VimDiesel
Title: Index of /pub/FreeBSD-Archive/old-releases/amd64/11.4-RELEASE/
-
last1
-
VimDiesel
Title: Index of /FreeBSD:11:amd64/20.1/latest/All
-
rtprio
dare i ask why you want old packages?
-
last1
there's never a good reason
-
last1
but when there is, you better have those packages :)
-
mason
last1: Worst case, can you just make packages from ports?
-
debdrup
if you look at
pkg.freebsd.org/FreeBSD:13:amd64 you can find different branches of the ports tree that got made into different package releases
-
VimDiesel
Title: Index of /FreeBSD:13:amd64/
-
debdrup
the release_N ones are a copy of the set of complete packages available for each minor version of a major version, and don't ever change from the point they're taken
-
doug
this freebsd-update.conf i've got with has servername set to aws.update.freebsd.org
-
doug
that doesn't seem to exist
-
debdrup
there's no realistic way of keeping all old versions of old packages, because the current package mirrors already take up more than 18TB (if memory serves)
-
doug
there a good option (for doing this from aws)?
-
debdrup
doug: that must be specific to the ec2 generation, unless you set it
-
doug
it came with the 13.1 AMI builder box (ami-0c2fe35b987a7882c)
-
debdrup
-
VimDiesel
Title: freebsd-update.conf « freebsd-update « usr.sbin - src - FreeBSD source tree
-
debdrup
i'd suggest reaching out to colin percival on twitter, he's responsible for the amazon stuff
-
doug
might wait for the 13.2 builder
-
debdrup
it does appear to have a cname
-
debdrup
err
-
debdrup
why did i think cname and type it in as the query type to drill?
-
debdrup
of course it has a cname
-
last1
debdrup: I agree, this was an oddball request, however, 18Tb is also quite small these days
-
last1
They make single drives bigger than that
-
debdrup
last1: it's not a question of buying a single drive for a single machine
-
last1
I know
-
last1
although, one could make an exercise in doing just that. Some dood made a calculation in running all of Twitter on a single server
-
last1
-
VimDiesel
Title: Production Twitter on One Machine? 100Gbps NICs and NVMe are fast - Tristan Hume
-
debdrup
tldr; it's not possible
-
debdrup
the article treats cputime as both free and infinite, which last i checked it isn't.
-
debdrup
also, it's using a man who has absolutely no idea what he's doing, as a source.
-
last1
you mean Tristan ?
-
debdrup
no, i mean elon.
-
last1
ah, that's a given, Elon's an idiot lol
-
ox1eef_
A lucky idiot, I guess. Richest man in the world.
-
last1
ability to make money isn't unfortunately related to proper intelligence
-
soobinrho
:')
-
ox1eef_
Then we're screwed because money is what enables stuff getting done xD
-
clemens3
the guy is promoted without end.. everyday another portrait of him in the media, the guy spends a lot of time on his own marketing..
-
clemens3
so someone is supporting him, e.g. with tax benefits for his car company and other stuff
-
Letiute
Why I cannot find this package in `pkg search/install`?
man.freebsd.org/cgi/man.cgi?query=wacom&apropos=0
-
VimDiesel
Title: wacom
-
mason
-
VimDiesel
Title: View paste EHSDY
-
mason
one of those maybe?
-
Letiute
mason libwacom-1.5 != wacom
-
debdrup
-
VimDiesel
Title: FreshPorts -- x11-drivers/xf86-input-wacom: X.Org legacy Wacom tablet driver
-
debdrup
the hints are in the see-also subsection, and it being in section 4x of the manual pages.
-
acommonman
Hi. Is it a bad idea to use "latest" with -RELEASE ?
-
acommonman
I don't care much about stability, I just want the latest packages
-
V_PauAmma_V
No. I do that.
-
debdrup
It's not really a question of stability.
-
debdrup
14-CURRENT uses latest as the default packages, it's more that for -RELEASE it was judged that people would benefit more from being on the quarterly branch because there's a smaller chance of something being broken since buildfixes and securityfixes are the two exceptions to not MFHing on quarterly.
-
acommonman
debdrup, I would be using 14-CURRENT actually. but from what i heard, there is no easy binary way to update -CURRENT like freebsd-update
-
acommonman
Otherwise I would even use the bleeding edge freebsd system
-
parv
There are snapshots, FWIW
-
debdrup
parv: that's not really the same as binary upgrades through freebsd-update, though.
-
parv
... but then are not the same
-
parv
debdrup, Yes
-
acommonman
I want an easy to update and working base system with freebsd-update. so I rather use the latest -RELEASE and bleeding edge ports / pkg, so -RELEASE + "latest" makes the most sense
-
acommonman
It seems pretty nice
-
debdrup
Most of the developers who run -CURRENT do so by taking full advantage of meta-mode, which makes it quicker to do successive builds, because it only builds what's changed since the last build (and it's more effective than ccache).
-
Letiute
debdrup it was useful but some how the pen was detected/working already but my point was to make sure the a) smoothness b) features / detection of pen buttons in xournalpp app was not like the one I used to have in linux. I mean the settings were not effective for both pen buttons, writing was nor smooth. something wrong. ref wacom one.
-
debdrup
Still, it does take a fair bit of time to build things.
-
Letiute
Can I do GELI encryption wihtout a key? just by passphrase?
-
debdrup
src/tools/build/beinstall.sh can also help, because it makes it so you can always go back to a working boot environment, if the one you're installing into doesn't boot properly.
-
mason
Letiute: yes
-
debdrup
It's a bad idea.
-
mason
debdrup: If it's a sufficiently complex passphrase, why not?
-
Letiute
If I loose the key, I loose the disk. I can't remember the key but I can remeber passphrase
-
» mason hearts keyslots.
-
debdrup
mason: a passphrase by its very nature can't be sufficiently complex to compete with the entropy of a key derivation file.
-
debdrup
GELI, on a modern CPU, goes through a few tens of thousands of iterations.
-
debdrup
(It's impossible to give the precise value, because the key derivation function will iterate depending on how fast teh CPU can derive keys)
-
Letiute
mason so I ` geli attach -k /root/da2.key /dev/da2` shoudl become ` geli attach /dev/da2`?
-
debdrup
It's the same reason why ssh keyfiles with passphrases are better than ssh passphrases.
-
Letiute
debdrup agreed but I can't afford to loose the key file
-
debdrup
Back up the key then.
-
Letiute
then I have to encrypt that backup too
-
Letiute
making it a neverending chain of bakcups
-
debdrup
There's such a thing as physical security, too.
-
Letiute
yes..
-
Letiute
so if I do want without key, so I ` geli attach -k /root/da2.key /dev/da2` shoudl become `geli attach /dev/da2`?
-
mason
Letiute: yes
-
Letiute
ok
-
mason
debdrup: Isn't the actual encryption key what matters, which is distinct from the user key, anyway?
-
mason
s/encryption/Master/
-
Letiute
can I make a drive look like haivng 2 partitions making GELI assume those are two different disks?
-
mason
Effectively giving us what you get with an SSH keyfile and passphrase to unlock it?
-
mason
I've not had enough coffee to trust myself just yet, today.
-
mason
Letiute: Yeah, you can encrypt partitions.
-
mason
Want to even.
-
Letiute
ok.
-
debdrup
mason: the master keys are part of the metadata, and need the keyfile which needs the passphrase in a normal setup.
-
debdrup
The keyfile is there to ensure sufficient entropy.
-
Letiute
mason I want the freebsd OS to mount/ or decrypt the .eli (GELI encrypted) partitions at boot time. What is the best way to do that? I think I have to hardcode the password somewhere in the OS?
-
debdrup
-
debdrup
-
VimDiesel
Title: media.ccc.de - COMPLETE Hard Disk Encryption with FreeBSD
-
mason
Letiute: Automatically? It's a bit tricky in FreeBSD. If you're physically present, the bootloader can unlock everything once you feed it a passphrase.
-
Letiute
mason I can do that. I can type passphrase but do I have to type for all the drives? or just once (if I keep it same for all drives ) ?
-
mason
Letiute: If they share a user key, it'll try that key for all available providers.
-
mason
So you just type it in once.
-
mason
-
VimDiesel
Title: GitHub - clinta/geliUnlocker: A simple rc.d script to unlock GELI disks in freebsd based on keys and passphrases accessed from other systems via ssh.
-
mason
I haven't tried either yet, just started reading about them. But it's not relevant if you're there to unlock in person, or via IPMI or similar.
-
ox1eef_
clemens3: I guess there's a feel-good feeling from all the attention. I can't see another reason for it. Other billionaires fade into obscurity, and what seems much more preferable. If I was a billionaire that's what I'd do.
-
Letiute
mason so there is no easy way to auto unlock all drives at boot? I wonder what people do? everytiem manuallyd o it?
-
Letiute
-
VimDiesel
Title: Setting up encrypted ZFS on FreeBSD using GELI
-
mason
Letiute: I did a brief guide that shows the steps as well:
wiki.freebsd.org/MasonLoringBliss/ZFSandGELIbyHAND
-
VimDiesel
Title: MasonLoringBliss/ZFSandGELIbyHAND - FreeBSD Wiki
-
mason
Letiute: That'll unlock everything at boot. man geli and look at the -b option
-
mason
Same passphrase for both in that example, and you'll unlock them both only entering the passphrase once.
-
Letiute
-
VimDiesel
Title: Setting up encrypted ZFS on FreeBSD using GELI
-
crb
is there a way to do a make installworld to a directory without being root? perhaps where the file owners and permissions are instead written to an mtree file?
-
mason
Letiute: They're doing a couple interesting things there. They're doing their stuff in terms of ZSH, also. I'd want to read it in depth before commenting on it.
-
Letiute
ok
-
llua
its crappy shell code, per usual
-
Letiute
llua which one?
-
llua
your link, it mangles the password when reading and dumping it to a file.
-
Letiute
I see.
-
Letiute
llua any better idea?
-
Letiute
How to send all snapshot data to an external server over ssh? ref
docs.freebsd.org/en/books/handbook/zfs
-
VimDiesel
Title: Chapter 21. The Z File System (ZFS) | FreeBSD Documentation Portal
-
Letiute
I mean the other machien is not 'zfs recevign'. Just want to send file. So zfs send pool/fs@snap | gzip > backupfile.gz but how to send it without storing it on local machine?
-
AmyMalik
i should write my own powerd with a crude bang-bang control logic
-
AmyMalik
Letiute, that is a contradiction in terms
-
AmyMalik
do you mean to send the send without it being logged in the zfs, but just stored as if it was like a tape
-
Letiute
AmyMalik well, I have another linxu box. I was asumign something like this `zfs send pool@<all snaps> | gzip the files and send to ssh via <ssh user@ip:/location/to/save/snaps>`
-
AmyMalik
not quite like that
-
Letiute
AmyMalik so how do I send snaps to a remove machien without saving that data on local machine?
-
Letiute
and where will the snap data will be saved on remote machine?
-
AmyMalik
the way I'd be likely to do that is by executing `zfs send -Rw pool@lastsnapshot| zstd -T0 -3 -cf | ssh user@remote:location::1 cat \> /media/zfstapes/hostname.pool.lastsnapshot.zfsend.zst` - but bear in mind that you would not have resume functionality and you'd do better to be using zfs recv on the other end instead
-
AmyMalik
to zfs send, -R means send a replication tape, -w means do so without decompressing the data off the disk (this is probably a bad idea, so don't actually pass that); to zstd, -T0 means choose the maximal thread count, -3 means compression level 3, -c means compress, -f meansforce it to stdout even though that is not okay
-
AmyMalik
the backslash is to do the redirection on the remote machine
-
AmyMalik
if the data on disk is already compressed mostly you can use the -w flag, and skip the zstd, step and finaggle the filename on the remote end to not include .zst
-
Letiute
I see.
-
AmyMalik
some of these applications parse single-letter options differently - -T0 might mean use max threads to zstd, but another program with a -T option might think -0 is another (illegal) option
-
Letiute
" would not have resume functionality and you'd do better to be using zfs recv on the other end instead" was intersting. Can you tell more on that
-
AmyMalik
and may not expect the argument to be directly concatenated on there
-
AmyMalik
`zfs recv` is capable of generating a resume token when a transfer stops unintentionally
-
Letiute
why not do a | gzip and rysync to remot host?
-
AmyMalik
because rsync is for files, and you are trying to store a stream
-
AmyMalik
also piping through gzip or zstd is redundant if your data is already compressed
-
Letiute
ok but gzip would be a file in this case
-
AmyMalik
????
-
AmyMalik
yeah, you will ot achieve what you want with that
-
AmyMalik
s/ot/not/
-
AmyMalik
you will only achieve misery ,frustration and heartache
-
Letiute
with gzip?
-
AmyMalik
gzip is also slower than zstd
-
AmyMalik
for a given level of compression
-
Letiute
ok, but why misery/frustration in it?
-
AmyMalik
rsync is *not* the tool for the job
-
AmyMalik
you are trying to store a stream into a file, and only do said storage remotely
-
Letiute
ok
-
AmyMalik
you don't want to create a local file
-
AmyMalik
SO DON'T CREATE A LOCAL FILE
-
Letiute
rsync is not the toolf or the job but piping data to a file is not good?
-
AmyMalik
rsync WORKS ON LOCAL FILES
-
AmyMalik
you're fired.
-
Letiute
I understand your point :)
-
Letiute
just wanted to dig more
-
Letiute
ok so to 'recive', the other system should be running freebsd or linux?
-
AmyMalik
any operating system runing a sufficiently new version of the ZFS bits
-
AmyMalik
freebsd, linux, any of it will do
-
Letiute
ok, and where would that 'recived' snap be stored in that system?
-
AmyMalik
in a dataset on that system's zfs pool
-
AmyMalik
possibly with the canmount options all overridden to "noauto"
-
AmyMalik
actually, probably thus, because otherwise you'd overrun the remote system's storage
-
Letiute
that remote system is a) linux b) a pooled drive on local system.. for a) it does not have zfs. so I make one?
-
AmyMalik
if you want to be edgy you could mount the remote server's filesystem over NFS and create a local file that's actually on the remote NFS share with your pipeline
-
AmyMalik
if you want to store the result of `zfs send` as a file, not datasets, you would need to give up the capability to have any kind of resumption functionality.
-
AmyMalik
this should be fine if the two machines are both on reliable power and on a fast local network
-
Letiute
they are
-
Letiute
its LAN;yes
-
AmyMalik
then the lack of resumption will only be a problem if your cat chews the ethernet cord or fibre line
-
AmyMalik
or your 10 year old steals the line for their computer
-
Letiute
cats are tamed here
-
» Letiute has no ats
-
Letiute
cats*
-
Letiute
AmyMalik ok :)
-
AmyMalik
I'm way too escalated for this convo
-
Letiute
ok so how to send data in a)?
-
Letiute
also, I wondered, if I have 5 snaps, (I know snap 5 is build on difference and on top of 4, 4 on top of 3, 3on 2, 2 on 1), so if I send 5th snap, I can't restore it without having 1,2,3,4 snaps as well?
-
Letiute
or theres a command to send all snaps?
-
» Letiute doing it for the first time
-
parv
See "-I" or "-i" option of "zfs-send(8)"
-
Letiute
ok
-
Letiute
ok read.
-
Letiute
I can send all snaps with -i
-
Letiute
but if I have 5 snaps, (I know snap 5 is build on difference and on top of 4, 4 on top of 3, 3on 2, 2 on 1), so if I send 5th snap, I can't restore it without having 1,2,3,4 snaps as well?
-
Letiute
parv AmyMalik ^
-
AmyMalik
I'm not going to be your eyes and ears into this thing
-
AmyMalik
You have ta learn to read long, sometimes dry tomes, like those your computer will produce when commanded: `man 8 zfs-send`
-
parv
Letiute, Right. In that case use "-R" option to send the whole thing, not just a snapshot
-
parv
... sorry, I meant not send a *incremental* snapshot
-
Letiute
parv so if I do not use -R, and send snapshot #5 only, then I can never restore anything because #5 on recievier's side won't have the prebuilding blocks (1,2,3,4) to make any use of #5? correct?
docs.freebsd.org/en/books/handbook/zfs/#zfs-send-incrementalfor this.
-
VimDiesel
Title: Chapter 21. The Z File System (ZFS) | FreeBSD Documentation Portal
-
parv
Letiute, Yes
-
Letiute
parv what if I delete #2 from my system. Then I send with -R. this time ALL will be send, but #3 will break/ be of no use if #2 is missing? If so, this means I cannot ever delete snaps? OR #3 will auto adjust?
-
parv
Letiute, If you send only the snapshot without -[RiI] option, then that would be a self contained dataset.
-
Letiute
"self contained dataset." --> means the #5 part only. --> means of no use independandly
-
parv
Letiute, Self contained as in you can restore the snapshot as the the dataset (without any other snapshots)
-
Letiute
well what data will a #5 snap only restore if it don't know what was in #1,2,3,4?
-
Letiute
#5 was made "on top of !,2,3,4"
-
Letiute
parv so if I do not use -R, and send snapshot #5 only, then I can never restore anything because #5 on recievier's side won't have the prebuilding blocks (1,2,3,4) to make any use of #5? correct?
docs.freebsd.org/en/books/handbook/zfs/#zfs-send-incrementalfor this.
-
VimDiesel
Title: Chapter 21. The Z File System (ZFS) | FreeBSD Documentation Portal
-
Letiute
parv what if I delete #2 from my system. Then I send with -R. this time ALL will be send, but #3 will break/ be of no use if #2 is missing? If so, this means I cannot ever delete snaps? OR #3 will auto adjust?
-
parv
Letiute, If you have a snapshots of "data/set@[1-5]", then send "data/set@5" to a file. Then that dataset can restore "data/set" when "@5" snapshot was created
-
Letiute
ok
-
Letiute
so it will have the complete usable data at tiem of #5?
-
parv
Yes, without @[1-4] snapshots
-
Letiute
so this means, if I create snap of #4, it will have 10GB (lets say), if I create snap at #5 (now 2 GB added. and snapshot will be of 12GB) totalling 22 GB ?
-
parv
Letiute, If a @2 snapshot is deleted, then yes @3 snapshot will adjust. Doing that on the receiving side (a ZFS dataste) that may cause issues; test
-
Letiute
ok you last comment was understood
-
Letiute
about adjusting
-
Letiute
parv what about this: if I create snap of #4, it will have 10GB (lets say), if I create snap at #5 (now 2 GB added. and snapshot will be of 12GB) totalling 22 GB ?
-
parv
Letiute, Please stop repeating in so short time periods
-
Letiute
ok :)
-
parv
Re: dataset size, 22 GB, etc, I do not undertand what you are asking. Could you rephrase?
-
Letiute
parv e.g I create 5 snapshots. I send #freebsd first. then send #5 another day. at point of 4, disk was 10g, at point of 5, disk was 12 g. did the reciever got 22g or 12g?
-
Letiute
parv e.g I create 5 snapshots. I send #4 first. then send #5 another day. at point of 4, disk was 10g, at point of 5, disk was 12 g. did the reciever got 22g or 12g?
-
parv
Letiute, Receiver would have 12 "g" additionally, the difference since @4 snapshot.
-
Letiute
so total reciver got is 22g? (10g at #4 adn 12g at @5)?
-
parv
Letiute, Sorry, receiver would have 2 "g" additionally
-
Letiute
total 12g?
-
parv
Yes
-
Letiute
if I delete $4 at recieve's end, #5 is unusable?
-
Letiute
I think in one liner (unless -i / -R) is used, a snaps data is send of its data + all old snaps/whatever is needed to to make it usable). So if I send #4, it WILL send 10g. and on some other day if I just send #5, it will send 12G again. totalling 22g. while the size on origin disk is 12G
-
parv
I have not much experience in that case; sometimes does cause me to recreate the dataset on the receiving side
-
Letiute
ok thank! appreciated