[08:08] <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:09] <tepsipakki> g as in graphical?
[08:12] <highvoltage> yes
[08:14] <tepsipakki> well, I don't know to be honest
[10:58] <cjwatson> highvoltage: eventually, maybe, but not in the short term
[10:59] <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
[11:00] <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
[04:24] <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:29] <tepsipakki> https://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html
[04:30] <tepsipakki> there are instructions for it
[04:30] <tepsipakki> md5sun is not the correct way to do it :)
[04:30] <allmanj> whoops!
[04:31] <tepsipakki> *sum
[04:31] <allmanj> yeah - i suspected as much. didn't spot that part of the documentation though
[05:21] <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:26] <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:27] <cjwatson> er, POSIX == SUSv3
[05:27] <cjwatson> nowadays
[05:27] <highvoltage> ah, I see
[05:29] <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:30] <cjwatson> it's just that sticking to POSIX is a reasonably good way to avoid the more egregious incompatibilities such as bashisms
[05:54] <highvoltage> ok, thanks for explaining, I'll read that link you just posted now...
[06:22] <highvoltage> geez, it's quite big documentation :)
[06:31] <cjwatson> is there a particular reason POSIX is the first place you're looking?
[06:49] <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:50] <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:51] <cjwatson> "shell scripting, but please no bashisms"
[06:52] <highvoltage> aaah, now I get it! :)
[06:52] <highvoltage> as in plain /bin/sh
[06:54] <cjwatson> yes
[06:57] <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
[07:48] <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:54] <tepsipakki> cr3: true, you need to preseed local0/key as well
[07:56] <cr3> tepsipakki: but that needs to be set to a server with a key or something, right?
[07:59] <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..
[08:00] <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:01] <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:02] <tepsipakki> there you can find install guide from the right pane
[08:04] <tepsipakki> of course I could've just given the link to the guide, but it's good to know where to find it :)
[08:32] <joejaxx> hello all
[08:32] <joejaxx> :)
[08:32] <cjwatson> tepsipakki: help.ubuntu.com has a newer version
[08:32] <cjwatson> cr3: ^--
[08:33] <cjwatson> it's linked from the front page
[09:18] <tepsipakki> oh, indeed
[09:43] <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:58] <tepsipakki> stgraber: where's the current version?
[10:01] <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:02] <tepsipakki> have you checked the official install-guide?
[10:02] <tepsipakki> what do you mean by "can't do what I want"?
[10:03] <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:04] <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:05] <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:06] <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:07] <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:08] <tepsipakki> but anyway
[10:09] <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:11] <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:12] <tepsipakki> ie. root
[10:13] <tepsipakki> oh and delete the last \
[10:13] <tepsipakki> from line 37
[10:14] <stgraber> ok, I'm testing it on vmware now
[10:17] <tepsipakki> do you have ESX?
[10:20] <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:21] <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:22] <stgraber> http://paste.stgraber.org/15 the file I used
[10:26] <tepsipakki> hmm, strange
[10:28] <tepsipakki> heh
[10:28] <tepsipakki> add a \ on line 11 :)
[10:29] <tepsipakki> then it even might work :)
[10:30] <stgraber> indeed :)
[10:32] <stgraber> and it works !!! :)
[10:33] <stgraber> what a stupid mistake :)
[10:33] <stgraber> thank you for your help
[10:36] <tepsipakki> no problem ;)
[10:42] <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:43] <tepsipakki> cr3: no you don't
[10:44] <tepsipakki> you preseed the URL to the key that is used to sign the local repository, like I said
[10:45] <tepsipakki> by local I mean truly local, not a local ubuntu-mirror
[10:47] <tepsipakki> a repo that has packages built by yourself..
[10:48] <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:49] <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:50] <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:51] <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:52] <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:53] <cjwatson> show us the apt-setup lines from your preseed file?
[10:53] <cjwatson> and dapper or edgy?
[10:54] <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:57] <cr3> ok, so I tried a wget on the url and then ran: apt-key add key
[10:58] <cr3> I then get: gpg: no ultimately trusted keys found
[10:58] <cr3> followed by: OK
[10:58] <tepsipakki> hmm
[11:00] <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:01] <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:02] <cr3> tepsipakki: according to debian, it doesn't matter: http://wiki.debian.org/SecureApt
[11:03] <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:04] <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:05] <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:06] <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:07] <tepsipakki> yep, it adds a binary repo, source-line can be preseeded as extra
[11:07] <tepsipakki> (local0/source boolean)
[11:08] <highvoltage> goodnight cjwatson
[11:09] <cr3> cjwatson: thanks for the info, much appreciated. g'night!
[11:19] <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:32] <cr3> I'll try again tomorrow, g'night folks and thanks for all the help