{"action":"created","issue":{"url":"https://api.github.com/repos/xtaran/unburden-home-dir/issues/8","labels_url":"https://api.github.com/repos/xtaran/unburden-home-dir/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/xtaran/unburden-home-dir/issues/8/comments","events_url":"https://api.github.com/repos/xtaran/unburden-home-dir/issues/8/events","html_url":"https://github.com/xtaran/unburden-home-dir/issues/8","id":104949317,"number":8,"title":"WARNING: lsof not found, not checking for files in use","user":{"login":"jeka","id":181360,"avatar_url":"https://avatars.githubusercontent.com/u/181360?v=3","gravatar_id":"","url":"https://api.github.com/users/jeka","html_url":"https://github.com/jeka","followers_url":"https://api.github.com/users/jeka/followers","following_url":"https://api.github.com/users/jeka/following{/other_user}","gists_url":"https://api.github.com/users/jeka/gists{/gist_id}","starred_url":"https://api.github.com/users/jeka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeka/subscriptions","organizations_url":"https://api.github.com/users/jeka/orgs","repos_url":"https://api.github.com/users/jeka/repos","events_url":"https://api.github.com/users/jeka/events{/privacy}","received_events_url":"https://api.github.com/users/jeka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-04T18:59:22Z","updated_at":"2015-09-04T21:20:10Z","closed_at":"2015-09-04T19:53:02Z","body":"This WARNING is in my .xsession-errors. Although I have lsof installed\r\n$ rpm -q lsof\r\nlsof-4.88-2.fc22.x86_64\r\n\r\nOn my Fedora 22 desktop (and I guess on all fedora/redhat clones/derivatives) lsof is located at /usr/sbin:\r\n$ which lsof\r\n/usr/sbin/lsof\r\n\r\nUnfortunately when snippet is run by xinit, '/usr/[local/]sbin' directories are not part of the PATH.\r\nThey are added by /etc/profile which means on interactive shells only.\r\n"},"comment":{"url":"https://api.github.com/repos/xtaran/unburden-home-dir/issues/comments/137856099","html_url":"https://github.com/xtaran/unburden-home-dir/issues/8#issuecomment-137856099","issue_url":"https://api.github.com/repos/xtaran/unburden-home-dir/issues/8","id":137856099,"user":{"login":"xtaran","id":241094,"avatar_url":"https://avatars.githubusercontent.com/u/241094?v=3","gravatar_id":"","url":"https://api.github.com/users/xtaran","html_url":"https://github.com/xtaran","followers_url":"https://api.github.com/users/xtaran/followers","following_url":"https://api.github.com/users/xtaran/following{/other_user}","gists_url":"https://api.github.com/users/xtaran/gists{/gist_id}","starred_url":"https://api.github.com/users/xtaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtaran/subscriptions","organizations_url":"https://api.github.com/users/xtaran/orgs","repos_url":"https://api.github.com/users/xtaran/repos","events_url":"https://api.github.com/users/xtaran/events{/privacy}","received_events_url":"https://api.github.com/users/xtaran/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T21:20:10Z","updated_at":"2015-09-04T21:20:10Z","body":"Actually I pushed a second patch which makes sure that the path in `$which_lsof` is used instead of just calling `lsof`. "}}