{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/5714","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/5714/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/5714/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/5714/events","html_url":"https://github.com/systemd/systemd/issues/5714","id":220485634,"number":5714,"title":"Automounted drive system dead lock when not available","user":{"login":"jpclaveranne","id":27152535,"avatar_url":"https://avatars1.githubusercontent.com/u/27152535?v=4","gravatar_id":"","url":"https://api.github.com/users/jpclaveranne","html_url":"https://github.com/jpclaveranne","followers_url":"https://api.github.com/users/jpclaveranne/followers","following_url":"https://api.github.com/users/jpclaveranne/following{/other_user}","gists_url":"https://api.github.com/users/jpclaveranne/gists{/gist_id}","starred_url":"https://api.github.com/users/jpclaveranne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpclaveranne/subscriptions","organizations_url":"https://api.github.com/users/jpclaveranne/orgs","repos_url":"https://api.github.com/users/jpclaveranne/repos","events_url":"https://api.github.com/users/jpclaveranne/events{/privacy}","received_events_url":"https://api.github.com/users/jpclaveranne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-09T17:30:25Z","updated_at":"2017-12-06T23:13:59Z","closed_at":null,"author_association":"NONE","body":"### Submission type\r\n\r\n  - [X] Bug report\r\n  - [ ] Request for enhancement (RFE)\r\n\r\n*NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!*\r\n\r\n### systemd version the issue has been seen with\r\n\r\n> 229\r\n\r\n*NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!*\r\n\r\n### Used distribution\r\n\r\n> Fedora 24\r\n\r\n### In case of bug report: Expected behaviour you didn't see\r\n\r\n> I am using systemd automount for a usb hard-drive backup system running on cron. When HD is off or not connected the system should operate normaly\r\n\r\n### In case of bug report: Unexpected behaviour you saw\r\n\r\n> system commands dead locks on \"lstat /srv/BACKUP ...\" (my python script, df, xfe-xfe ....)\r\n\r\n### In case of bug report: Steps to reproduce the problem\r\n\r\n> I am using a python script relaying on \"os.path.ismount ....\" on a automounted usb drive configured with \"noauto,nofail,x-systemd.device-timeout=1,x-systemd.mount-timeout=1,x-systemd.automount,x-systemd.idle-timeout=300\". The script is running throught cron. When using a file onto the mounted system to test the file system I don't have the same behaviour.\r\n"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/349806660","html_url":"https://github.com/systemd/systemd/issues/5714#issuecomment-349806660","issue_url":"https://api.github.com/repos/systemd/systemd/issues/5714","id":349806660,"user":{"login":"poettering","id":2130732,"avatar_url":"https://avatars1.githubusercontent.com/u/2130732?v=4","gravatar_id":"","url":"https://api.github.com/users/poettering","html_url":"https://github.com/poettering","followers_url":"https://api.github.com/users/poettering/followers","following_url":"https://api.github.com/users/poettering/following{/other_user}","gists_url":"https://api.github.com/users/poettering/gists{/gist_id}","starred_url":"https://api.github.com/users/poettering/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poettering/subscriptions","organizations_url":"https://api.github.com/users/poettering/orgs","repos_url":"https://api.github.com/users/poettering/repos","events_url":"https://api.github.com/users/poettering/events{/privacy}","received_events_url":"https://api.github.com/users/poettering/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T23:13:59Z","updated_at":"2017-12-06T23:13:59Z","author_association":"OWNER","body":"Hmm, is this still an issue?\r\n\r\n It appears to me that using automounts is simply not the right approach here, and the issue is just a misunderstanding what automounts do. By definition, it will wait until the device is plugged in before being able to mount it. That's how automounting works: all access is stalled until the backend can be fulfilled.\r\n\r\nIf this is not what you want, then do not use automounts, but mount the thing from your script or so, on demand, if the device is around."}}
{"actor":{"display_login":"poettering"}}