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