{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4990","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4990/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4990/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4990/events","html_url":"https://github.com/NixOS/nixpkgs/issues/4990","id":48908420,"number":4990,"title":"mutableUsers break if you have password file on a non-root partition","user":{"login":"abbradar","id":1174810,"avatar_url":"https://avatars.githubusercontent.com/u/1174810?v=3","gravatar_id":"","url":"https://api.github.com/users/abbradar","html_url":"https://github.com/abbradar","followers_url":"https://api.github.com/users/abbradar/followers","following_url":"https://api.github.com/users/abbradar/following{/other_user}","gists_url":"https://api.github.com/users/abbradar/gists{/gist_id}","starred_url":"https://api.github.com/users/abbradar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abbradar/subscriptions","organizations_url":"https://api.github.com/users/abbradar/orgs","repos_url":"https://api.github.com/users/abbradar/repos","events_url":"https://api.github.com/users/abbradar/events{/privacy}","received_events_url":"https://api.github.com/users/abbradar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-11-15T14:17:34Z","updated_at":"2016-03-05T23:04:41Z","closed_at":null,"body":"They've worked previously, I suppose something had changed between recent channel releases. It wasn't working earlier really, too -- it reported \"cannot open file\" on each boot. We might need to mount everything before regenerating passwd/shadow, but this might break nice boot speed improvements systemd gives us because of mounts starting in parallel with services.\r\n\r\nMaybe things just need to stay that way."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/192756620","html_url":"https://github.com/NixOS/nixpkgs/issues/4990#issuecomment-192756620","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/4990","id":192756620,"user":{"login":"Profpatsch","id":3153638,"avatar_url":"https://avatars.githubusercontent.com/u/3153638?v=3","gravatar_id":"","url":"https://api.github.com/users/Profpatsch","html_url":"https://github.com/Profpatsch","followers_url":"https://api.github.com/users/Profpatsch/followers","following_url":"https://api.github.com/users/Profpatsch/following{/other_user}","gists_url":"https://api.github.com/users/Profpatsch/gists{/gist_id}","starred_url":"https://api.github.com/users/Profpatsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Profpatsch/subscriptions","organizations_url":"https://api.github.com/users/Profpatsch/orgs","repos_url":"https://api.github.com/users/Profpatsch/repos","events_url":"https://api.github.com/users/Profpatsch/events{/privacy}","received_events_url":"https://api.github.com/users/Profpatsch/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T23:04:41Z","updated_at":"2016-03-05T23:04:41Z","body":"@wmertens can that be done by checking if the option is set to true for the file system with the longest substring of the password file? Or are there other things to consider? Probably have to normalize the file paths first."}}