{"action":"created","issue":{"url":"https://api.github.com/repos/badaix/snapcast/issues/141","repository_url":"https://api.github.com/repos/badaix/snapcast","labels_url":"https://api.github.com/repos/badaix/snapcast/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/badaix/snapcast/issues/141/comments","events_url":"https://api.github.com/repos/badaix/snapcast/issues/141/events","html_url":"https://github.com/badaix/snapcast/issues/141","id":191512876,"number":141,"title":"Snapclient doesn't start properly with -d","user":{"login":"axelsimon","id":1172256,"avatar_url":"https://avatars.githubusercontent.com/u/1172256?v=3","gravatar_id":"","url":"https://api.github.com/users/axelsimon","html_url":"https://github.com/axelsimon","followers_url":"https://api.github.com/users/axelsimon/followers","following_url":"https://api.github.com/users/axelsimon/following{/other_user}","gists_url":"https://api.github.com/users/axelsimon/gists{/gist_id}","starred_url":"https://api.github.com/users/axelsimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axelsimon/subscriptions","organizations_url":"https://api.github.com/users/axelsimon/orgs","repos_url":"https://api.github.com/users/axelsimon/repos","events_url":"https://api.github.com/users/axelsimon/events{/privacy}","received_events_url":"https://api.github.com/users/axelsimon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-24T12:50:52Z","updated_at":"2016-11-30T10:35:15Z","closed_at":null,"body":"Hi,\r\n(just realised there actually were 2 different issues, so I'm opening 2 issues, this is the second)\r\n\r\nFirst of all, I'd like to say this may very well be a bad configuration on my part, but I've looked it over many times and can't find any error in the way this setup is configured.\r\n\r\nContext:\r\nOn this computer (192.168.0.7) I have snapserver + snapclient and a pulesaudio sink configured (using `pacmd load-module module-pipe-sink file=/tmp/snapfifo sink_name=Snapcast`). I've told Clementine to play to the Snapcast sink using pavucontrol.\r\nAs I have another computer on the network also running a Snapserver (192.168.0.2), I start snapclient with `-h localhost`.\r\n\r\nThe main problem I have is that snapclient doesn't seem to work when started with `-d` (including when started by Ubuntu, following the instructions in /etc/default/snapclient)\r\n\r\nFollowing a `snapclient -d -h localhost` a `pgrep -af snap` doesn't find it and the Android app shows the client offline or switching between offline and online.\r\nI tried to `strace /usr/sbin/snapclient -d -h localhost` but can't see anything bad, except for `access(\"/etc/ld.so.nohwcap\", F_OK)      = -1 ENOENT (No such file or directory)` (but that [doesn't seem so bad](https://unix.stackexchange.com/questions/283853/file-etc-ld-so-nohwcap-is-missing-in-debian-7), and that file doesn't exist either on other clients on the network that work fine, but I might be wrong).\r\n\r\nSo I gues the question is: why does starting `snapclient -h localhost` work fine and `snapclient -d -h localhost` not?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/badaix/snapcast/issues/comments/263839620","html_url":"https://github.com/badaix/snapcast/issues/141#issuecomment-263839620","issue_url":"https://api.github.com/repos/badaix/snapcast/issues/141","id":263839620,"user":{"login":"axelsimon","id":1172256,"avatar_url":"https://avatars.githubusercontent.com/u/1172256?v=3","gravatar_id":"","url":"https://api.github.com/users/axelsimon","html_url":"https://github.com/axelsimon","followers_url":"https://api.github.com/users/axelsimon/followers","following_url":"https://api.github.com/users/axelsimon/following{/other_user}","gists_url":"https://api.github.com/users/axelsimon/gists{/gist_id}","starred_url":"https://api.github.com/users/axelsimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axelsimon/subscriptions","organizations_url":"https://api.github.com/users/axelsimon/orgs","repos_url":"https://api.github.com/users/axelsimon/repos","events_url":"https://api.github.com/users/axelsimon/events{/privacy}","received_events_url":"https://api.github.com/users/axelsimon/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T10:35:15Z","updated_at":"2016-11-30T10:35:15Z","body":"I'm happy to report since upgrading the OS from Ubuntu 14.04.3 to 16.40.1 snapclient starts fine when started by systemd.\r\nI'm sorry to report I have no idea what changed during the upgrade (well, apart from the obvious, moving from upstart to systemd).\r\n\r\nBTW, this is with snapclient and snapserver 0.10.0."}}
{"actor":{"display_login":"axelsimon"}}