{"action":"opened","issue":{"url":"https://api.github.com/repos/inspircd/inspircd/issues/982","labels_url":"https://api.github.com/repos/inspircd/inspircd/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/inspircd/inspircd/issues/982/comments","events_url":"https://api.github.com/repos/inspircd/inspircd/issues/982/events","html_url":"https://github.com/inspircd/inspircd/issues/982","id":56317301,"number":982,"title":"m_xline_db and m_permchannels: Improper location verification of data directory","user":{"login":"B00mX0r","id":2237276,"avatar_url":"https://avatars.githubusercontent.com/u/2237276?v=3","gravatar_id":"","url":"https://api.github.com/users/B00mX0r","html_url":"https://github.com/B00mX0r","followers_url":"https://api.github.com/users/B00mX0r/followers","following_url":"https://api.github.com/users/B00mX0r/following{/other_user}","gists_url":"https://api.github.com/users/B00mX0r/gists{/gist_id}","starred_url":"https://api.github.com/users/B00mX0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/B00mX0r/subscriptions","organizations_url":"https://api.github.com/users/B00mX0r/orgs","repos_url":"https://api.github.com/users/B00mX0r/repos","events_url":"https://api.github.com/users/B00mX0r/events{/privacy}","received_events_url":"https://api.github.com/users/B00mX0r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-03T00:46:58Z","updated_at":"2015-02-03T00:46:58Z","closed_at":null,"body":"m_xline_db and m_permchannels both use the data directory for their databases. However, they're unable to distinguish whether or not InspIRCd was started via \"./inspircd start\" or \"./bin/inspircd\". As a result, if InspIRCd is started via \"./bin/inspircd\", it'll try and use \"bin/data\" rather than \"./data\", which results in this:\r\n\r\n*** ANNOUNCEMENT: database: cannot create new db: No such file or directory (2)\r\n\r\n\r\nUbuntu 14.04.1, InspIRCd 2.0.19 (latest code in insp20 branch).\r\n"}}