=== chihchun_afk is now known as chihchun === chihchun is now known as chihchun_afk [09:18] hello! [09:21] I'm going to buy a Dragonboard 410c I wonder if it is possible to rotate the screen? [09:21] (HDMI output) [09:22] I wish to have a display in portrait mode [09:23] zzarr, we have no graphical support on the dragonboard yet (in snappy ... not sure there wil be non-snappy images for it ) [09:24] I though that the xenial image had Mir support for it [09:24] if you throw something together yourself (i.e. to use X11 on a standard minimal install) there seems to be a freedreno based xserver from linaro though [09:24] there will be Mir support for it in the snappy image at some point, for sure [09:24] current focus is on IoT and headless though [09:27] ogra_, this is a quote from alan_g "So what I did was install the vivid based image from 96boards and then update from the xenial archive. Then Mir 0.20 works." [09:27] zzarr, well, then 6talk to 96boards, or linaro or so ... thats nothing we produce [09:27] I also said this was hardly a supported approach [09:27] alan_g, I missed that [09:28] but it is a real Ubuntu right? [09:28] we have a kernel in the archive ... but i doubt any of the tradition installers will ever get support for this device ... there are many biary blobs involved to even boot [09:29] so it is unlikely yoou will see official traditional images for it [09:29] (snappy OTOH will get graphical suport at some point, but is still a bit away from that) [09:30] 96boards produce a vivid based image and instructions for installing that. Updating that from the xenial archives works well enough to prove Mir works, but isn't what anyone will provide support for. [09:31] yeah [09:31] well, what matters for me right now is that I can boot a graphical system (X or Mir) that can run a custom application written in Qt Creator (by me) [09:32] that should even just work with fbdev [09:32] (though, not at stellar speed i guess :) ) [09:32] and that I can rotate the screen to portrait [09:32] okey, that's nice :-D [10:06] order placed :-D [10:10] alf_: do you want to review before I TA? https://code.launchpad.net/~raof/mir/new-display-api/+merge/286975 [10:22] okey, I guess that you all are (not) itching to know what I'm going to do with the board, I'm going to make a "smart mirror" [10:24] there are a type of mirror film that reflects from one side, but lets light through in the other direction [10:24] so I figured that I should make a mirror with a touch screen behind [11:05] alan_g: I'll take a quick look === alan_g is now known as alan_g|lunch === alan_g|lunch is now known as alan_g === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === dandrader is now known as dandrader|lunch === dandrader|lunch is now known as dandrader [16:44] Hi everyone! I am trying to Install Ubuntu-Desktop-Mir on a new Bootstraped Rootfs but somehow i am not able to pass the Login Screen after the Boot. Can somebody please tell me what are the Steps to install a full functional Ubuntu Touch Desktop on a bootstraped ubuntu rootfs please? [16:49] xperia: perhaps you are seeing bug 1549455 [16:49] bug 1549455 in unity8 (Ubuntu) "Unity 8/Mir doesn't load" [High,Incomplete] https://launchpad.net/bugs/1549455 [16:55] alan_g: its exactly this Bug! have the same Problem like Described. [16:56] alan_g: is this somehow related to unity8 becouse if i try also just to install the newest version of ubuntu-desktop its same. [16:57] xperia: sorry, I've not been actively following the problem, just thought it sounded similar [17:01] xperia: There is some entropy issue that can cause failed logins. Have you waited a while after a reboot to try to log in? A while meaning at least 30 seconds, but maybe even longer just to be sure. [17:01] That issue bites me all of the time:-( [17:03] * ChrisTownsend Tries to find the entropy bug... [17:05] https://bugs.launchpad.net/mir/+bug/1536662 [17:05] Launchpad bug 1536662 in Mir "[regression] Black screen: Mir hangs and then crashes on startup/login due to reading from /dev/random" [High,In progress] [17:13] bschaefer: ^ [17:13] ChrisTownsend, xperia hmm that *should* be fix with umm [17:13] uSC [17:14] 0.4.1? or 0.4.2 [17:14] * bschaefer checks [17:14] bschaefer: Really? I thought I hit it the other day. [17:14] hmm [17:14] * ChrisTownsend Tries [17:14] bschaefer: is USC used for Ubuntu-Desktop-Mir? [17:14] * alan_g forgets [17:14] alan_g, as far as i know? It should be? [17:15] ChrisTownsend, would you oknow :)? [17:15] Yes, u-s-c is used in a Unity8/Mir desktop session. [17:15] im fearful this fix was said to be fixed but never released... [17:16] (which is slightly my own doing ... since i had to revert it last minute but didnt revert it from trunk) [17:16] * bschaefer double checks it made it [17:16] bschaefer: I still have the issue on my fully updated xenial machine. [17:17] ChrisTownsend, alright hmm let me check the package source [17:17] bschaefer: Ok [17:17] ChrisTownsend, one thing you can do is make a bunch of noise with your devices :) [17:17] in hope that it generates some entropy [17:18] bschaefer: lol, yes, but that's not really a workaround. [17:18] huh the fix is there... [17:18] ChrisTownsend, strange, do you have a log by chance :) [17:18] * bschaefer must have put the override in the wrong place maybe [17:19] bschaefer: I can get one. Is it in u-s-c.log? [17:19] ChrisTownsend, yeah [17:19] ChrisTownsend, since the current *fix* should just create a dummy cookie factory, but i wasnt ever really able to test it === attente_ is now known as attente [17:22] bschaefer: Here is the log: http://pastebin.ubuntu.com/15207496/ [17:22] bschaefer: I'm going to try to log into the machine now after having let it sit for a while. [17:22] bschaefer: And now it works. [17:22] bschaefer: So fix is not working as expected. [17:28] ChrisTownsend, thanks! [17:28] yup [17:28] bschaefer: Sure, np! [17:29] hmm i dont see anything about that log [17:29] * bschaefer attempts to reproduce it [17:29] ChrisTownsend, easier to reproduce on a reboot? [17:29] bschaefer: Yes, it has to be after a reboot. [17:30] thanks [17:30] bschaefer: Sure [17:38] alan_g, is the default server config all loaded before overrides take in effect (for an overriden mir::Server?) [17:38] * bschaefer is wondering if we *attempt* to create a cookie authority, then override it [17:39] looks like it depends on ... if the function is called or not? [17:39] ie. the_cookie_authority() [17:39] ChrisTownsend: Thanks a lot for your Tips! I waited 5 Minutes but nothing happens. Just the Background Screen is showed and nothing else. Looked at all Logs but could not find any usefull information to find out what the Problem could be to solve. With Ubuntu Desktop i have the Same Problem. No Laucher and No Top Bar is showed. I am able however with the Right Mouse to Start Programms Like... [17:39] ...Nautilus and Navigate trough all dirs. Just Windows Frame Border is missing around it. Its Strange. Some worte its related to the GPU Driver. [17:39] Shouldn't be - overrides should throw if anything has been built [17:40] ChrisTownsend, idk if thats the same issue ^ [17:40] xperia: Hmm, ok, definitely sounds like you have some other issue. Unfortunately I have nothing else to add at this time:-( [17:40] if you hit this issue your desktop wouldnt do anything [17:41] alan_g, thanks! [17:41] bschaefer: Right, just black screen and maybe it eventually crashes back to lightdm. [17:41] ChrisTownsend, hmm since last time you did see a log info about it? [17:41] soo this could be a different issue, but could be related... [17:42] ie. see the log say NOT ENOUGH ENTROPY? [17:42] bschaefer: Well, it's the same symptom, but maybe a different cause. [17:43] true hmm i wonder if my override is doing something bad... [17:43] bschaefer: I'll try again and see if anything is in the unity8.log since that is not starting. [17:43] ChrisTownsend, alright, im also going to upgrade and check it out (soo ill most likly be off irc) [17:44] * bschaefer should really get a test laptop [17:45] bschaefer: This is the unity8.log: http://pastebin.ubuntu.com/15207712/ [17:45] hmm [17:45] if it was the entropy issue... i wonder [17:45] you would expect [17:46] to see Not enough entropy like you saw before? [17:46] bschaefer: But u-s-c.log looks sane. [17:46] bschaefer: The only thing I would see before in u-s-c.log is an exception line which I'm not seeing now. [17:46] but same symptoms, ie. once you generate enough *entropy* or do things enough [17:46] hmm [17:46] bschaefer: Right [17:47] if it was an issue with my override you would expect to see the issue *every* time [17:47] * bschaefer will be upgraded soon [17:47] ill look at it [17:47] bschaefer: I do see the issue every time if I don't wait long enough before logging in. [17:48] thats strange [17:48] bschaefer: I just don't see std::exception(blah) in u-s-c.log like I would before. [17:48] best would be if there is a possibility haveƮng a very verbose version of ubuntu-desktop-mir that can be installed to see what exactly is happening and where it hangs. [17:48] thats my starting plan :) [17:49] reproduce, recompile/test [17:49] bschaefer: Yeah, you should get a testing laptop. One for that purpose would be pretty cheap. [17:49] yeah [17:49] i would need to have a armhf version of it [17:51] xperia, err this isnt the desktop? [17:51] deskop is x86/amd64 [17:52] * bschaefer goes to test and logs of irc [17:52] well have the same problem with ubuntu-desktop and ubuntu-desktop-mir [17:52] mir is touch gui of ubuntu desktop [17:53] btw just to be sure that i have doen everything right [17:53] what for steps are needed to install ubuntu-desktop-mir inside a chrooted debootstrap rootfs? [17:54] is apt-get install ubuntu-desktop-mir only needed or it is requered to do more like modify some scripts add aditional users and so on ? [17:54] maybe is realted also to some missing additional config steps. [17:55] xperia: Sounds to me you are doing something *very* custom. [17:55] yeees i am trying to port ubuntu touch desktop to a new device [17:55] ChrisTownsend, hmm getting a different issue [17:56] it works actually. ubuntu boots on new device. login screen is showed. i am able to login but after this just background and nothing else. [17:56] ChrisTownsend, http://paste.ubuntu.com/15207808/ [17:56] xperia, yeah that sadly isnt the same issue im looking at :( or suspecting [17:57] xperia: I don't think your pulling in a desktop environment. You probably need unity8. [17:57] bschaefer: You may need to remove some package. [17:57] :| [17:57] yeah [17:57] figured [17:57] bschaefer i am sure we have both the same problem [17:57] but which ones haha [17:57] its the gpu driver [17:57] xperia, but you see unity8 right? [17:58] err or based on my log? [17:58] what for a gpu do you have ? [17:58] some intel one [17:58] * bschaefer looks [17:58] do sudo lsmod [17:58] 00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) [17:59] and what does sudo lsmod show [17:59] on my side the gpu driver is not loaded but it looks like its needed for the display of the Ubuntu GUI [18:00] i915 [18:00] need to work on this. loading of the rigth gpu driver on my side. === alan_g is now known as alan_g|EOW [18:00] bschaefer: Did you apt-get autoremove any unneeded packages? [18:01] o lots [18:01] bschaefer: Also, what mir mesa packages to you have? [18:03] ChrisTownsend, 4 [18:03] * bschaefer also isnt sure which mesa package you're refering to :) [18:03] mir-client-platform-mesa4:amd64 [18:04] ii mir-platform-graphics-mesa-kms7:amd64 0.19.3+16.04.20160212-0ubuntu1 amd64 Display server for Ubuntu - platform library for KMS Mesa [18:04] ii mir-platform-graphics-mesa-x7:amd64 0.19.3+16.04.20160212-0ubuntu1 amd64 Display server for Ubuntu - platform library for X11 Mesa [18:04] bschaefer: lol, yeah, those are what I was talkin' 'bout. [18:05] bschaefer: from your Log it Load this Graphic Library here => graphics-mesa-kms.so.7 then it try to load mircommon Kernel Module => mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.4 [18:05] and it crashes. I am sure its related to Driver like on my Side. [18:05] [2016-02-26 09:53:07.267594] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.5 [18:05] [2016-02-26 09:53:07.268073] mircommon: Loading module: /usr/lib/x86_64-linux-gnu/mir/server-platform/input-evdev.so.4 [18:05] xperia, try doing a auto remove of packages [18:05] * bschaefer just removed a bunch [18:05] let me reboot [18:09] hmm now gtk3 wont load :| [18:09] umm [18:09] ChrisTownsend, same issue let me check [18:10] bschaefer: Why does this stuff have to be so temperamental????:) [18:10] :|||| [18:11] ChrisTownsend, not sure :( and im pretty sure this is blocking your stuff atm? [18:11] hmm [18:11] bschaefer: You have the same platform module issue? [18:11] bschaefer: From you previous pastebin that is? [18:11] ChrisTownsend, yeah [18:11] bschaefer: Mine is not a client platform module issue. [18:12] i just upgrade a bunch though... [18:12] upgraded* === dandrader is now known as dandrader|afk [18:19] bschaefer: It looks like from your pastebin, it is trying to load an older version of the driver .so's. Here's yours: server-mesa-x11.so.7 and graphics-mesa-kms.so.7. Mine are both .8. [18:19] Dang, he just left. [18:22] ChrisTownsend, hmm works fine for me [18:22] unity8 :| [18:22] takes 5-8 seconds to load [18:22] but idk if thats normal or not... [18:23] dam entropy pool [18:23] bschaefer: You mean you can (fairly) immediately get to Unity8 after a reboot. [18:23] ? [18:23] ChrisTownsend, yeah [18:23] twice in a row from boot [18:23] bschaefer: 5-8 seconds is normal. [18:23] yeah [18:23] bschaefer: Never works for me. [18:23] let me ... write something that will drain my entropy [18:23] ChrisTownsend, try to do a dist-upgrade? [18:23] and what version of USC do you have [18:23] bschaefer: I did as of about an hour ago. [18:24] dang [18:24] $ apt-cache policy unity-system-compositor [18:24] hmmmm [18:24] unity-system-compositor: [18:24] Installed: 0.4.2+16.04.20160219.1-0ubuntu1 [18:24] yeah [18:24] hmm [18:25] but yeah let me write something that will drain my entropy pool then attempt to log in [18:26] bschaefer: It should be emptied on reboot, no? [18:26] entropy gets generated from devices [18:26] starting from boot [18:26] bschaefer: Maybe you have busy devices?:) [18:26] soo it really depends on how much *gets* generated on boot [18:26] haha [18:26] i didnt touch anything [18:26] in hopes to get something... [18:27] ChrisTownsend, you can do: cat /proc/sys/kernel/random/entropy_avail [18:27] maybe if you can try to print that out in tty1 ... before logging into unity8 to see how much you have? [18:27] bschaefer: Also, before, it would crash back out to lightdm and I'd get the exception message in u-s-c.log, but now, it just sits at the black screen. [18:28] bschaefer: Ok, I'll try that. [18:28] ChrisTownsend, hmm [18:28] vogons any other changes in USC/boot stuff with mir that could cause a black screen with no message? [18:28] * bschaefer still assumes my code somewhere but i can reproduce [18:29] ChrisTownsend, the thing is *all* we need is 1 byte [18:29] of entropy [18:29] err 1 bit [18:29] all we need to know is we can read from it, as we select(..) on /dev/random [18:29] which should tell us its ok to read from [18:29] bschaefer: Hmm, ok. entropy_avail showed stuff and it worked. [18:29] ChrisTownsend, yeah ... im worried that you logging into your tty [18:29] will cause entropy [18:29] bschaefer: Probably [18:30] with the clickity clackity of the keyboard [18:30] ChrisTownsend, how much? [18:30] bschaefer: Actually, it's through ssh, but NIC has activity [18:30] ChrisTownsend, like pretty low? 20-30? [18:30] or high? [18:30] bschaefer: Wouldn't typing on the keyboard to log in create entropy? [18:30] yes [18:30] bschaefer: It was in the 30 range. [18:30] but [18:30] maybe not [18:31] ChrisTownsend, o thats super low [18:31] bschaefer: This time, it didn't work. [18:31] mine is sitting at ~1000 right now [18:31] hmm 30? isnt enough [18:31] hmm i wonder if they collect entropy and dont write to /dev/random ... until? [18:31] 256 or something? [18:31] ChrisTownsend, keep checking the entropy? [18:31] is it going up? [18:31] that doesnt make sense though... [18:32] bschaefer: Strange, it went from 61 to 35. [18:32] bregma, would you have any ideas about entropy and when it would write to /dev/random? [18:32] ChrisTownsend, huh... is something eating it all up? [18:32] that *we* arent controlling? === mhall119_ is now known as mhall119 [18:32] bschaefer: Now, it's going back up...96. [18:32] that would make sense to me? You have low entropy on boot, then something eats all of it [18:32] bschaefer: But unity8 already failed. [18:32] hmm what caused it to drop... [18:32] right [18:32] No idea [18:34] bschaefer: Ok, I just tried it and entropy was at ~17 and unity8 failed to load. [18:34] ChrisTownsend, can you do a watch -n on your ssh? [18:34] while you're about to boot unity8? [18:34] so you can see if it drops to 0? [18:35] ok, I'll try it [18:36] we dont even read from that FD [18:36] all we do is, open /dev/random, select on that FD [18:36] and when it becomes ready, we drop, then read from it [18:36] but that code *shouldnt* be running [18:36] :| [18:37] since we override it with a nothing factory [18:37] but does it actually get overriden... it should throw if something is there...but let me check [18:37] bschaefer: I saw entropy drop twice. I'm going to see if it does this without trying to log in to unity8. [18:38] drops to 0? [18:38] ~0, definitely single digits. [18:38] yeah [18:39] ChrisTownsend, because once we see /dev/random is open to be read, we then drop to use /dev/urandom... which wont block on that [18:39] but we shouldnt be using that code... haha... ok umm [18:39] bschaefer: Hmm, so as soon I start typing in my password in lightdm, it drops to ~0. [18:39] i need to be able to reproduce this [18:39] hmm what? [18:39] pam? [18:39] * bschaefer wants to blame pam [18:39] but i wont [18:39] bschaefer: Not even hitting enter, so not pam. [18:40] but doesnt lightdm interact with lightdm? [18:40] before enter? [18:40] * bschaefer cant find the override the cookie factory function? [18:40] i must be blind as i remember writting it [18:40] bschaefer: So I see it drop to 0, then wait to let it build again, and then it works. [18:40] yeah [18:40] soo yeah something is eating the entropy pool, but i dont see why we would block on that? [18:40] if anything exists [18:40] we wait 30 seconds [18:41] for /dev/random to be working again [18:41] bschaefer: I don't think unity8 waits 30 seconds. [18:41] and also this function shouldnt even be running... [18:41] yeah [18:41] but it jumps back up quickly [18:42] bschaefer: unity8 fails saying connecting to Mir has failed which must be the time it is waiting for entropy to build. [18:42] o yeah that function gets generated... [18:42] bschaefer: I think it's a race. [18:42] yeah [18:42] dang [18:42] ChrisTownsend, but but but ... it shouldnt be running that code :) [18:42] but i guess it must [18:42] as this makes to much sense [18:42] bschaefer: Well, not sure what to say. [18:42] but where is that expection? [18:43] yeah im just rambling to my self [18:43] I know you are:) === dandrader|afk is now known as dandrader [18:44] hmmm [18:44] bschaefer: If whatever is eating the entropy didn't eat it, then I think it would be fine. [18:44] ChrisTownsend, let me do some testing, to see what happens when i drop my entropy pool to 0 but just looping for ever with a [18:44] random call [18:44] bschaefer: Ok. [18:44] ChrisTownsend, yeah i bet it wouldnt but ... we should wait a few seconds [18:44] which should be enough to recover? [18:45] ChrisTownsend, how fast do it come back? [18:45] bschaefer: I think if I type my password in slowly enough in lightdm, then it'll work. [18:45] ChrisTownsend, ill be logging out...bb in like ~10-15 [18:45] haha [18:45] bschaefer: Fairly fast [18:45] ChrisTownsend, but it seems to do the check in an instant [18:45] yeah [18:45] bschaefer: Well, u-s-c is happy, it's that unity8 is not patient. [18:45] which 1 second *should* be enough time of waiting? I wonder of unity8 just instantly fails? [18:45] yeah [18:46] hmm soo if unity8 waited like 1 second when attempting to create the mir server? [18:46] bschaefer: Yeah, the unity8 upstart is just fired off and it does it stuff immediately. [18:47] didnt we use to have a spinner/sleep for this? [18:48] * bschaefer relogs and messes around [18:48] bschaefer: Some sort of query of u-s-c from unity8 would be nice, like "Hey, u-s-c are you ready?", and u-s-c is like, "Nope", and unity8 waits a bit before trying again. [18:48] yeah that would be nice ... [18:48] brb [18:48] ok [18:53] ChrisTownsend, yeah i can reproduce when i do: cat /dev/random then attempt to log in [18:54] and my entropy drops to ~0 then climbs to 20-30 but yeah mir server does not start [18:54] (from the unity8 log) [18:54] but my USC log is normal... [18:54] * bschaefer wonders if he can reproduce this issue on a tty [18:54] with a demo server [18:54] bschaefer: Ok. IS most definitely a race in that u-s-c is not quite ready when unity8 starts up. [18:55] yeah [18:55] but ... hmm why [18:56] bschaefer: You mean why is u-s-c not ready? [18:57] ok... dont cat dev random and attempt to start a server in the tty... that will lock the machine up [18:58] ChrisTownsend, yeah on the demo server it locks up... but once i stop cating /dev/random the server works perfectly [18:58] sooo the issue is unity8 not waiting a mirco second once we attempt to start login [18:59] or start it [18:59] (well an issue) [18:59] bschaefer: Well, any way to make u-s-c ready sooner, like before? Or does it have to wait on some entropy? [19:00] ChrisTownsend, well USC shouldnt need entropy... [19:00] but i should stop saying that [19:00] hm [19:00] bschaefer: Or whatever it is? It's obvious that *something* related to Mir needs it. [19:00] yeah [19:01] bschaefer: what happened with the make the wait for dev random asynchronous? [19:01] bschaefer: If I wait long enough then watch entropy, then log in, entropy doesn't drain and all is fine. [19:01] anpok, does anything else input wise depend on /dev/random on boot? Im pretty sure the cookies is the issue [19:01] +plan [19:01] anpok, needs to be done [19:01] i should write that and test it fixes this [19:01] bschaefer: You have a task! [19:01] :) [19:01] anpok, thought the USC fix would be a good hold until then [19:01] :) [19:01] but [19:02] the confusing part is the USC fix seems to do nothing but remove the throw? [19:02] there is another problem? [19:02] bschaefer: In all fairness, the time needed to wait before logging in is much less than before. [19:02] ... well the throw is no longer happening but thats most likely due to unity8 puking beofr ehtne [19:02] yeah [19:02] ah yes.. [19:03] anpok, my worry was, that i override the cookie factory [19:03] after the cookie factory is asked to be made [19:03] so u8 is adding the cookies to input events, right? (where is that actually happedning?) [19:03] -d [19:03] ie. when the_connection_creator [19:04] anpok, nope, this is all on boot [19:04] soo if i did a lazy eval [19:04] the secret shouldnt be generated... [19:04] until libinput generates an event for u8 [19:04] aehrm [19:04] that is a keyboard/mouse [19:04] libinput is not in the u8 process [19:04] :| [19:04] anpok, how does it get event [19:05] events*? [19:05] a mir surface? [19:05] yes [19:05] which ... would be libinput? on mirs side [19:05] as u8 does not use the cookies yet [19:05] the one the nested display creates for each output the nested servers uses [19:05] afaik [19:05] yes [19:06] so the libinput-input platform reads events and attaches an empty cookie to it.. [19:06] anpok, im pretty sure... whats happening in usc [19:06] i override the cookie factory after [19:06] the WM builder is overriden [19:06] and when the WM builder is overriden it uses [19:06] like the focus controller and a few other things [19:06] which will end up building the cookie authority [19:06] before we overrid [19:07] * bschaefer checks thats the issue [19:08] hm nothing should be created when you are still allowed to inject implementations [19:09] anpok, but ... what if you do [19:10] anpok, http://paste.ubuntu.com/15208526/ [19:10] anpok, yeah actually ... those are just functions [19:10] that arent called until [19:10] after that... [19:10] :| [19:10] yeah [19:10] so much for that idea... as i've no clue *why* it even thinks it want entropy [19:10] ie. i've no clue why it doesnt use the stub version [19:11] thats most troubling... hmm [19:11] oh but it is usc failing to start or u8 [19:12] anpok, both [19:12] usc is failing, then u8 freaks out [19:12] and says mir server could not start [19:12] anpok, but it also waits for a micro second to do this as well [19:13] if it only gave usc ~500ms it *should* be fine [19:13] I don't think u-s-c is failing per se as it's up and running. It's u8 failing because it seems u-s-c is not "ready". [19:13] since ChrisTownsend is losing entropy when he types [19:13] and USC blocks for a little bit waiting for /dev/random [19:13] but unity8 sees this as a failure [19:13] and terminates [19:13] bschaefer: but why would usc wait for /dev/random? [19:13] or just logs an issue and stops [19:14] anpok, well from the cookie authority ... even though i override it... [19:14] anpok, i just can seem to reproduce this when theres little entropy [19:14] I think maybe u8 should try more than once befroe giving up, maybe adding some delay between tries and then giving up after x amount of tries. [19:16] Yeah, only seems to occur for me when entropy is maybe less than 30, but that's just observation, not a measured threshold. [19:16] bschaefer: but there is only one place in the code.. and you seem to override that.. [19:17] bschaefer: are you sure the right versions are being used? [19:17] anpok, i know... thats my confusion this entire time... [19:17] anpok, yeah i grabed the source from universe :( [19:17] anpok, which is why im wondering... if the override didnt work? [19:18] for w/e reason... [19:19] * bschaefer attempts to override the demo server... [19:21] anpok, but the override has to be working [19:21] because it was crashing before [19:22] anpok, does anything else depend on random? [19:22] * bschaefer cant think of it [19:24] anpok, umm im reading this... and i dont override the create functions... [19:25] but the create should be... [19:25] the override lambda it self [19:26] ChrisTownsend, thanks i think i've enough to work with [19:26] * bschaefer finds a better solution here [19:26] bschaefer: Oh good! [19:26] bschaefer: Thank you too! [19:26] np! [19:43] urg stub works perfectly in the demo server [19:45] anpok, the nested serer... vs the usc server [19:45] wouldnt both need to be overriden? [19:59] bschaefer: well .. i thought one shoud be the cookie authority for the session? [19:59] anpok, but .. doesnt unity8 make its own server? with its own overrides and everything? [20:00] sure [20:00] soo unity8 will be depending on /dev/random [20:00] since we dont override that server? [20:00] (but it will be needed) [20:00] soo we cant soo yeah let me create the lazy eval [20:01] and it should fix the issue... [20:01] yes [21:53] ChrisTownsend, ok i have a fix [21:54] test confirmed (being able to log in with cat /dev/random going on, and while smashing the keyboard) [21:54] soo the delay in creating the secret is enough to allow for usc to start and unity8 to be so it gives it time to create the secret