{"action":"opened","issue":{"url":"https://api.github.com/repos/jupyterhub/systemdspawner/issues/35","repository_url":"https://api.github.com/repos/jupyterhub/systemdspawner","labels_url":"https://api.github.com/repos/jupyterhub/systemdspawner/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/jupyterhub/systemdspawner/issues/35/comments","events_url":"https://api.github.com/repos/jupyterhub/systemdspawner/issues/35/events","html_url":"https://github.com/jupyterhub/systemdspawner/issues/35","id":341363946,"node_id":"MDU6SXNzdWUzNDEzNjM5NDY=","number":35,"title":"PAM Authentication failed","user":{"login":"mrmodolo","id":1923174,"node_id":"MDQ6VXNlcjE5MjMxNzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1923174?v=4","gravatar_id":"","url":"https://api.github.com/users/mrmodolo","html_url":"https://github.com/mrmodolo","followers_url":"https://api.github.com/users/mrmodolo/followers","following_url":"https://api.github.com/users/mrmodolo/following{/other_user}","gists_url":"https://api.github.com/users/mrmodolo/gists{/gist_id}","starred_url":"https://api.github.com/users/mrmodolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrmodolo/subscriptions","organizations_url":"https://api.github.com/users/mrmodolo/orgs","repos_url":"https://api.github.com/users/mrmodolo/repos","events_url":"https://api.github.com/users/mrmodolo/events{/privacy}","received_events_url":"https://api.github.com/users/mrmodolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-16T00:10:12Z","updated_at":"2018-07-16T00:10:12Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nI'm testing the 'systemd spawn' service but I always end up with an authentication error.\r\nI check the following error logs:\r\n\r\nJul 15 21:05:40 jupyter jupyterhub: [W 2018-07-15 21:05:40.257 JupyterHub auth:618] PAM Authentication failed (modolo@192.168.122.1): [PAM Error 7] Authentication failure\r\nJul 15 21:05:40 jupyter jupyterhub: [W 2018-07-15 21:05:40.259 JupyterHub base:504] Failed login for modolo\r\nJul 15 21:05:40 jupyter jupyterhub: [I 2018-07-15 21:05:40.263 JupyterHub log:158] 200 POST /hub/login?next= (@192.168.122.1) 1808.99ms\r\n\r\nThe IP of the machine is '192.168.122.197/24' but by logging the authentication is done in modolo@192.168.122.1!\r\n\r\n[modolo@jupyter ~]$ sudo cat /etc/systemd/system/jupyterhub.service \r\n[Service]\r\nExecStart=/opt/anaconda3/bin/jupyterhub --debug --ip 192.168.122.197 --no-ssl --config /etc/jupyterhub/jupyterhub_config.py\r\nEnvironment=PATH=/opt/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin\r\nReadOnlyDirectories=/\r\nReadWriteDirectories=/var/lib/jupyterhub /var/log/ /proc/self/ /var/local/lib/jupyterhub\r\nWorkingDirectory=/var/local/lib/jupyterhub\r\nCapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_AUDIT_WRITE CAP_SETGID CAP_SETUID\r\n#PrivateDevices=yes\r\n#PrivateTmp=yes\r\n\r\nThanks,\r\nMarcelo Módolo"}}
{"actor":{"display_login":"mrmodolo"}}