-
jaredj
HER: ummmm "clevis" i think it is, the linux thing
-
jaredj
fedoramagazine.org/automatically-decrypt-your-disk-using-tpm2 "A tool called clevis generates a new decryption secret for the LUKS encrypted disk, stores it in the TPM2 chip and configures the TPM2 to only return the secret if the PCR state matches the one at configuration time."
-
jaredj
Red Hat: Making Linux Into Windows Since 2008 (tm)
-
SponiX
jaredj: you heard about the new tech? Since Pottering (systemd guy) is now working for Microsoft. Linux is getting BSOD (blue screen of death) as a feature. Oh, and there was also a version of systemd that ate users home directory - another great Microsoft feature ported over ;)
-
jaredj
systemd really has some bright spots - managing services instead of just starting them is cool, and having services for a user is cool too (e.g. bluetooth, pulseplumbwireaudioserverer)
-
jaredj
and some of those features depend on others, to be sure. but i have no love for the destination it arrives at
-
mjp
Using TPM for FDE is a legit use case for managed Linux desktops
-
jaredj
sure. and when you have compliance checkboxes, you need to be able to check them with RHEL
-
SponiX
I like the service management of systemd for the most part also. But some of the other stuff like systemd-resolvd I just end up getting rid of. And I miss old school plain text logging
-
jaredj
i asked Michael Dexter once if he thought SMF might come to FreeBSD. but as i recall, he reckoned there was only enough energy for one init system, and to have it be CDDL-licensed and also not rippable-outable would probably not fly
-
SponiX
jaredj: that the one from Solaris?
-
jaredj
yes. the few times i've had personal contact with it, it's seemed overengineered, but then i saw a talk about it, possibly involving bryan cantrill, who i find very convincing
-
SponiX
jaredj: I would have rather Sun just Open Sourced all of Solaris and went bankrupt
-
jaredj
i mean, cddl is an open source license
-
jaredj
buut yeah getting my docs from oracle.com is not my cup of tea
-
mjp
I would not complain if we had just minor improvements to the existing init system in FreeBSD
-
mjp
If a service enabled in rc.conf dies, by default we should restart it if it dies?
-
nmz
maybe? maybe not?
-
nmz
time for systemd in freebsd
-
mjp
hah
-
jaredj
well, see, yeah, you gotta do at least one thing smarter than just blindly restarting it endlessly
-
mjp
would be a sad day for freebsd if that happened
-
nmz
void's xbps and runit seem to be good solutions
-
jaredj
both smf and systemd back off if it isn't working
-
nmz
the only nice thing I'll say about systemd is the logging is good
-
topcat001
An rsyslog target can be set up to log in plain text BTW.
-
topcat001
For example, the journal can be in RAM and the text logs on disk.
-
topcat001
I am quite impressed by the
github.com/emtiu/freebsd-outerbase project. Will try it soon.
-
Michelle
heh FreeBSD 14.1 ... very odd (to me) reporting of space of zfs storage 84T pool with multiple data sets provides a variety of 'sizes' based on what's in the pool and i think the order of creation... anyhow complete mismatch between df and the pool size.. is that expected behaviour or errant behaviour? example:
pastebin.com/eCB637yY
-
llua
expected
-
jmnbtslsQE
the accounting under USED includes the children
-
jmnbtslsQE
in the zfs list
-
rwp
That's perfectly normal disk usage reporting. ZFS is a tree of reference pointers. The zfs list REFER column most closely mimics the df Used column.
-
rwp
Michelle, Try running "zfs list -o space" which adds more columns specifically for space stuff and looking at the results there.
-
zwr
jaredj: last time I tried to read man pages from oracle's website the page was broken... I just pretend solaris doesn't exist and stick to illumos
-
al1r4d
nmz, lol
-
Michelle
to follow up as it appears (some) people misunderstood check the "size" column in the df... it's the same 84T pool.
-
Michelle
rwp: (pastebin appears to be down.. so can't post the update - but really didn't change what i was commenting on)
-
scoobybejesus
rwp: it booted just fine after installing UFS under MBR/BIOS. Doing the same install with ZFS, i get "Missing operating system" even having picked the disk in the boot menu. .. and when i go into a live system after failing to boot into the zfs install, there don't seem to be partitions on my disk - only /dev/ada0, but no /dev/ada0p0 for example
-
SKull
nmz: systemd is not all bad. but i'm not sure about the logging. journalctl spits out way too much by default. i'd still rather grep some files in /var/log
-
remiliascarlet
SKull: Isn't systemd among the main reasons why so many Linux users are switching (or at least considering to do so) to the BSD's?
-
remiliascarlet
SystemD stopped being an init system a very long time ago, it's an almost complete operating system at this point.
-
nimaje
well, the idea that you should have a service manager instead of running random shell scripts is correct, no idea how well systemd implements that or any of the other stuff systemd brings
-
rtprio
systemd is the wostr
-
remiliascarlet
nimaje: Honestly, I prefer the BSD style script approach the most. Because it's simple, easy to work with and understand, and non-bloat. But when it comes to service managers, I think runit does a way better job than systemd.
-
remiliascarlet
And even runit has its flaws.
-
rtprio
running processes in the foreground in tmux would be better than systemd
-
uskerine
Hi, I just installed FreeBSD in a Dell R720 on the first virtual disk. Is there any special thing to pay attention to to ensure the server boots up using that virtual disk? it does not boot up after installing. thanks
-
llua
there isn't enough info to give a useful answer to that.
-
uskerine
I know
-
uskerine
well I changed boot up from BIOS to UEFI and now it works, some hints on why would be great, is this related to having used GPT ?
-
rtprio
virtual disk?
-
llua
hardware raid array
-
uskerine
right, I am using a perc 710
-
llua
installing a efi bootloader instead of a mbr bootloader would explain that happening
-
rtprio
i think a perc 710 is what i'm on
-
uskerine
I have selected GPT, which means efi bootloader. Shall this be the standard practice in servers?
-
rtprio
shall amd64 be the standard practice in servers? Sure if it's relatively modern?
-
llua
gpt doesn't imply efi. i have gpt with mbr
-
rtprio
yes
-
uskerine
good to know, thanks llua
-
uskerine
is there any OS module for idrac (rptrio is running a Dell I guess), if so, is it worth it?
-
shbrngdo
I checked forums and a few places. Out of curiosity does anyone besides me install a system by building fro, ports? I like it becaue it makes it easier later on to fix stuff, add support options, etc and no version madness.
-
Dooshki
I used to do it in the past. Stopped when I went to college and didn't have time to babysit my computers
-
nimaje
when building yourself, I recommend using poudriere or synth, to not have build dependencies installed on your system and have reduce the time window with inconsistent state of dependencies
-
shbrngdo
thing is there is an option I'd like to have in make.conf, a "NO_WAYLAND" var that would default all of the libraries to build WITHOUT any wayland support. Not sure how popular that'd be but it WOULD bw nice to have. Maybe 20 or 30 ports affected
-
shbrngdo
make config-recursive sometimes gets to be "too much" and so I look in /var/db/ports for things with WAYLAND in them, then go back and turn it off with script
-
shbrngdo
anyway a faster method might be nice
-
nimaje
don't use make config* use <optionname>_{,UN}SET and OPTIONS_{,UN}SET in a make.conf
-
shbrngdo
Unfortunately I end up getting prompted with the dialog goxes anyway and all of the options differ between the several ports. I'm building the entyire system from the bottom up. 1000 ports
-
shbrngdo
but yeah after doing that I check the options
-
nimaje
use poudriere and configure stuff with the build dependent make.conf
-
shbrngdo
yeah dd not want to install all that just to set up a couple of systems. the idea is to avoid going there...
-
shbrngdo
thx anywayz
-
rwp
It would be nice if someone updated the topic to reference a different pastebin since bsd.to has been down for months now. It would help!
-
rwp
Michelle, I understood that the df was on the same pool as the 84T pool. (your previous
pastebin.com/eCB637yY)
-
rwp
zfs changes file system semantics somewhat from the traditional UFS system. It's just different. And things are mapped differently.
-
rwp
df Size column is basically zfs list AVAIL column
-
rwp
Which is not expected for df on a traditional device. A device (provider) previous was a fixed size and never changed. But zfs reports the size as a value which is always changing based upon the space available pool.
-
rwp
"zpool list" will report the actual total size of the pool.
-
rwp
"zfs list -o space zroot" will report the available and used space in the pool.
-
rwp
And then df information is mapped from those values. The df Used is basically zfs REFER. And the Size is AVAIL. It's just different.
-
al1r4d
is it safe to remove /var/db/* files?
-
shbrngdo
bad idea - installed ports and package info live there
-
rwp
etcupdate stores changes there too, used when upgrading for merge data
-
al1r4d
ok, how to clean that?
-
al1r4d
i want to remove some stuff for saving more storage
-
al1r4d
i'm on vps right now
-
shbrngdo
you should include this tree when coing backups. very important
-
shbrngdo
doing
-
al1r4d
i never do "ports"
-
al1r4d
only binary
-
shbrngdo
packages?
-
al1r4d
shbrngdo, i only use binary, never compile from source via ports
-
rwp
The main consumer of space there is /var/db/freebsd-update and all other things there are insignificant by comparison.
-
rwp
That's used by the freebsd-update tool. If you never plan on using it again then that's 3GB (on my system) that can be saved.
-
shbrngdo
wow - that is a LOT
-
» shbrngdo never uses FBSD update tool
-
rwp
I don't know all of the ramifications of removing that directory. I don't know if that is a cache for freebsd-update or if it is required for further upgrades.
-
bdrewery
al1r4d: removing /var/db/* would be like removing /usr/*, it's too broad. It only makes sense to ask about specific directories in there.
-
al1r4d
rwp, thank you for your explanation
-
al1r4d
bdrewery, i want to remove this -> 1.0G freebsd-update
-
shbrngdo
maybe the update tool needs to store cached data and downloads in /var/cache instead
-
rwp
The /var/db/freebsd-update/files/ directory is a pool of updated files which supports the rollback feature of freebsd-update.
-
topcat001
check the last paragraph in freebsd-update(8)
-
topcat001
I keep them for a little bit and then delete them
-
rwp
Excellent information topcat001 and therefore that seems like a reasonable space reduction action.
-
shbrngdo
maybe it's obvious what is safe if you df -h -d 1 /var/db/freebsd-update
-
topcat001
tl;dr only keep for rollback
-
rwp
shbrngdo, What does the -d option do for you? It's not a valid df option here.
-
shbrngdo
is there a command for that other than 'rm' ?
-
shbrngdo
'-d 1' limits the depth to 1 directory
-
shbrngdo
oh wait I meant du not df
-
rwp
What version are you running? Is that something in CURRENT? I am on RELEASE.
-
rwp
du, df, what's a single letter among friends? :-)
-
shbrngdo
du -h -d 1 /var/db/freebsd-update
-
shbrngdo
I have trouble typing nowadays. buzzy fingers
-
» shbrngdo building rust at the moment, build dep for mate. it needs a LOT of space on the drive and VM is 100G
-
shbrngdo
'out of space on device' in one case trashed the package db during a build. oops!
-
shbrngdo
since I am making packages and saving them all, re-install is easy
-
shbrngdo
actually found out how to increase zs after increasing VM drive's size. kinda cool. 'man growfs' describes the partiton change process and you need to set a flag on zpool to have it expand
-
antranigv
people in Eastern Europe: is GitHub down for you right now?
-
scoobybejesus
down for me in eastern US
-
antranigv
thanks scoobybejesus
-
scoobybejesus
in the middle of a build that calls out to github and it just failed due to URL returning 500
-
nimaje
their status page says everything is fine, but doesn't work for me too
githubstatus.com
-
scoobybejesus
fallback plan: do the *actual* work that i sat down to do
-
antranigv
everythingisfine.gif