[02:34] CarlFK: why do you do touch /var/log/lastlog in the isshd.sh ? [02:37] goodwill: um... I have no idea. I suspect I wrote this about 8 years ago. [02:37] o_O [02:38] CarlFK: is very nice :) [02:40] prolly this: http://www.novell.com/support/kb/doc.php?id=7014881 [02:40] hmmm [02:40] I'll comment it out for now and see what happens [02:46] im trying it now [02:58] CarlFK: sorry to bug ya ... I usually like to understand every line of code :) [03:04] no prob - i'm happy to have my stuff reviewed [03:27] well.. I am sshed in, and I see in /var/log/syslog: Nov 19 03:24:41 sshd[27700]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory [03:52] what the blip ... anna-install is literally spitting out random chars [04:04] how are you running it? I boot the net installer, alt-f2 to a # prompt, anna-install openssh-server-udeb [04:20] CarlFK: from early_command [04:20] CarlFK: and something is not working [04:21] CarlFK: cause I can do anna-install from early command itself [04:21] ah.. I don't think I ever go that working [04:21] but when I wget a script that has it [04:21] got [04:21] and then run it [04:21] its meh [04:24] hmmm maybe it like runs it inside as string [04:31] this is bizarre [04:58] CarlFK: so basically running anna-install inside a script at an early stage appears to fail [04:58] super odd [04:58] I saw something in syslog like "openssh-server queued for install" [05:00] Nov 19 03:17:56 anna-install: Queueing udeb openssh-client-udeb for later installation [05:03] except that it fails [05:04] when it breaks and I go into console and run anna-install there [05:04] it fails as well [05:05] anna-install when ran in the early_command directly, does not fail [05:05] weird. logs? [05:06] at this point I am just trying to isolate the problem ... logs are not helping [05:06] when I ran anna-install manually I literally get jibberish like ^^[[30 [05:08] huh, never saw that [05:12] hmmm [05:12] okie ... so you were onto something [05:12] anna-install is queing the install [05:13] so the rest of the script fails cause sshd is not installed [05:15] maybe this is a solution https://github.com/socrata/preseed-custom-partitioner/blob/master/early_script#L11 [05:16] so what that does is queue the install and then runs ints command in the post install script for whatever "download-installer" is [05:16] no idea what that is though yet [05:16] CarlFK: ^^^ [05:17] interesting [05:17] http://blog.loftninjas.org/2007/07/04/complex-lvm-on-an-alternative-install-of-ubuntu-debian-installer/ [05:17] so basically that ^^^ [05:18] that post is pretty nice [05:19] preseed_fetch ? [05:20] I think thats just used instead of wget [05:20] to fetch from same location as to where the preseed is at [05:21] so as an alternative I can override /var/lib/dpkg/info/console-setup-udeb.postinst as well [05:21] neat [05:22] so when that is installed it runs your script :) [05:22] instead of the installer [05:22] as a thought [05:22] of course that means I will be installing it [05:22] and have to mark a preseed for it [05:22] preseed options [05:23] http://d-i.alioth.debian.org/doc/internals/ch02.html [05:23] download-installer (anna) Retrieve and unpack additional components [05:23] that is it [05:23] okie [05:24] talk about monkeypatching :) [05:24] fascinating [05:26] CarlFK: thanks for keeping me sane thru this ;) [05:26] my pleazure [05:27] hehehe [05:27] CarlFK: I am at your disposal any time you want to bounce things off :) [05:28] groovy [05:30] im off for bed - see ya [05:30] ni ni === ara_ is now known as ara