[02:46] as usual, d-i scares the shit out of me [02:47] cjwatson: user reported setting his hostname to 'port' and trying an install; claims that the automated installer tried to make /dev/$(hostname) and failed (since /dev/port exists already) [02:47] cjwatson: any idea where that might happen? ;p [02:55] * antarus will verify the bug tomorrow, hopefully will get a decent log [02:55] well, hopefuly it will be a false bug report ;p [03:35] antarus: That doesn't make a whole lot of sense, as /dev/$(hostname) isn't something that exists on any system I know of. [03:35] antarus: As usual, a full syslog from the failed install would help figure out what really happened. [03:53] yeah the user re-imaged already, so I will try to repro tomorrow [04:40] Might it be because of LVM and setting the VG to the hostname? [04:41] StevenK: Perhaps, but isn't that all in a subdirectory of /dev/? [04:41] /dev/vg/foo, etc? [04:42] infinity: VG name of port will try and make /dev/port/ [04:42] Which will fail [04:42] Oh, hrm. That could be it, then. [04:43] Oh, indeed, I have /dev/loki/* [04:43] Which is probably "Don't do that, then." [04:43] Yeah, though partman could try to gracefully detect that situation and tell you to get stuffed. [04:43] Indeed [04:44] Or even permute the VG name to something that doesn't clash. [04:44] /dev/port-vg/ or such. [04:44] Right [04:44] xnox: ^ [04:44] stat /dev/$VG and if it exists, append '-vg' [04:45] Might need more than a stat, since your /dev might not be fully populated. Though, having a static list of well-known devices sounds like overkill too. [04:45] Might not be awful to just always append -vg [04:45] Since I can't see that clashing with anything. [04:46] It's a bit uglier that way, but... [04:46] infinity: If it isn't fully populated, the install will work, but then you have a race during boot, I guess [04:47] I'm a bit puzzled as to why I even need the /dev/VG hierarchy. Seems redundant. [04:47] (base)adconrad@loki:~$ ls -l /dev/mapper/ [04:47] total 0 [04:47] crw------- 1 root root 10, 236 Feb 20 2012 control [04:47] lrwxrwxrwx 1 root root 7 Feb 20 2012 loki-root -> ../dm-1 [04:47] lrwxrwxrwx 1 root root 7 Feb 20 2012 loki-srv -> ../dm-2 [04:47] lrwxrwxrwx 1 root root 7 Feb 20 2012 loki-swap -> ../dm-0 [04:47] (base)adconrad@loki:~$ ls -l /dev/loki/ [04:47] total 0 [04:47] lrwxrwxrwx 1 root root 7 Feb 20 2012 root -> ../dm-1 [04:47] lrwxrwxrwx 1 root root 7 Feb 20 2012 srv -> ../dm-2 [04:47] lrwxrwxrwx 1 root root 7 Feb 20 2012 swap -> ../dm-0 [04:47] ^-- How many different ways do I need to access those devices? :P [04:47] infinity: Don't look under /sys, then. [04:48] Yeah, but sys is a bit smarter about it. Its 17 different ways to get at things are fine. [04:48] Haha [08:29] infinity: sounds true. VG name defaults to Hostname if known upfront, but the /dev/vg symlink should not be mandatory but rather a convenience. [08:41] infinity: StevenK: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565947 [08:41] Debian bug 565947 in partman-auto-lvm "debian-installer: creation of volume group (LVM) fails if hostname corresponds with an existing device name" [Minor,Open] [08:49] hello [08:50] is it possible to port ubiquity to other non-deb distros? Or is it tightly coupled within? [08:54] ubiquity is a front-end to debian-installer & there are a lot of assumptions about the installer image layout, package names, partitioning & setting the system up. [08:55] admiral0: try looking into porting debian-installer first.... if you really want to. What distro do you want to port it to? [08:56] i am (a quite inactive) dev of chakra. Was just studying alternatives [08:56] i don't feel like porting d-i [08:56] i like the GUI part [08:56] especially the partitioning [08:57] our installer is quite lacking in that... and waiting for KDE folks to do a Solid API is like waiting for the apocalypse [08:58] you know it will come someday... but don't know when and how [08:59] for partitioning, we actually drive debian-installer / partman to actually execute partitioning. [08:59] oh... i got it... [09:00] thank you for the clarification [13:57] another day, another try. which flags are passed to the iso generation tool used to make the official ubuntu alternate isos? the documentation is wrong WRT valid EFI image creation, and the flags i stole from debian don't seem to work on a real laptop (they work in ovmf) [14:22] directhex: i guess you want the branches used to generate ubuntu cd-images. maybe stgraber or cjwatson can point you in the right direction. [14:27] directhex: some of it is in https://code.launchpad.net/~ubuntu-cdimage/debian-cd/ubuntu some more can be found at https://code.launchpad.net/~cjwatson/ubuntu-cdimage/mainline [14:27] and the rest isn't publicly available yet (cjwatson is working on making more of those public) [14:31] the .disk/mkisofs file on debian ISOs is rather useful in this regard [17:44] infinity: yeah its lvm related, and confirmed here [17:45] infinity: the user suggested some sort of pre-post permutation..but in the end you can easily end up with name collisions, I've already told him to 'not name his machien dumb things' [17:45] antarus: Check, I think we arrived to that conclusion while you were out. :) [17:45] infinity: engineers are quirky like that though [17:45] infinity: is it worth it to file a bug? [17:45] antarus: xnox pointed at a Debian bug already. [17:45] antarus: there is one already. [17:45] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565947 [17:45] Debian bug 565947 in partman-auto-lvm "debian-installer: creation of volume group (LVM) fails if hostname corresponds with an existing device name" [Minor,Open] [17:45] oh, excellent [17:45] less work for me ;) [17:46] The simple solution of appending "-vg" to the volume group name wouldn't be awful. [17:46] Though less pretty for those of us whose hostnames don't clash. [17:46] antarus: we can copy it into launchpad with import-bug-from-debian tool..... if you really really want to subscribe to it. [17:47] In this particular customer case, though, he can either name his macihne something else, or manually create a VG with a different name. [17:47] the real problem for us is that whe the installer dies, we don't have a great UI for it [17:47] or preseed default vg name to something sensible. [17:48] can we preseed a prefix? :) [17:48] (or suffix?) [17:48] antarus: Oh, sure, partman should also detect the clash and give you a "that doesn't work", at the very least, rather than just dying. [17:48] not that I know of, but it wouldn't be terribly hard to implement. [17:48] (Didn't out default vg used to be "ubuntu" at one point?) [17:48] s/out/our/ [17:49] xnox: yeah, but then I need a precise backport ;p [17:49] they are, unless dhcp returns a hostname, which is then used for default hostname & vg-group name. [17:49] ubuntu is the fallback of all fallbacks for vg-name [17:49] yeah all our linux boxens are in dhcp [17:49] xnox: Right, so we could just drop the hostname->VG mapping and leave it defaulting to ubuntu, and problem solved. [17:50] sure. or make hostname->vg automapping prefix -vg. [17:50] infinity: I presume the hostname was chosen for a reason [17:50] Until someone creates a /dev/ubuntu, a char device that gives you direct access to a feeling of togetherness. [17:50] * xnox goes to import-bug-from-debian. [17:51] infinity: well it auto-serves african coffee =) [17:58] xnox: can you let me know the launchpad bug #? [18:01] bug 565947 [18:01] Launchpad bug 565947 in linux (Ubuntu) "BUG: unable to handle kernel paging request at ffff8802677dcdde" [Undecided,Fix released] https://launchpad.net/bugs/565947 [18:01] bug 1091788 [18:01] Launchpad bug 1091788 in partman-auto-lvm (Debian) "debian-installer: creation of volume group (LVM) fails if hostname corresponds with an existing device name" [Undecided,New] https://launchpad.net/bugs/1091788 [18:01] the latter. [18:02] statuses updated. [18:02] thank you [18:03] wow you have a *lot* of badges [18:07] antarus: i used tohave a sensible amount of badges, then i joined ubuntu-core-dev & gained a tonne and a small pile of them. [18:07] * xnox wishes not to have x/l/kubuntu badges to be honest..... [18:30] antarus: He doesn't have that many... [20:06] w [20:06] bah