**** BEGIN LOGGING AT Tue Oct 25 02:59:57 2011 Oct 25 06:03:41 So, who's alpha testing Tailor ? Oct 25 06:03:47 me! Oct 25 06:04:02 ok, any problems with 0.0.6 ? Oct 25 06:04:51 not that I have seen. Oct 25 06:05:23 except I can't resize the ext3fs anymore Oct 25 06:05:50 because it drops me into file resize and when I go to up the partition size it reverts. Oct 25 06:06:39 so we have lost functionality :D Oct 25 06:08:01 run me through that sequence? Oct 25 06:08:22 resizefat lower Oct 25 06:08:31 lvresize /media/internal Oct 25 06:08:35 (lower) Oct 25 06:08:56 drops me into ext3fs (already there) in filesystem resize Oct 25 06:09:13 Tailor does not do those commands yet. Oct 25 06:09:24 Are you referring to using Tailor, or something else? Oct 25 06:09:30 sorry. Oct 25 06:09:37 let me rephrase Oct 25 06:09:46 chose resize filesystem Oct 25 06:09:54 (on media/internal) Oct 25 06:09:55 I can select ext3fs, unmount, check, resize partition fine. Oct 25 06:10:08 let me try 1 more time. Oct 25 06:10:17 2X it didn't do that. Oct 25 06:10:43 restarting Oct 25 06:10:53 don't tap in the Select Partition part between check and resize partition Oct 25 06:11:05 I didn't Oct 25 06:11:24 it dropped me into ext3fs after finishing the "resize" of media/internal Oct 25 06:11:56 run me through the sequence, using Tailor terminology this time Oct 25 06:12:00 kk...jas Oct 25 06:12:44 comes up wihth USB selected, and unmount partition Oct 25 06:12:50 unmount partition. Oct 25 06:12:58 check filesystem Oct 25 06:13:27 yep Oct 25 06:13:36 USB partition, resize FS, Oct 25 06:13:50 resize FS to 15000 Oct 25 06:13:52 yep, that's the default, no need to tap anything for that Oct 25 06:14:08 yep, done Oct 25 06:14:23 now at resize partition (USB) Oct 25 06:14:27 yep Oct 25 06:14:44 17000 resize partion Oct 25 06:15:00 yep Oct 25 06:15:01 mounted partition Oct 25 06:15:15 and...its reverted Oct 25 06:15:19 yep, mount does a refresh Oct 25 06:15:24 okay starting over Oct 25 06:15:27 always has Oct 25 06:15:59 refresh reverts any simulated values Oct 25 06:16:31 now, go to choose User(ext3) Oct 25 06:16:42 unmount Oct 25 06:16:47 checking fs Oct 25 06:17:11 and...its reverted Oct 25 06:17:46 what is reverted? Oct 25 06:17:48 so back to square 0 Oct 25 06:17:52 sizes Oct 25 06:17:56 what sizes? Oct 25 06:17:57 all back to REAL. Oct 25 06:18:06 USB User, Unused Oct 25 06:18:25 right. mount does a refresh. refresh reverts simulated values. always has. Oct 25 06:18:33 no mount Oct 25 06:18:35 unmount Oct 25 06:18:38 check FS Oct 25 06:18:48 you said you mounted USB Oct 25 06:18:59 this time I didn't Oct 25 06:19:11 left it unmounted Oct 25 06:19:17 ok, start the sequence again, from the top. Oct 25 06:19:30 single run, no deviations or this times. Oct 25 06:19:41 start: Oct 25 06:20:02 1) USB Partition is selected by default Oct 25 06:20:10 2) unmount partition Oct 25 06:20:17 3) check filesystem Oct 25 06:20:27 4) resize filesystem (lower) Oct 25 06:20:36 5) resize partition Oct 25 06:20:46 6) select User(ext3) Oct 25 06:20:54 7)unmount Oct 25 06:21:02 8) check filesystem Oct 25 06:21:07 *reverts* Oct 25 06:21:24 not here Oct 25 06:21:33 4X now its done it Oct 25 06:21:47 do you have a ext3fs on that box? Oct 25 06:21:54 or are you starting fresh? Oct 25 06:21:55 yes Oct 25 06:22:03 yes, starting with appmenu->refresh Oct 25 06:22:29 my ext3fs is not mounted, so I skip #7 Oct 25 06:22:44 okay let me try this Oct 25 06:22:54 start off by unmounting everything Oct 25 06:22:59 then go thru it again. Oct 25 06:23:19 since I am not sure which is doing what I am seeing. Oct 25 06:24:18 no mounts, select usb, check usb, resize usb fs 1500, resize usb part 1700, select ext3, check ext3. Oct 25 06:24:40 okay your flow doesn't do that Oct 25 06:24:51 it does what I showed you. Oct 25 06:25:03 6,7,8 Oct 25 06:25:14 I just did: "no mounts, select usb, check usb, resize usb fs 1500, resize usb part 1700, select ext3, check ext3" Oct 25 06:25:49 at that point, I can select usb or ext3 and space and sizes are simulated correctly Oct 25 06:25:58 okay 1 more time. Oct 25 06:26:09 this time I will unmount everything first. Oct 25 06:26:24 (however that is not the flow of the app) Oct 25 06:28:08 okay, that works as you said. Oct 25 06:28:20 I am following what the UI flow prompts are doing Oct 25 06:28:38 and that fails as I described it. Oct 25 06:30:03 okay your method does work as advertised Oct 25 06:30:12 however that is not the flow of the app. Oct 25 06:30:27 mount and unmount refresh Oct 25 06:30:35 refresh resets simulation Oct 25 06:30:49 right, but you were asking me to check the flow of the app.... Oct 25 06:30:58 so I was following the flow. Oct 25 06:31:00 :D Oct 25 06:31:08 yes, and the results are as expected Oct 25 06:31:22 then we are off to the next thing. Oct 25 06:31:42 "because it drops me into file resize and when I go to up the partition size it reverts." is very different from "sizes are refreshed on a mount or remount" Oct 25 06:32:00 yes, I am wrong about this. Oct 25 06:32:17 so, next is resizefat Oct 25 06:32:24 wait one please? Oct 25 06:32:33 I added a 3rd partition Oct 25 06:32:35 android Oct 25 06:32:49 and it failed fscheck..expected? Oct 25 06:33:53 is it a real partition, or a simulated one? Oct 25 06:33:58 sim Oct 25 06:34:03 of courese\\ Oct 25 06:34:05 duh Oct 25 06:34:06 nm Oct 25 06:34:08 can't check simulated partition Oct 25 06:34:15 right, but its stuck now. Oct 25 06:34:16 oaky Oct 25 06:34:29 sim issues...moving on. Oct 25 06:35:11 resizefat Oct 25 06:35:24 are you concerned about no feedback? Oct 25 06:35:48 when I do it manually using the script it provides feedback. Oct 25 06:35:53 console feedback. Oct 25 06:35:54 well, I'm hoping the % complete numbers come through to the UI Oct 25 06:36:02 they should] Oct 25 06:36:29 I would check for a missing termination character that node is looking for. Oct 25 06:36:48 ie maybe LF only not CR/ Oct 25 06:36:50 LF Oct 25 06:37:26 so when the app quits it sends the term character. Oct 25 06:37:58 or may be CR and no LF. Oct 25 06:42:13 want me to get a capture of the output and look? Oct 25 06:44:21 it seems the node_fork_server is exiting, and cannot fork a new copy cause /media/internal is unmounted Oct 25 06:44:58 makes sense Oct 25 06:45:08 suggestion? Oct 25 06:45:30 dunno why it's exiting Oct 25 06:45:48 when cryptofs is offline all bets are off. Oct 25 06:46:05 if it didn't exit, all would be fine Oct 25 06:46:14 unless we run it out of a ramfs. Oct 25 06:46:24 (which is what most resizers do) Oct 25 06:51:54 * rwhitby bbl Oct 25 15:46:42 hmm how hard would it be to throw together a webos app that wrapped upstart? Oct 25 15:46:55 more clearly that listed the various services and let you restart them? Oct 25 15:47:11 (or start/stop/issue custom events as makes sense) Oct 25 15:47:28 seems like something impostah should do :P but maybe not Oct 25 16:28:15 dtzWill, not hard, we can use the same method as save restore uses to call via a C-Service or learn node.js enough to use that. Oct 25 16:28:47 the hard bits for me are the mojo/enyo front end stuff. Oct 25 16:32:42 yeah, if nothing else xecutah has the pieces to start/stop misc jobs Oct 25 16:32:55 just need to enumerate them and throw up some buttons like in save/restore Oct 25 16:34:34 ya, okay so we would have a whitelist like xecutah too? Oct 25 16:34:46 so it can't randomly start/stop stuff. Oct 25 16:35:29 just don't call it Upstartah :P Oct 25 16:56:31 oh Oct 25 16:56:31 well Oct 25 16:57:08 xecutah needs that beause it's expected to be used by misc users Oct 25 16:59:25 you mean add that functionality to xecutah? Oct 25 17:00:05 no, i'm just saying the security model of whitelisting makes sense for software that is aimed at users Oct 25 17:00:16 a "i know what i'm doing tool" that stays simple and just lets you bounce upstart jobs Oct 25 17:00:31 meh, like i said maybe it belongs in impostah, shrug Oct 25 17:02:04 ya, Oct 25 20:03:15 dtzWill, I'm sure that rwhitby will know where it belongs :D Oct 25 20:06:59 hehe yep Oct 26 02:02:53 ka6sox: seems that a node.js spawn of a process that returns false will cause the node_fork_server to exit the existing node process (which we are so carefully trying to keep running) and try to start a new one Oct 26 02:03:13 I replaced the fatresize call with a call to "false" and get the same bad behaviour Oct 26 02:08:05 rwhitby, I seem to remember that things would run along till you forked or tried to spawn a child process. Oct 26 02:08:35 when cryptofs is offline (like when we had optware in a loop in cryptofs) Oct 26 02:09:17 ie: an established ssh session would remain, but trying to connect a second time would fail. Oct 26 02:10:03 the spawn seems to occur correctly. it's the return false which causes the issue it seems. Oct 26 02:10:16 let me test that with a "sleep 10 && false" command Oct 26 02:10:21 kk Oct 26 02:11:57 hmm - looks like you're right. the spawn fails immediately, not after 10 seconds Oct 26 02:12:45 that is what was happening to ssh Oct 26 02:12:55 except I just ran this with cryptofs still mounted Oct 26 02:13:04 so it's not a cryptofs or media unmounted issue Oct 26 02:13:26 hmmm.... Oct 26 02:13:29 scratch that then. Oct 26 02:13:55 you are using a node call to that? Oct 26 02:14:31 scratch that, the test was invalid Oct 26 02:14:35 kk Oct 26 02:15:09 ok, valid test, waits 10 seconds before failing Oct 26 02:15:38 the return code is false? Oct 26 02:15:42 change to "sleep 10 && true" to test opposite case Oct 26 02:16:53 hmm - that fails too Oct 26 02:18:07 just "bin/true" fails too Oct 26 02:18:40 is cryptofs disconnnected? Oct 26 02:18:44 or still working? Oct 26 02:19:52 cryptofs is still connected and working Oct 26 02:20:42 and the call is from the node service? Oct 26 02:21:12 ok, was missing the "subscribe":true from my command line testing luna-send calls Oct 26 02:21:16 restarting testing Oct 26 02:24:48 and it seems that's the error in my app too :) Oct 26 02:25:54 well..thats a better fix than something else. Oct 26 02:27:54 awesome, got to test the filesystem check with an actual filesystem error Oct 26 02:28:14 will need to change that to do a reboot required thingo Oct 26 02:28:51 so this will be like preware in that you can reboot or....I guess exit. Oct 26 02:29:10 well, you can do stuff with other partitions still Oct 26 02:29:29 but I might not allow that anyway Oct 26 02:29:34 if you have filesystem errors, you should reboot Oct 26 02:29:42 or fix Oct 26 02:29:53 well...we can't Oct 26 02:29:53 interestingly, a reboot didn't fix it Oct 26 02:30:00 which partition? Oct 26 02:30:04 usb Oct 26 02:30:11 hmmm Oct 26 02:30:19 are we going to allow fixes? Oct 26 02:30:35 or a button that says "attempt to fix?" Oct 26 02:38:03 I wouldn't Oct 26 02:39:24 okay, then we should tell them to fix it by mounting it on a windows machine and fixing it there? Oct 26 02:39:43 I was kind of hoping we could have a repair tool. Oct 26 02:39:51 (maybe thats yet another app?) Oct 26 02:40:47 maybe Tailor will repair Oct 26 02:53:52 now, what's the easiest way to induce filesystem errors to test this ... Oct 26 02:54:29 the repair? Oct 26 02:54:51 yep Oct 26 02:54:54 connect to your mac, and pull the plug with a file open Oct 26 02:54:55 I just added it **** ENDING LOGGING AT Wed Oct 26 02:59:57 2011