{"action":"created","issue":{"url":"https://api.github.com/repos/cisco-sso/kdk/issues/48","repository_url":"https://api.github.com/repos/cisco-sso/kdk","labels_url":"https://api.github.com/repos/cisco-sso/kdk/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/cisco-sso/kdk/issues/48/comments","events_url":"https://api.github.com/repos/cisco-sso/kdk/issues/48/events","html_url":"https://github.com/cisco-sso/kdk/pull/48","id":355282134,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExODQ3MjQ1","number":48,"title":"WIP: Windows10 keybase mount workaround via service","user":{"login":"dcwangmit01","id":1733071,"node_id":"MDQ6VXNlcjE3MzMwNzE=","avatar_url":"https://avatars0.githubusercontent.com/u/1733071?v=4","gravatar_id":"","url":"https://api.github.com/users/dcwangmit01","html_url":"https://github.com/dcwangmit01","followers_url":"https://api.github.com/users/dcwangmit01/followers","following_url":"https://api.github.com/users/dcwangmit01/following{/other_user}","gists_url":"https://api.github.com/users/dcwangmit01/gists{/gist_id}","starred_url":"https://api.github.com/users/dcwangmit01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcwangmit01/subscriptions","organizations_url":"https://api.github.com/users/dcwangmit01/orgs","repos_url":"https://api.github.com/users/dcwangmit01/repos","events_url":"https://api.github.com/users/dcwangmit01/events{/privacy}","received_events_url":"https://api.github.com/users/dcwangmit01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T18:33:08Z","updated_at":"2018-08-29T19:59:30Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/cisco-sso/kdk/pulls/48","html_url":"https://github.com/cisco-sso/kdk/pull/48","diff_url":"https://github.com/cisco-sso/kdk/pull/48.diff","patch_url":"https://github.com/cisco-sso/kdk/pull/48.patch"},"body":"@rtluckie  Here's the latest status.  The KDK fails to mount the keybase k:\\ directory on Windows.\r\n\r\nIt may be good to try to reproduce the issue.\r\n\r\nFirst, verify that the kdk cannot mount k: into \\keybase.\r\n\r\nSecond, verify that running mirror.exe to mirror k: into a different place c:\\keybase_mirror, and then mounting c:\\keybase_mirror into kdk at location /keybase does indeed work:\r\n\r\n```\r\nmkdir c:\\keybase_mirror\r\ncd C:\\Program Files\\Dokan\\Dokan Library-1.1.0\\sample\\mirror\r\n.\\mirror.exe /r k:\\ /l c:\\keybase_mirror /d\r\n```\r\n\r\nThird, note that running the kbfsdokan.exe manually into a second location such as m: and then attempting to mount it in the kdk fails.  This confirms that it is not a permissions issue\r\n\r\n```\r\nhttps://github.com/keybase/kbfs/tree/master/kbfsdokan\r\nkbfsdokan.exe -debug -log-to-file M:\r\n```\r\n\r\nSo, my current thoughts are that we need to write a kdk windows service that watches for k:, and if k: exists then mirror k: into c:\\keybase_mirror (it should undo the mirror if k: disappears).  As long as the c:\\keybase_mirror directory exists, even if it is empty, the kdk cant start up.  Later when mirror.exe is started, stopped, or restarted it is reflected in the kdk.\r\n\r\n/*\r\n  kdk windows service run-keybase-mirror\r\n  kdk windows service install\r\n  kdk windows service remove\r\n*/\r\n\r\nThe \"kdk windows service install\" installs the service, which calls \"kdk windows service run-keybase-mirror\".  Remove will remove it.\r\n"},"comment":{"url":"https://api.github.com/repos/cisco-sso/kdk/issues/comments/417085581","html_url":"https://github.com/cisco-sso/kdk/pull/48#issuecomment-417085581","issue_url":"https://api.github.com/repos/cisco-sso/kdk/issues/48","id":417085581,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzA4NTU4MQ==","user":{"login":"raoulbhatia","id":727412,"node_id":"MDQ6VXNlcjcyNzQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/727412?v=4","gravatar_id":"","url":"https://api.github.com/users/raoulbhatia","html_url":"https://github.com/raoulbhatia","followers_url":"https://api.github.com/users/raoulbhatia/followers","following_url":"https://api.github.com/users/raoulbhatia/following{/other_user}","gists_url":"https://api.github.com/users/raoulbhatia/gists{/gist_id}","starred_url":"https://api.github.com/users/raoulbhatia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raoulbhatia/subscriptions","organizations_url":"https://api.github.com/users/raoulbhatia/orgs","repos_url":"https://api.github.com/users/raoulbhatia/repos","events_url":"https://api.github.com/users/raoulbhatia/events{/privacy}","received_events_url":"https://api.github.com/users/raoulbhatia/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T19:59:30Z","updated_at":"2018-08-29T19:59:30Z","author_association":"MEMBER","body":"What is the error that er are trying to resolve?  Do you have an error message?"}}
{"actor":{"display_login":"raoulbhatia"}}