holmanb | sounds great | 04:50 |
---|---|---|
holmanb | See you around @dilfridge | 04:50 |
dilfridge | 21:09 | |
dilfridge | ok I'm stumped | 21:09 |
dilfridge | https://cloudinit.readthedocs.io/en/24.1/reference/examples.html | 21:09 |
dilfridge | how do I tell it to allow passwordless (console) login for an account? | 21:09 |
dilfridge | passwd: '' | 21:09 |
dilfridge | ^ doesnt work | 21:09 |
dilfridge | and about a million other details I have tried... :) | 21:09 |
minimal | dilfridge: what's the exactly user-data you're providing? | 21:16 |
minimal | also are you using 24.1 or a different version? (the behaviour changed in 24.3 (#5355 which I authored) | 21:18 |
dilfridge | I tried about a million different variants that didnt work | 21:25 |
dilfridge | the behaviour is a bit erratic right now, and I just dont understand why things work sometimes and sometimes not | 21:26 |
dilfridge | using 24.2 | 21:26 |
dilfridge | which is the latest version in gentoo so far | 21:26 |
dilfridge | one moment | 21:30 |
dilfridge | minimal: https://bpa.st/BMJQ <= the user-data | 21:41 |
dilfridge | the hashed password is just "gentoo" | 21:41 |
dilfridge | I want to change this such that the user gentoo can log in without password | 21:41 |
* dilfridge is adding 24.4 to gentoo now | 21:43 | |
dilfridge | wait | 21:56 |
dilfridge | I think the error might be between the pc and the keyboard here | 21:56 |
dilfridge | err keyboard and chair, sorry | 21:56 |
dilfridge | so, please ignore all my rambling :| turns out the image I built did not include the backported patch for systemd support, which means I probably got all sorts of random stuff | 22:00 |
dilfridge | ... | 22:01 |
* dilfridge slinks off into the dark | 22:01 | |
minimal | dilfridge: if you look at that cloud-init MR I mentioned you'll see it changed/fixed c-i behaviour regarding locked passwords | 22:10 |
minimal | basically in versions prior to 24.3 "lock_passwd: true" (for not specified at all) would ensure that passwords are locked, however "locked_passwd: false" would NEVER unlock passwords (it uncorrectly assumed that "useradd" did not lock passwords by default) | 22:12 |
dilfridge | :( thanks | 22:19 |
dilfridge | I pushed 24.4 into gentoo, in an hour or so I'll have it | 22:20 |
dilfridge | huh | 23:09 |
dilfridge | is it deliberate that 24.4 has no cloud-init.service ? | 23:09 |
dilfridge | and how is cloud-init supposed to be started by systemd now? (reading #5489) | 23:13 |
dilfridge | "systemctl enable cloud-init.service" does nto work anymore, obviously | 23:15 |
dilfridge | ... and upon update, the service does not start anymore because of a broken link in /etc/systemd | 23:34 |
dilfridge | I guess the replacement is cloud-init-main ? | 23:35 |
dilfridge | no, that's not really doing anything visible (no logs generated, "not started") | 23:45 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!