[06:06] <_ruben> our current installation standard has lvm vg naming based on servername. is there some way to do this with partman auto as well? as in something like lv_name{ $hostname }
[06:07] <_ruben> make that vg_name obviously ;)
[09:17] <_ruben> or actually it's not really partman specific, but more d-i specific. googleing for preseeding and variables yields tons of results, but none that apply to this case. logical conclusion: one cant use variables (other d-i key/val pairs) within a preseed script .. lets see if can cook something up in the pxe part of it all
[09:49] <cjwatson> _ruben: You can write a partman/early_command script that computes the preseed file you want for the rest of partman and feeds it to debconf-set-selections.
[11:49] <_ruben> hm, managed to get d-i to pick up hostname from dhcp, but it still asks me for confirmation. so far all google hits go the other way around (ppl wanting to be prompted).
[11:49] <_ruben> and the early_command stuff is likely the way to solve my previous question indeed
[14:18] <flexiondotorg> cyphermox, Bad news :(
[14:18] <flexiondotorg> cyphermox, On current daily oem-config doesn't work properly.
[14:19] <flexiondotorg> cyphermox, I've test Ubuntu and Ubuntu MATE. Results are the same.
[14:20] <flexiondotorg> cyphermox, Click prepare. Reboot. Do the wizard and when it finishes you are logged in to the desktop as the 'oem' user. The Prepare icon is on the desktop and displays an error if clicked :(
[14:43] <cyphermox> well, yeah it would make sense given that the app would no longer be on disk
[14:43] <cyphermox> so why does this ever go in oem at all now?
[14:45] <flexiondotorg> cyphermox, Not sure I understand you last comment? ^^^
[14:45] <flexiondotorg> cyphermox, I am testing again right now.
[14:45] <cyphermox> the only reason I can think of that happening is if some process is running as the oem user, which shouldn't be the case
[14:45] <flexiondotorg> I have just completed an oem install.
[14:46] <flexiondotorg> And will do the prepare thing.
[14:46] <cyphermox> when something's running and survives the initial pkill -u oem; then userdel won't work
[14:46] <flexiondotorg> cyphermox, I've had an OEM report this to me for a few days.
[14:46] <flexiondotorg> cyphermox, I was not able to reproduce until today.
[14:47] <flexiondotorg> Just doing a dist-upgrade then I'll shutdown, snapshot and test.
[14:51] <flexiondotorg> cyphermox, I have an untested theory.
[14:51] <flexiondotorg> cyphermox, What is the screensaver kicks in?
[14:52] <flexiondotorg> *What if
[14:53] <cyphermox> nope
[14:53] <flexiondotorg> cyphermox, No, it is not the screensaver kicking in. Just tested.
[14:53] <cyphermox> the oem-config dialog itself shouldn't be running as oem anyway
[14:54] <flexiondotorg> cyphermox, Just reproduce it again.
[14:54] <cyphermox> ok, then please file a bug and list the exact steps used
[14:54] <flexiondotorg> cyphermox, There is already a bug.
[14:55] <cyphermox> we'll need to dig in while this runs and see why something runs as the oem user
[14:55] <flexiondotorg> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1436937
[14:55] <cyphermox> no, that bug was closed, let's file a new one
[14:55] <flexiondotorg> cyphermox, OK.
[15:08] <flexiondotorg> cyphermox, Here you go - https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1442679
[15:12] <cyphermox> flexiondotorg: thanks. I'll get to it a bit later today
[15:12] <cyphermox> I want to fix the iso image promotion first, and then efi too
[15:12] <cyphermox> fortunately the promotion part should be easy enough
[15:12] <flexiondotorg> cyphermox, This is why I am interested in oem-config ;)
[15:12] <flexiondotorg> https://ubuntu-mate.org/blog/ubuntu-mate-hardware-partnership-with-entroware/
[15:12] <flexiondotorg> cyphermox, Thanks.
[15:13] <cyphermox> yes, of course. you told me before :)
[15:13] <cyphermox> is that with your fixed up oem-config that runs on boot?
[15:14] <cyphermox> it would be nice if you could try to make oem-config.target Wants=getty@tty2.service (like I mentioned before), and see if while oem-config is running, there might be something else running as the oem user
[15:16] <cyphermox> hey! found the broken testcase for image promotion. it's just not wise enough
[15:33] <flexiondotorg> cyphermox, I will try  oem-config.target Wants=getty@tty2.service
[19:32] <cyphermox> flexiondotorg: did you find anything useful?