/srv/irclogs.ubuntu.com/2006/12/20/#ubuntu-installer.txt

=== 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
highvoltageI 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
tepsipakkig as in graphical?08:09
highvoltageyes08:12
tepsipakkiwell, I don't know to be honest08:14
=== mpt [n=mpt@121-72-130-219.dsl.telstraclear.net] has joined #ubuntu-installer
cjwatsonhighvoltage: eventually, maybe, but not in the short term10:58
cjwatsonhighvoltage: 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 arrives10:59
cjwatsonspecifically, 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 support11:00
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== allmanj [n=allmanj@66.249.86.140] has joined #ubuntu-installer
allmanjhey - 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 correctly04:24
allmanji made the md5 hash by going:04:24
allmanjecho -n insecurepassword |md5sum04:24
allmanji'm guessing this is wrong. help appreciated...04:24
tepsipakkihttps://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html04:29
tepsipakkithere are instructions for it04:30
tepsipakkimd5sun is not the correct way to do it :)04:30
allmanjwhoops!04:30
tepsipakki*sum04:31
allmanjyeah - i suspected as much. didn't spot that part of the documentation though04:31
highvoltagecjwatson: 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
highvoltagehmmm. it seems that POSIX is a 'non-free' standard. I have to buy the standards papers from them?05:26
highvoltagewhy would Debian choose to do something that's posix compliant as apposed to the singe unix specification?05:26
cjwatsoner, POSIX == SUSv305:27
cjwatsonnowadays05:27
=== highvoltage googles SUSv3
highvoltageah, I see05:27
cjwatsonI 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
cjwatsonsee e.g. http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap01.html05:29
cjwatsonnote that the installer is not an entirely POSIX-compliant system, of course05:29
cjwatsonit's just that sticking to POSIX is a reasonably good way to avoid the more egregious incompatibilities such as bashisms05:30
highvoltageok, thanks for explaining, I'll read that link you just posted now...05:54
highvoltagegeez, it's quite big documentation :)06:22
cjwatsonis there a particular reason POSIX is the first place you're looking?06:31
highvoltagecjwatson: in the latest UWN, it said "You will need to know POSIX shell06:49
highvoltagescripting and C to some level, and if you want to work on Ubiquity you'll06:49
highvoltageneed to know Python. "06:49
highvoltagereading it now again I realise I probably just need to read the shell scripting part?06:50
cjwatsonI meant POSIX shell as opposed to bash06:50
cjwatson"shell scripting, but please no bashisms"06:51
highvoltageaaah, now I get it! :)06:52
highvoltageas in plain /bin/sh06:52
cjwatsonyes06:54
highvoltageI 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 details06:57
cr3who 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 signed07:48
tepsipakkicr3: true, you need to preseed local0/key as well07:54
cr3tepsipakki: but that needs to be set to a server with a key or something, right?07:56
tepsipakkiyes07:59
cr3tepsipakki: 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
tepsipakkiumm, you preseed the key which is used to generate Release.gpg08:00
tepsipakkiand it is an URL to the key08:00
tepsipakkithis is in the docs08:00
cr3tepsipakki: which docs, I've been googling for a while and haven't found specific instructions :(08:01
tepsipakkirepositories tend to have the key available on the site08:01
tepsipakkihttp://doc.ubuntu.com/08:01
tepsipakkithere you can find install guide from the right pane08:02
tepsipakkiof course I could've just given the link to the guide, but it's good to know where to find it :)08:04
joejaxxhello all08:32
joejaxx:)08:32
cjwatsontepsipakki: help.ubuntu.com has a newer version08:32
cjwatsoncr3: ^--08:32
cjwatsonit's linked from the front page08: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
tepsipakkioh, indeed09:18
stgraberAnyone 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
tepsipakkistgraber: where's the current version?09:58
stgraberthat'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 look10:01
tepsipakkihave you checked the official install-guide?10:02
tepsipakkiwhat do you mean by "can't do what I want"?10:02
stgraberhttps://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html if that's this one, yes10:03
stgraberI have also looked at some other wiki pages I have found10:03
tepsipakkiyes10:03
stgraberI want to make 3 partitions: swap, / and /home all of 3 primary.10:03
stgraberSwap : between 512MB and 2048MB, / between 3GB and 8GB and the rest for /home10:04
stgraberIt will be mainly 20GB harddisk10:04
stgraberbut I can't do that (especially for the primary partitions part), it always create a primary for the SWAP and the rest as logical10:05
tepsipakkihmm, I don't know if there are limitations for that10:06
tepsipakkiwhy do you want them all to be primary?10:06
stgraberno special reason except that I don't think that's useful to create logical partitions in that case10:07
tepsipakkiI don't think it's useful to have more than one primary :)10:07
tepsipakkibut anyway10:08
stgraberhttp://paste.stgraber.org/1410:09
stgraberIIRC this file doesn't work10:09
tepsipakkiwell, you can (or maybe even should) delete the empty lines10:09
tepsipakkilines 19 and 2910:11
tepsipakkiI don't know if the order matters10:11
tepsipakkiI'd put the bootable partition first10:11
tepsipakkiie. root10:12
tepsipakkioh and delete the last \10:13
tepsipakkifrom line 3710:13
stgraberok, I'm testing it on vmware now10:14
tepsipakkido you have ESX?10:17
stgraberWorkstation10:20
tepsipakkioh, you can netboot from one?10:20
cr3if 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
stgraberok, I have a problem, I have a 19GB / partition and the rest for the swap (then around 1GB)10:21
stgraberbut absolutely no /home10:21
stgraberhttp://paste.stgraber.org/15 the file I used10:22
tepsipakkihmm, strange10:26
tepsipakkiheh10:28
tepsipakkiadd a \ on line 11 :)10:28
tepsipakkithen it even might work :)10:29
stgraberindeed :)10:30
stgraberand it works !!! :)10:32
stgraberwhat a stupid mistake :)10:33
stgraberthank you for your help10:33
tepsipakkino problem ;)10:36
cr3do 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
tepsipakkicr3: no you don't10:43
tepsipakkiyou preseed the URL to the key that is used to sign the local repository, like I said10:44
tepsipakkiby local I mean truly local, not a local ubuntu-mirror10:45
tepsipakkia repo that has packages built by yourself..10:47
tepsipakkiI use falcon to maintain our repo10:48
cr3tepsipakki: right, I did that and and specified the url to the public key which I generated with: gpg --export -a 'My Name' > key10:48
tepsipakkibut did you sign the repo using your own key?10:49
cr3tepsipakki: yes, it prompted for my passphrase when doing so10:49
tepsipakkiindividual signed packages don't matter10:49
cr3actually, I signed my package and uploaded all the generated files and signed the Release.gpg file10:50
cjwatsontepsipakki is right as far as I know; modifying ubuntu-keyring shouldn't be necessary10:50
cr3tepsipakki: this is what I did for the Release.gpg: apt-ftparchive release . > Release; gpg -abs -o Release.gpg Release10:51
cjwatsonof course tepsipakki wrote that installer patch so probably knows better than I :)10:51
cr3and then I simply made available that key file above, generated with gpg --export -a "Marc Tardif" > key, in the same place as the Release file10:51
cjwatsoncr3: if it's not working, check the syslog for errors from wget or what-have-you10:52
cjwatsonsearch for 'apt-setup (including the initial ') to find the log segment belonging to apt-setup10:52
cr3cjwatson: 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
cjwatsonshow us the apt-setup lines from your preseed file?10:53
cjwatsonand dapper or edgy?10:53
tepsipakkicr3: it uses wget, so it expects an http-url10:54
tepsipakki-n10:54
tepsipakkiand after getting the key it is fed to apt-key10:54
cr3ok, so I tried a wget on the url and then ran: apt-key add key10:57
cr3I then get: gpg: no ultimately trusted keys found10:58
cr3followed by: OK10:58
tepsipakkihmm10:58
cr3tepsipakki: 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
tepsipakkifalcon uses 'gpg -u <user> --detach-sig --armor --output Release.gpg Release'11:00
cr3tepsipakki: ok, I'll try that and reinstall11:01
tepsipakkidon't know if that matters..11:01
cjwatsoncr3: 21:53 < cjwatson> show us the apt-setup lines from your preseed file?11:01
cr3tepsipakki: according to debian, it doesn't matter: http://wiki.debian.org/SecureApt11:02
cr3cjwatson: it's 6 lines, nopaste or in here?11:03
cjwatsonin here's fine11:03
cr3actually, there are only 3 relevant ones:11:03
cr3d-i apt-setup/local0/repository string deb http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./11:03
cr3d-i apt-setup/local0/comment string people.ubuntu.com11:04
cr3d-i apt-setup/local0/key string http://people.ubuntu.com/~cr3/hardware-certification-conformance/key11:04
cjwatsoncr3: you need to drop "deb " from the repository line11:04
cjwatson        echo "deb $repository" >> $file11:04
cjwatsondunno about anything else; that alone would be enough to break it although I don't see how it'd lead to the /tmp/fileWOEFHEO error11:05
cjwatsonactually, yes, it would lead to that error11:05
cr3cjwatson: I'm trying another install, I'll let you know what happens in about 5 minutes :)11:05
cjwatsonthe /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
tepsipakkiyep, it adds a binary repo, source-line can be preseeded as extra11:07
tepsipakki(local0/source boolean)11:07
highvoltagegoodnight cjwatson11:08
cr3cjwatson: thanks for the info, much appreciated. g'night!11:09
cr3that'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
cr3I'll try again tomorrow, g'night folks and thanks for all the help11:32

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!