{"action":"opened","issue":{"url":"https://api.github.com/repos/volumio/Build/issues/9","labels_url":"https://api.github.com/repos/volumio/Build/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/volumio/Build/issues/9/comments","events_url":"https://api.github.com/repos/volumio/Build/issues/9/events","html_url":"https://github.com/volumio/Build/issues/9","id":117425051,"number":9,"title":"volumio.log","user":{"login":"gkkpch","id":13090843,"avatar_url":"https://avatars.githubusercontent.com/u/13090843?v=3","gravatar_id":"","url":"https://api.github.com/users/gkkpch","html_url":"https://github.com/gkkpch","followers_url":"https://api.github.com/users/gkkpch/followers","following_url":"https://api.github.com/users/gkkpch/following{/other_user}","gists_url":"https://api.github.com/users/gkkpch/gists{/gist_id}","starred_url":"https://api.github.com/users/gkkpch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkkpch/subscriptions","organizations_url":"https://api.github.com/users/gkkpch/orgs","repos_url":"https://api.github.com/users/gkkpch/repos","events_url":"https://api.github.com/users/gkkpch/events{/privacy}","received_events_url":"https://api.github.com/users/gkkpch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-17T19:00:42Z","updated_at":"2015-11-17T19:00:42Z","closed_at":null,"body":"Ok, coming back to the /var/log/volumio.log issue :)\r\n\r\nIt is good practise to keep /var/log to 0755, following might be a good alternative.\r\nI suggest to put the following in fstab instead of the current /var/log line:\r\n\r\n*tmpfs     /var/log               tmpfs   defaults,noatime,mode=0755\t\t\t\t 0 0\r\ntmpfs     /var/log/volumio  tmpfs   size=20M,nodev,uid=1000,mode=0777,gid=4,    0 0*\r\n\r\nIn case we do want to allow logging mpd, it could be in the volumio directory or like this:\r\n\r\n*tmpfs     /var/log               tmpfs   defaults,noatime,mode=0755\t\t\t\t 0 0\r\ntmpfs     /var/log/volumio  tmpfs   size=20M,nodev,uid=1000,mode=0777,gid=4,    0 0\r\ntmpfs     /var/log/mpd       tmpfs   size=20M,nodev,uid=\\<uid-mpd\\>,mode=0777,gid=\\<gid-audio\\>,    0 0*\r\n\r\nThis way */var/log* remains standard and the only thing that it needs is a small change in */volumio/app/index.js* and set the file paths to */var/log/***volumio/***volumio.log*. That's all.\r\nWorks on an Odroid C1, presumably on a PI too (can't test it, don't have one anymore).\r\n\r\n"}}