=== 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 [08:08] 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:09] g as in graphical? [08:12] yes [08:14] well, I don't know to be honest === mpt [n=mpt@121-72-130-219.dsl.telstraclear.net] has joined #ubuntu-installer [10:58] highvoltage: eventually, maybe, but not in the short term [10:59] 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 [11:00] 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 === cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer === allmanj [n=allmanj@66.249.86.140] has joined #ubuntu-installer [04:24] 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] i made the md5 hash by going: [04:24] echo -n insecurepassword |md5sum [04:24] i'm guessing this is wrong. help appreciated... [04:29] https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html [04:30] there are instructions for it [04:30] md5sun is not the correct way to do it :) [04:30] whoops! [04:31] *sum [04:31] yeah - i suspected as much. didn't spot that part of the documentation though [05:21] 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:26] hmmm. it seems that POSIX is a 'non-free' standard. I have to buy the standards papers from them? [05:26] why would Debian choose to do something that's posix compliant as apposed to the singe unix specification? [05:27] er, POSIX == SUSv3 [05:27] nowadays === highvoltage googles SUSv3 [05:27] ah, I see [05:29] 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] see e.g. http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap01.html [05:29] note that the installer is not an entirely POSIX-compliant system, of course [05:30] it's just that sticking to POSIX is a reasonably good way to avoid the more egregious incompatibilities such as bashisms [05:54] ok, thanks for explaining, I'll read that link you just posted now... [06:22] geez, it's quite big documentation :) [06:31] is there a particular reason POSIX is the first place you're looking? [06:49] cjwatson: in the latest UWN, it said "You will need to know POSIX shell [06:49] scripting and C to some level, and if you want to work on Ubiquity you'll [06:49] need to know Python. " [06:50] reading it now again I realise I probably just need to read the shell scripting part? [06:50] I meant POSIX shell as opposed to bash [06:51] "shell scripting, but please no bashisms" [06:52] aaah, now I get it! :) [06:52] as in plain /bin/sh [06:54] yes [06:57] 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 [07:48] 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:54] cr3: true, you need to preseed local0/key as well [07:56] tepsipakki: but that needs to be set to a server with a key or something, right? [07:59] yes [07:59] 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.. [08:00] umm, you preseed the key which is used to generate Release.gpg [08:00] and it is an URL to the key [08:00] this is in the docs [08:01] tepsipakki: which docs, I've been googling for a while and haven't found specific instructions :( [08:01] repositories tend to have the key available on the site [08:01] http://doc.ubuntu.com/ [08:02] there you can find install guide from the right pane [08:04] of course I could've just given the link to the guide, but it's good to know where to find it :) [08:32] hello all [08:32] :) [08:32] tepsipakki: help.ubuntu.com has a newer version [08:32] cr3: ^-- [08:33] it's linked from the front page === 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 [09:18] oh, indeed [09:43] 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:58] stgraber: where's the current version? [10:01] 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:02] have you checked the official install-guide? [10:02] what do you mean by "can't do what I want"? [10:03] https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html if that's this one, yes [10:03] I have also looked at some other wiki pages I have found [10:03] yes [10:03] I want to make 3 partitions: swap, / and /home all of 3 primary. [10:04] Swap : between 512MB and 2048MB, / between 3GB and 8GB and the rest for /home [10:04] It will be mainly 20GB harddisk [10:05] 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:06] hmm, I don't know if there are limitations for that [10:06] why do you want them all to be primary? [10:07] no special reason except that I don't think that's useful to create logical partitions in that case [10:07] I don't think it's useful to have more than one primary :) [10:08] but anyway [10:09] http://paste.stgraber.org/14 [10:09] IIRC this file doesn't work [10:09] well, you can (or maybe even should) delete the empty lines [10:11] lines 19 and 29 [10:11] I don't know if the order matters [10:11] I'd put the bootable partition first [10:12] ie. root [10:13] oh and delete the last \ [10:13] from line 37 [10:14] ok, I'm testing it on vmware now [10:17] do you have ESX? [10:20] Workstation [10:20] oh, you can netboot from one? [10:20] 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:21] ok, I have a problem, I have a 19GB / partition and the rest for the swap (then around 1GB) [10:21] but absolutely no /home [10:22] http://paste.stgraber.org/15 the file I used [10:26] hmm, strange [10:28] heh [10:28] add a \ on line 11 :) [10:29] then it even might work :) [10:30] indeed :) [10:32] and it works !!! :) [10:33] what a stupid mistake :) [10:33] thank you for your help [10:36] no problem ;) [10:42] 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:43] cr3: no you don't [10:44] you preseed the URL to the key that is used to sign the local repository, like I said [10:45] by local I mean truly local, not a local ubuntu-mirror [10:47] a repo that has packages built by yourself.. [10:48] I use falcon to maintain our repo [10:48] 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:49] but did you sign the repo using your own key? [10:49] tepsipakki: yes, it prompted for my passphrase when doing so [10:49] individual signed packages don't matter [10:50] actually, I signed my package and uploaded all the generated files and signed the Release.gpg file [10:50] tepsipakki is right as far as I know; modifying ubuntu-keyring shouldn't be necessary [10:51] tepsipakki: this is what I did for the Release.gpg: apt-ftparchive release . > Release; gpg -abs -o Release.gpg Release [10:51] of course tepsipakki wrote that installer patch so probably knows better than I :) [10:51] 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:52] cr3: if it's not working, check the syslog for errors from wget or what-have-you [10:52] search for 'apt-setup (including the initial ') to find the log segment belonging to apt-setup [10:52] 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:53] show us the apt-setup lines from your preseed file? [10:53] and dapper or edgy? [10:54] cr3: it uses wget, so it expects an http-url [10:54] -n [10:54] and after getting the key it is fed to apt-key [10:57] ok, so I tried a wget on the url and then ran: apt-key add key [10:58] I then get: gpg: no ultimately trusted keys found [10:58] followed by: OK [10:58] hmm [11:00] 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] falcon uses 'gpg -u --detach-sig --armor --output Release.gpg Release' [11:01] tepsipakki: ok, I'll try that and reinstall [11:01] don't know if that matters.. [11:01] cr3: 21:53 < cjwatson> show us the apt-setup lines from your preseed file? [11:02] tepsipakki: according to debian, it doesn't matter: http://wiki.debian.org/SecureApt [11:03] cjwatson: it's 6 lines, nopaste or in here? [11:03] in here's fine [11:03] actually, there are only 3 relevant ones: [11:03] d-i apt-setup/local0/repository string deb http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./ [11:04] d-i apt-setup/local0/comment string people.ubuntu.com [11:04] d-i apt-setup/local0/key string http://people.ubuntu.com/~cr3/hardware-certification-conformance/key [11:04] cr3: you need to drop "deb " from the repository line [11:04] echo "deb $repository" >> $file [11:05] 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] actually, yes, it would lead to that error [11:05] cjwatson: I'm trying another install, I'll let you know what happens in about 5 minutes :) [11:06] 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 " === cjwatson goes away for the night [11:07] yep, it adds a binary repo, source-line can be preseeded as extra [11:07] (local0/source boolean) [11:08] goodnight cjwatson [11:09] cjwatson: thanks for the info, much appreciated. g'night! [11:19] 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:32] I'll try again tomorrow, g'night folks and thanks for all the help