=== mpt [n=mpt@121-72-130-219.dsl.telstraclear.net] has joined #ubuntu-installer | ||
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer | ||
=== highvoltage [n=jaagaan@ubuntu/member/highvoltage] has joined #ubuntu-installer | ||
highvoltage | I don't know if this is off-topic, but is there a possibility that debian g-i will ever be available for ubuntu? | 08:08 |
---|---|---|
tepsipakki | g as in graphical? | 08:09 |
highvoltage | yes | 08:12 |
tepsipakki | well, I don't know to be honest | 08:14 |
=== mpt [n=mpt@121-72-130-219.dsl.telstraclear.net] has joined #ubuntu-installer | ||
cjwatson | highvoltage: eventually, maybe, but not in the short term | 10:58 |
cjwatson | highvoltage: I did some of the earlier infrastructural development for it, so I'm not utterly opposed, but I don't think it has met the sort of usability requirements I'd want, nor can it until some more infrastructure arrives | 10:59 |
cjwatson | specifically, ABI-breaking changes to libdebian-installer to make it possible to package cdebconf plugins properly, and then writing a bunch of said cdebconf plugins for specific questions that aren't presented well with the generic support | 11:00 |
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer | ||
=== allmanj [n=allmanj@66.249.86.140] has joined #ubuntu-installer | ||
allmanj | hey - i'm trying to preseed a user password on the dapper installer and want to encrypt it. I see theres a passwd/user-password-crypted option but i've tried using it and it doesn't seem to set the password correctly | 04:24 |
allmanj | i made the md5 hash by going: | 04:24 |
allmanj | echo -n insecurepassword |md5sum | 04:24 |
allmanj | i'm guessing this is wrong. help appreciated... | 04:24 |
tepsipakki | https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html | 04:29 |
tepsipakki | there are instructions for it | 04:30 |
tepsipakki | md5sun is not the correct way to do it :) | 04:30 |
allmanj | whoops! | 04:30 |
tepsipakki | *sum | 04:31 |
allmanj | yeah - i suspected as much. didn't spot that part of the documentation though | 04:31 |
highvoltage | cjwatson: thanks for your explanation. I'm reading up on POSIX right now, I'd like to get involved in the d-i part, since it may benefit Debian directly as well. I'll hang around in this channel and try to stay up to date :) | 05:21 |
highvoltage | hmmm. it seems that POSIX is a 'non-free' standard. I have to buy the standards papers from them? | 05:26 |
highvoltage | why would Debian choose to do something that's posix compliant as apposed to the singe unix specification? | 05:26 |
cjwatson | er, POSIX == SUSv3 | 05:27 |
cjwatson | nowadays | 05:27 |
=== highvoltage googles SUSv3 | ||
highvoltage | ah, I see | 05:27 |
cjwatson | I forget the exact pedantic definitions but nowadays that's what people mean; SUSv3 incorporates and supersedes POSIX, and is IEEE Std 1003.1 2001 (POSIX-1 was IEEE Std 1003.1-1996, etc.) | 05:29 |
cjwatson | see e.g. http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap01.html | 05:29 |
cjwatson | note that the installer is not an entirely POSIX-compliant system, of course | 05:29 |
cjwatson | it's just that sticking to POSIX is a reasonably good way to avoid the more egregious incompatibilities such as bashisms | 05:30 |
highvoltage | ok, thanks for explaining, I'll read that link you just posted now... | 05:54 |
highvoltage | geez, it's quite big documentation :) | 06:22 |
cjwatson | is there a particular reason POSIX is the first place you're looking? | 06:31 |
highvoltage | cjwatson: in the latest UWN, it said "You will need to know POSIX shell | 06:49 |
highvoltage | scripting and C to some level, and if you want to work on Ubiquity you'll | 06:49 |
highvoltage | need to know Python. " | 06:49 |
highvoltage | reading it now again I realise I probably just need to read the shell scripting part? | 06:50 |
cjwatson | I meant POSIX shell as opposed to bash | 06:50 |
cjwatson | "shell scripting, but please no bashisms" | 06:51 |
highvoltage | aaah, now I get it! :) | 06:52 |
highvoltage | as in plain /bin/sh | 06:52 |
cjwatson | yes | 06:54 |
highvoltage | I just compiled my first C program. I'll do some more tutorials over the next week and get my C skills to at least a beginner level, in the meantime I'll also read the debian internals documents. I think I already have a vague 'framework' in my head of how d-i works, I just need to dive into the details | 06:57 |
cr3 | who can I ask about signing a package repository, using apt-setup/local0/repository in a preseed file doesn't seem to work unless the repository is signed | 07:48 |
tepsipakki | cr3: true, you need to preseed local0/key as well | 07:54 |
cr3 | tepsipakki: but that needs to be set to a server with a key or something, right? | 07:56 |
tepsipakki | yes | 07:59 |
cr3 | tepsipakki: aha, I created a Release.gpg file and now I seem to be getting another error message. lets see if that can be fixed somehow.. | 07:59 |
tepsipakki | umm, you preseed the key which is used to generate Release.gpg | 08:00 |
tepsipakki | and it is an URL to the key | 08:00 |
tepsipakki | this is in the docs | 08:00 |
cr3 | tepsipakki: which docs, I've been googling for a while and haven't found specific instructions :( | 08:01 |
tepsipakki | repositories tend to have the key available on the site | 08:01 |
tepsipakki | http://doc.ubuntu.com/ | 08:01 |
tepsipakki | there you can find install guide from the right pane | 08:02 |
tepsipakki | of course I could've just given the link to the guide, but it's good to know where to find it :) | 08:04 |
joejaxx | hello all | 08:32 |
joejaxx | :) | 08:32 |
cjwatson | tepsipakki: help.ubuntu.com has a newer version | 08:32 |
cjwatson | cr3: ^-- | 08:32 |
cjwatson | it's linked from the front page | 08:33 |
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer | ||
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer | ||
tepsipakki | oh, indeed | 09:18 |
stgraber | Anyone that has some time to help me making a correct recipe file for partman (to include in my .seed file), I read some howtos but I can't do what I want ? | 09:43 |
tepsipakki | stgraber: where's the current version? | 09:58 |
stgraber | that's a custom one for a LUG projet I have here, I can upload my current .seed file somewhere so that you can have a look | 10:01 |
tepsipakki | have you checked the official install-guide? | 10:02 |
tepsipakki | what do you mean by "can't do what I want"? | 10:02 |
stgraber | https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html if that's this one, yes | 10:03 |
stgraber | I have also looked at some other wiki pages I have found | 10:03 |
tepsipakki | yes | 10:03 |
stgraber | I want to make 3 partitions: swap, / and /home all of 3 primary. | 10:03 |
stgraber | Swap : between 512MB and 2048MB, / between 3GB and 8GB and the rest for /home | 10:04 |
stgraber | It will be mainly 20GB harddisk | 10:04 |
stgraber | but I can't do that (especially for the primary partitions part), it always create a primary for the SWAP and the rest as logical | 10:05 |
tepsipakki | hmm, I don't know if there are limitations for that | 10:06 |
tepsipakki | why do you want them all to be primary? | 10:06 |
stgraber | no special reason except that I don't think that's useful to create logical partitions in that case | 10:07 |
tepsipakki | I don't think it's useful to have more than one primary :) | 10:07 |
tepsipakki | but anyway | 10:08 |
stgraber | http://paste.stgraber.org/14 | 10:09 |
stgraber | IIRC this file doesn't work | 10:09 |
tepsipakki | well, you can (or maybe even should) delete the empty lines | 10:09 |
tepsipakki | lines 19 and 29 | 10:11 |
tepsipakki | I don't know if the order matters | 10:11 |
tepsipakki | I'd put the bootable partition first | 10:11 |
tepsipakki | ie. root | 10:12 |
tepsipakki | oh and delete the last \ | 10:13 |
tepsipakki | from line 37 | 10:13 |
stgraber | ok, I'm testing it on vmware now | 10:14 |
tepsipakki | do you have ESX? | 10:17 |
stgraber | Workstation | 10:20 |
tepsipakki | oh, you can netboot from one? | 10:20 |
cr3 | if I understand correctly how to setup a local repository as apt-setup/local0/repository, I would also need to build my own ubuntu-keyring packages to include my own key, right? | 10:20 |
stgraber | ok, I have a problem, I have a 19GB / partition and the rest for the swap (then around 1GB) | 10:21 |
stgraber | but absolutely no /home | 10:21 |
stgraber | http://paste.stgraber.org/15 the file I used | 10:22 |
tepsipakki | hmm, strange | 10:26 |
tepsipakki | heh | 10:28 |
tepsipakki | add a \ on line 11 :) | 10:28 |
tepsipakki | then it even might work :) | 10:29 |
stgraber | indeed :) | 10:30 |
stgraber | and it works !!! :) | 10:32 |
stgraber | what a stupid mistake :) | 10:33 |
stgraber | thank you for your help | 10:33 |
tepsipakki | no problem ;) | 10:36 |
cr3 | do I need to build my own ubuntu-keyring package in order to verify packages from my local repository? if so, what if I'm using archive.ubuntu.com as a mirror and my local repository as local0, doesn't that mean ubuntu-keyring will be grabbed from archive.ubuntu.com? | 10:42 |
tepsipakki | cr3: no you don't | 10:43 |
tepsipakki | you preseed the URL to the key that is used to sign the local repository, like I said | 10:44 |
tepsipakki | by local I mean truly local, not a local ubuntu-mirror | 10:45 |
tepsipakki | a repo that has packages built by yourself.. | 10:47 |
tepsipakki | I use falcon to maintain our repo | 10:48 |
cr3 | tepsipakki: right, I did that and and specified the url to the public key which I generated with: gpg --export -a 'My Name' > key | 10:48 |
tepsipakki | but did you sign the repo using your own key? | 10:49 |
cr3 | tepsipakki: yes, it prompted for my passphrase when doing so | 10:49 |
tepsipakki | individual signed packages don't matter | 10:49 |
cr3 | actually, I signed my package and uploaded all the generated files and signed the Release.gpg file | 10:50 |
cjwatson | tepsipakki is right as far as I know; modifying ubuntu-keyring shouldn't be necessary | 10:50 |
cr3 | tepsipakki: this is what I did for the Release.gpg: apt-ftparchive release . > Release; gpg -abs -o Release.gpg Release | 10:51 |
cjwatson | of course tepsipakki wrote that installer patch so probably knows better than I :) | 10:51 |
cr3 | and then I simply made available that key file above, generated with gpg --export -a "Marc Tardif" > key, in the same place as the Release file | 10:51 |
cjwatson | cr3: if it's not working, check the syslog for errors from wget or what-have-you | 10:52 |
cjwatson | search for 'apt-setup (including the initial ') to find the log segment belonging to apt-setup | 10:52 |
cr3 | cjwatson: I've been going through the syslog actually and came across something strange near "Connecting to my.repository": "Malformed line 1 in source list /tmp/fileWOEFHEO (URI parse) | 10:52 |
cjwatson | show us the apt-setup lines from your preseed file? | 10:53 |
cjwatson | and dapper or edgy? | 10:53 |
tepsipakki | cr3: it uses wget, so it expects an http-url | 10:54 |
tepsipakki | -n | 10:54 |
tepsipakki | and after getting the key it is fed to apt-key | 10:54 |
cr3 | ok, so I tried a wget on the url and then ran: apt-key add key | 10:57 |
cr3 | I then get: gpg: no ultimately trusted keys found | 10:58 |
cr3 | followed by: OK | 10:58 |
tepsipakki | hmm | 10:58 |
cr3 | tepsipakki: so, /target/etc/apt/sources.list still has my repository commented out and the installer fails with: Execution of preseeded command "apt-install my-package" failed with exit code 1. | 11:00 |
tepsipakki | falcon uses 'gpg -u <user> --detach-sig --armor --output Release.gpg Release' | 11:00 |
cr3 | tepsipakki: ok, I'll try that and reinstall | 11:01 |
tepsipakki | don't know if that matters.. | 11:01 |
cjwatson | cr3: 21:53 < cjwatson> show us the apt-setup lines from your preseed file? | 11:01 |
cr3 | tepsipakki: according to debian, it doesn't matter: http://wiki.debian.org/SecureApt | 11:02 |
cr3 | cjwatson: it's 6 lines, nopaste or in here? | 11:03 |
cjwatson | in here's fine | 11:03 |
cr3 | actually, there are only 3 relevant ones: | 11:03 |
cr3 | d-i apt-setup/local0/repository string deb http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./ | 11:03 |
cr3 | d-i apt-setup/local0/comment string people.ubuntu.com | 11:04 |
cr3 | d-i apt-setup/local0/key string http://people.ubuntu.com/~cr3/hardware-certification-conformance/key | 11:04 |
cjwatson | cr3: you need to drop "deb " from the repository line | 11:04 |
cjwatson | echo "deb $repository" >> $file | 11:04 |
cjwatson | dunno about anything else; that alone would be enough to break it although I don't see how it'd lead to the /tmp/fileWOEFHEO error | 11:05 |
cjwatson | actually, yes, it would lead to that error | 11:05 |
cr3 | cjwatson: I'm trying another install, I'll let you know what happens in about 5 minutes :) | 11:05 |
cjwatson | the /tmp/blah is the name of the temporary sources.list file, not a line in that file - so it's just saying it can't parse the line you added, which would be due to the extra "deb " | 11:06 |
=== cjwatson goes away for the night | ||
tepsipakki | yep, it adds a binary repo, source-line can be preseeded as extra | 11:07 |
tepsipakki | (local0/source boolean) | 11:07 |
highvoltage | goodnight cjwatson | 11:08 |
cr3 | cjwatson: thanks for the info, much appreciated. g'night! | 11:09 |
cr3 | that's weird: when the installer is at the step "Running preseed", I get an "Ubuntu installer main menu" prompting me for the next step in the install process where "Install the base system" is highlighted. I've never seen that happen before. | 11:19 |
cr3 | I'll try again tomorrow, g'night folks and thanks for all the help | 11:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!