IRC channel logs
2025-01-28.log
back to list of logs
<Gooberpatrol66>janneke: is it intended that it should not be possible to login to the childhurd vm? i am unable to login despite entering the correct password <damo22>Gooberpatrol66: i assume the password is provided in the build config? <Gooberpatrol66>damo22: i have an os definition for the childhurd in my config.scm <damo22>it should be one of those two strings <damo22>the other one is probably the salt <janneke>Gooberpatrol66: i never tried with a password, always using ssh keys <Gooberpatrol66>janneke: hmm, i also tried logging in with tigervnc and it didn't work <janneke>Gooberpatrol66: is password login enabled at all in the ssh config? <youpi>Gooberpatrol66: does the auth.log file perhaps say something? <youpi>hard-shutdown the vm and mount it <youpi>(after waiting 30s for the sync) <janneke>Gooberpatrol66: no, the chilhurd is run with --snapshot <Gooberpatrol66>if it's mutable then it's not stored in /gnu/store i guess, where is it stored? <janneke>it's in the store, that's why usinhg --snapshot is needed <Gooberpatrol66>janneke: so is it like overlayfs where there's a mutable layer on top? or does it store a whole new disk image when it shuts down? <janneke>Gooberpatrol66: it's ephemeral, it's gone when you quit qemu <janneke>you can always look at /proc/<pid>/cmdline with <pid> from herd status childhurd <janneke>you can copy the /gnu/store/...disk-image somewhere, make it writeable, and run the qemu command without --snapshot if you want persistent storage <Gooberpatrol66>ext2fs: part:1:device:hd0:warning: MOUNTED READ-ONLY: MUST USE 'fsysopts --writable' <janneke>Gooberpatrol66: the signalfd error is to be expected <janneke>did you make the image writable after copying it? <janneke>Gooberpatrol66: ah right, i'm sorry; you cannot easily start the childhurd image by hand because on startup it first waits for the secret service <janneke>if you want to start it by hand you should build a qemu image by hand <janneke>something like guix system image --image-type=hurd-qcow2 --image-size=5G gnu/system/examples/bare-hurd.tmpl <janneke>Gooberpatrol66: i just tried with a895cc4c5b and building bare-hurd.tmpl and following the instructions works for me, ie, gives a login prompt in the qemu gui <Gooberpatrol66>not sure the difference with the childhurd image causing the login issue <janneke>as i said, the childhurd image won't present a login prompt or allow login by ssh if started by hand <janneke>it works fine for me adding authorized-keys to the ssh config <Gooberpatrol66>ok it works with the key, maybe i wasn't specifying it or something