[02:46] <antarus> as usual, d-i scares the shit out of me
[02:47] <antarus> 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] <antarus> cjwatson: any idea where that might happen? ;p
[02:55]  * antarus will verify the bug tomorrow, hopefully will get a decent log
[02:55] <antarus> well, hopefuly it will be a false bug report ;p
[03:35] <infinity> 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] <infinity> antarus: As usual, a full syslog from the failed install would help figure out what really happened.
[03:53] <antarus> yeah the user re-imaged already, so I will try to repro tomorrow
[04:40] <StevenK> Might it be because of LVM and setting the VG to the hostname?
[04:41] <infinity> StevenK: Perhaps, but isn't that all in a subdirectory of /dev/?
[04:41] <infinity> /dev/vg/foo, etc?
[04:42] <StevenK> infinity: VG name of port will try and make /dev/port/
[04:42] <StevenK> Which will fail
[04:42] <infinity> Oh, hrm.  That could be it, then.
[04:43] <infinity> Oh, indeed, I have /dev/loki/*
[04:43] <StevenK> Which is probably "Don't do that, then."
[04:43] <infinity> Yeah, though partman could try to gracefully detect that situation and tell you to get stuffed.
[04:43] <StevenK> Indeed
[04:44] <infinity> Or even permute the VG name to something that doesn't clash.
[04:44] <infinity> /dev/port-vg/ or such.
[04:44] <StevenK> Right
[04:44] <infinity> xnox: ^
[04:44] <StevenK> stat /dev/$VG and if it exists, append '-vg'
[04:45] <infinity> 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] <infinity> Might not be awful to just always append -vg
[04:45] <infinity> Since I can't see that clashing with anything.
[04:46] <infinity> It's a bit uglier that way, but...
[04:46] <StevenK> infinity: If it isn't fully populated, the install will work, but then you have a race during boot, I guess
[04:47] <infinity> I'm a bit puzzled as to why I even need the /dev/VG hierarchy.  Seems redundant.
[04:47] <infinity> (base)adconrad@loki:~$ ls -l /dev/mapper/
[04:47] <infinity> total 0
[04:47] <infinity> crw------- 1 root root 10, 236 Feb 20  2012 control
[04:47] <infinity> lrwxrwxrwx 1 root root       7 Feb 20  2012 loki-root -> ../dm-1
[04:47] <infinity> lrwxrwxrwx 1 root root       7 Feb 20  2012 loki-srv -> ../dm-2
[04:47] <infinity> lrwxrwxrwx 1 root root       7 Feb 20  2012 loki-swap -> ../dm-0
[04:47] <infinity> (base)adconrad@loki:~$ ls -l /dev/loki/
[04:47] <infinity> total 0
[04:47] <infinity> lrwxrwxrwx 1 root root 7 Feb 20  2012 root -> ../dm-1
[04:47] <infinity> lrwxrwxrwx 1 root root 7 Feb 20  2012 srv -> ../dm-2
[04:47] <infinity> lrwxrwxrwx 1 root root 7 Feb 20  2012 swap -> ../dm-0
[04:47] <infinity> ^-- How many different ways do I need to access those devices? :P
[04:47] <StevenK> infinity: Don't look under /sys, then.
[04:48] <infinity> Yeah, but sys is a bit smarter about it.  Its 17 different ways to get at things are fine.
[04:48] <StevenK> Haha
[08:29] <xnox> 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] <xnox> infinity: StevenK: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565947
[08:41] <ubot2`> 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] <admiral0> hello
[08:50] <admiral0> is it possible to port ubiquity to other non-deb distros? Or  is it tightly coupled within?
[08:54] <xnox> 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] <xnox> admiral0: try looking into porting debian-installer first.... if you really want to. What distro do you want to port it to?
[08:56] <admiral0> i am (a quite inactive) dev of chakra. Was just studying alternatives
[08:56] <admiral0> i don't feel like porting d-i
[08:56] <admiral0> i like the GUI part
[08:56] <admiral0> especially the partitioning
[08:57] <admiral0> 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] <admiral0> you know it will come someday... but don't know when and how
[08:59] <xnox> for partitioning, we actually drive debian-installer / partman to actually execute partitioning.
[08:59] <admiral0> oh... i got it...
[09:00] <admiral0> thank you for the clarification
[13:57] <directhex> 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] <xnox> 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] <stgraber> 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] <stgraber> and the rest isn't publicly available yet (cjwatson is working on making more of those public)
[14:31] <directhex> the .disk/mkisofs file on debian ISOs is rather useful in this regard
[17:44] <antarus> infinity: yeah its lvm related, and confirmed here
[17:45] <antarus> 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] <infinity> antarus: Check, I think we arrived to that conclusion while you were out. :)
[17:45] <antarus> infinity: engineers are quirky like that though
[17:45] <antarus> infinity: is it worth it to file a bug?
[17:45] <infinity> antarus: xnox pointed at a Debian bug already.
[17:45] <xnox> antarus: there is one already.
[17:45] <infinity> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565947
[17:45] <ubot2`> 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] <antarus> oh, excellent
[17:45] <antarus> less work for me ;)
[17:46] <infinity> The simple solution of appending "-vg" to the volume group name wouldn't be awful.
[17:46] <infinity> Though less pretty for those of us whose hostnames don't clash.
[17:46] <xnox> antarus: we can copy it into launchpad with import-bug-from-debian tool..... if you really really want to subscribe to it.
[17:47] <infinity> 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] <antarus> the real problem for us is that whe the installer dies, we don't have a great UI for it
[17:47] <xnox> or preseed default vg name to something sensible.
[17:48] <antarus> can we preseed a prefix? :)
[17:48] <antarus> (or suffix?)
[17:48] <infinity> 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] <xnox> not that I know of, but it wouldn't be terribly hard to implement.
[17:48] <infinity> (Didn't out default vg used to be "ubuntu" at one point?)
[17:48] <infinity> s/out/our/
[17:49] <antarus> xnox: yeah, but then I need a precise backport ;p
[17:49] <xnox> they are, unless dhcp returns a hostname, which is then used for default hostname & vg-group name.
[17:49] <xnox> ubuntu is the fallback of all fallbacks for vg-name
[17:49] <antarus> yeah all our linux boxens are in dhcp
[17:49] <infinity> xnox: Right, so we could just drop the hostname->VG mapping and leave it defaulting to ubuntu, and problem solved.
[17:50] <xnox> sure. or make hostname->vg automapping prefix -vg.
[17:50] <antarus> infinity: I presume the hostname was chosen for a reason
[17:50] <infinity> 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] <xnox> infinity: well it auto-serves african coffee =)
[17:58] <antarus> xnox: can you let me know the launchpad bug #?
[18:01] <xnox> bug 565947
[18:01] <ubot2`> 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] <xnox> bug 1091788
[18:01] <ubot2`> 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] <xnox> the latter.
[18:02] <xnox> statuses updated.
[18:02] <antarus> thank you
[18:03] <antarus> wow you have a *lot* of badges
[18:07] <xnox> 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] <infinity> antarus: He doesn't have that many...
[20:06] <antarus> w
[20:06] <antarus> bah