{"action":"created","issue":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/384","repository_url":"https://api.github.com/repos/sysrepo/sysrepo","labels_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/384/labels{/name}","comments_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/384/comments","events_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/384/events","html_url":"https://github.com/sysrepo/sysrepo/issues/384","id":181408626,"number":384,"title":"sysrepo not creating necessary data files","user":{"login":"plajjan","id":841628,"avatar_url":"https://avatars.githubusercontent.com/u/841628?v=3","gravatar_id":"","url":"https://api.github.com/users/plajjan","html_url":"https://github.com/plajjan","followers_url":"https://api.github.com/users/plajjan/followers","following_url":"https://api.github.com/users/plajjan/following{/other_user}","gists_url":"https://api.github.com/users/plajjan/gists{/gist_id}","starred_url":"https://api.github.com/users/plajjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plajjan/subscriptions","organizations_url":"https://api.github.com/users/plajjan/orgs","repos_url":"https://api.github.com/users/plajjan/repos","events_url":"https://api.github.com/users/plajjan/events{/privacy}","received_events_url":"https://api.github.com/users/plajjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-06T13:02:08Z","updated_at":"2016-10-06T13:36:22Z","closed_at":null,"body":"I'm asking sysrepo to install some YANG models and it seems to me that this should create some empty files in /etc/sysrepo/data that map up with the name of the model but for some reason it doens't create for all. Am I missing something?\r\n\r\n```\r\nroot@ceaf428c010e:/# sysrepoctl --install --yang=/yang/ietf-inet-types.yang\r\nroot@ceaf428c010e:/# sysrepoctl --install --yang=/yang/lw4o6.yang\r\nroot@ceaf428c010e:/# ls -la /etc/sysrepo/data/\r\ntotal 12\r\ndrwxr-xr-x 4 root root 4096 Oct  6 12:56 .\r\ndrwxr-xr-x 6 root root 4096 Oct  6 12:56 ..\r\ndrwxr-xr-x 2 root root 4096 Oct  6 12:56 internal\r\n-rw-rw-rw- 1 root root    0 Oct  6 12:56 ts-lw4o6.candidate.lock\r\n-rw-rw-rw- 1 root root    0 Oct  6 12:56 ts-lw4o6.persist\r\n-rw-rw-rw- 1 root root    0 Oct  6 12:56 ts-lw4o6.running\r\n-rw-rw-rw- 1 root root    0 Oct  6 12:56 ts-lw4o6.running.lock\r\n-rw-rw-rw- 1 root root    0 Oct  6 12:56 ts-lw4o6.startup\r\n-rw-rw-rw- 1 root root    0 Oct  6 12:56 ts-lw4o6.startup.lock\r\nroot@ceaf428c010e:/#\r\n```\r\nWhy is only ts-lw4o6 created? Why not ietf-inet-types? This seems to later cause issues since the files doesn't exist:\r\n```\r\n[ERR] (sr_locking_set_lock_file_open:658) Insufficient permissions to lock the file '/etc/sysrepo/data/ietf-inet-types.running.lock'\r\n```"},"comment":{"url":"https://api.github.com/repos/sysrepo/sysrepo/issues/comments/251963215","html_url":"https://github.com/sysrepo/sysrepo/issues/384#issuecomment-251963215","issue_url":"https://api.github.com/repos/sysrepo/sysrepo/issues/384","id":251963215,"user":{"login":"lukasmacko","id":16013493,"avatar_url":"https://avatars.githubusercontent.com/u/16013493?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasmacko","html_url":"https://github.com/lukasmacko","followers_url":"https://api.github.com/users/lukasmacko/followers","following_url":"https://api.github.com/users/lukasmacko/following{/other_user}","gists_url":"https://api.github.com/users/lukasmacko/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasmacko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasmacko/subscriptions","organizations_url":"https://api.github.com/users/lukasmacko/orgs","repos_url":"https://api.github.com/users/lukasmacko/repos","events_url":"https://api.github.com/users/lukasmacko/events{/privacy}","received_events_url":"https://api.github.com/users/lukasmacko/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T13:36:22Z","updated_at":"2016-10-06T13:36:22Z","body":"Ok, I'll remove that confusing log."}}
{"actor":{"display_login":"lukasmacko"}}