ravanelli has quit [Remote host closed the connection]
mei has quit [Ping timeout: 248 seconds]
mei has joined #fedora-coreos
jlebon has quit [Quit: leaving]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 252 seconds]
baude has quit [Quit: Leaving]
paragan has joined #fedora-coreos
jbrooks has quit [Ping timeout: 252 seconds]
jbrooks has joined #fedora-coreos
bgilbert has quit [Ping timeout: 268 seconds]
jcajka has joined #fedora-coreos
saschagrunert has joined #fedora-coreos
Turnikov has joined #fedora-coreos
<decfi[m]>
Imagine a failing CoreOS update that leaves the system unbootable and your disk is encrypted with clevis. How do you decrypt your disk if you don't know the luks key? i found documentation about disk encryption but i wonder why it says nothing about encrpytion key backup
<decfi[m]>
s/encrpytion/encryption/
apiaseck has quit [Ping timeout: 252 seconds]
apiaseck has joined #fedora-coreos
jpn has joined #fedora-coreos
Betal has quit [Quit: WeeChat 3.8]
<darknao>
for standard systems, I would usually set up a backup key, but I see CoreOS as a disposable system, if a node fails for whatever reasons, I can just redeploy it again in minutes
hotbox has quit [Ping timeout: 256 seconds]
saschagrunert has quit [Remote host closed the connection]
saschagrunert has joined #fedora-coreos
<travier[m]>
decfi: We don't have a full story for this right now. You might want to enroll a backup LUKS key for breaking glass access
saschagrunert has quit [Remote host closed the connection]
<guesswhat[m]>
Anyone tried to install Podman 4.4.0 ? Will https://pastebin.com/raw/emEXchHc work? I am not sure if other packages are needed, like aardvark, extras, etc. Thanks
<baude>
bgilbert, i gotta step away for about an hour ... i'm hoping afterwards i can pick your brain on a question. making great progress otherwise and someone else also volunteered to contribute code as well
<bgilbert>
+1
Betal has joined #fedora-coreos
daMaestro has quit [Quit: Leaving]
jpn has quit [Ping timeout: 260 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 252 seconds]
fifofonix has quit [Read error: Connection reset by peer]
<baude>
ok bgilbert im at the point of looking at the c code and so forth
daMaestro has joined #fedora-coreos
<baude>
before doing so, it looks to me like /dev/vmbus/hv_kvp is the kernel device in question
<baude>
i think more or less, we only need to implement something that reads
<baude>
so i was curios firstly, is there a linux utility i should be able to use to read from that device? should dd be able to do that?
<bgilbert>
for testing, you mean?
<baude>
ya
<baude>
i kind of what to *make sure* things are working as expected (if possible) before developing any code
<baude>
and ofc, i am asking bc dd didn't work :)
<bgilbert>
did you give dd a bs= argument?
<bgilbert>
dd should work, but these kernel interfaces often expect reads to be a specific size
<baude>
nope, you think bs and count might be applicable
<bgilbert>
note that the C program does read(kvp_fd, hv_msg, sizeof(struct hv_kvp_msg))
<bgilbert>
but the other issue is
<bgilbert>
the first thing it does after opening the device node is to write a registration message to it
<bgilbert>
and dd can't do the write + read pattern afaik
<bgilbert>
one option for writing a quick test is to use Python and struct.pack()/struct.unpack()
<baude>
do you know anything about that kernel registration message ?>
<baude>
i saw that and didn't know if it was formality or required
<baude>
again, assume i know very little about this ... because i know very little about it
<bgilbert>
skimming the kernel code, it's a version handshake
<bgilbert>
it's possible that it's not needed, but the kernel code will likely assume that it was done
<baude>
agree
<bgilbert>
so I'd be inclined to mimic what's there
jpn has joined #fedora-coreos
<baude>
agree
<bgilbert>
(and ugh, it's assigning the received version to a static variable, so there are assumptions that only one process is using the device node)
<baude>
yeah they take a lock
<baude>
bgilbert, i guess what i am getting at, at least initially is, is reading from /dev/blahblah likely to the same as reading from a file, except maybe controlled by poll, etc?
<bgilbert>
the key difference is you have to use exactly the read/write sizes expected by the kernel
nalind has quit [Quit: bye for now]
<bgilbert>
there's no buffering layer in between; it has to be exactly one struct of the right size
jpn has quit [Ping timeout: 260 seconds]
zodbot has quit [Remote host closed the connection]