{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/972","repository_url":"https://api.github.com/repos/rear/rear","labels_url":"https://api.github.com/repos/rear/rear/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/972/comments","events_url":"https://api.github.com/repos/rear/rear/issues/972/events","html_url":"https://github.com/rear/rear/issues/972","id":171858457,"number":972,"title":"cryptsetup fails on restore due to missing cracklib dictionaries","user":{"login":"nikbarron","id":21100372,"avatar_url":"https://avatars.githubusercontent.com/u/21100372?v=3","gravatar_id":"","url":"https://api.github.com/users/nikbarron","html_url":"https://github.com/nikbarron","followers_url":"https://api.github.com/users/nikbarron/followers","following_url":"https://api.github.com/users/nikbarron/following{/other_user}","gists_url":"https://api.github.com/users/nikbarron/gists{/gist_id}","starred_url":"https://api.github.com/users/nikbarron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikbarron/subscriptions","organizations_url":"https://api.github.com/users/nikbarron/orgs","repos_url":"https://api.github.com/users/nikbarron/repos","events_url":"https://api.github.com/users/nikbarron/events{/privacy}","received_events_url":"https://api.github.com/users/nikbarron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rear/rear/labels/support","name":"support","color":"02d7e1"}],"state":"closed","locked":false,"assignee":{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false},"assignees":[{"login":"gdha","id":888633,"avatar_url":"https://avatars.githubusercontent.com/u/888633?v=3","gravatar_id":"","url":"https://api.github.com/users/gdha","html_url":"https://github.com/gdha","followers_url":"https://api.github.com/users/gdha/followers","following_url":"https://api.github.com/users/gdha/following{/other_user}","gists_url":"https://api.github.com/users/gdha/gists{/gist_id}","starred_url":"https://api.github.com/users/gdha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdha/subscriptions","organizations_url":"https://api.github.com/users/gdha/orgs","repos_url":"https://api.github.com/users/gdha/repos","events_url":"https://api.github.com/users/gdha/events{/privacy}","received_events_url":"https://api.github.com/users/gdha/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-08-18T09:35:16Z","updated_at":"2016-08-18T13:26:36Z","closed_at":"2016-08-18T12:15:37Z","body":"Please fill in the following items before submitting a new issue:\r\n\r\n* rear version (/usr/sbin/rear -V): 1.17.2 / Git\r\n* OS version (cat /etc/rear/os.conf or lsb_release  -a): CentOS 7 (reports as RedHatEnterpriseServer/7)\r\n* rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):\r\n\r\nOUTPUT=ISO\r\nBACKUP=NETFS\r\nBACKUP_URL=cifs://swss-nas3/REAR_Backups\r\nBACKUP_OPTIONS=\"cred=/etc/rear/cifs\"\r\n\r\n* Brief description of the issue\r\n\r\nThere is an issue with restoring a system that uses LUKS encryption, which fails as shown in the attached screenshot with \"An error occurred during layout recreation\" immediately after the first password prompt to recreate the LUKS volume:\r\n\r\n![rear-001](https://cloud.githubusercontent.com/assets/21100372/17769059/d88ed8c6-652e-11e6-823a-59942016fcb0.jpg)\r\n\r\nDigging into this further I found that the issue is caused by the password quality check on cryptsetyp, which requires the cracklib dictionaries, which appear to be missing from the restore media:\r\n\r\n![rear-002](https://cloud.githubusercontent.com/assets/21100372/17769060/d88fb69c-652e-11e6-8593-78a8c91752c8.jpg)\r\n\r\nThe system the ISO was generated from has the cracklib packages installed, so I guess the ISO creation process needs to be amended to include them?\r\n\r\n* Work-around, if any\r\n\r\nThere's a simple workaround, edit the restore script and add the --force-password switch to the cryptsetup command(s), which skips the password quality check. The restore process then runs fine and restores as expected."},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/240722039","html_url":"https://github.com/rear/rear/issues/972#issuecomment-240722039","issue_url":"https://api.github.com/repos/rear/rear/issues/972","id":240722039,"user":{"login":"nikbarron","id":21100372,"avatar_url":"https://avatars.githubusercontent.com/u/21100372?v=3","gravatar_id":"","url":"https://api.github.com/users/nikbarron","html_url":"https://github.com/nikbarron","followers_url":"https://api.github.com/users/nikbarron/followers","following_url":"https://api.github.com/users/nikbarron/following{/other_user}","gists_url":"https://api.github.com/users/nikbarron/gists{/gist_id}","starred_url":"https://api.github.com/users/nikbarron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikbarron/subscriptions","organizations_url":"https://api.github.com/users/nikbarron/orgs","repos_url":"https://api.github.com/users/nikbarron/repos","events_url":"https://api.github.com/users/nikbarron/events{/privacy}","received_events_url":"https://api.github.com/users/nikbarron/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T13:26:35Z","updated_at":"2016-08-18T13:26:35Z","body":"You’re most welcome!\n\nFrom: gdha [mailto:notifications@github.com]\nSent: 18 August 2016 14:23\nTo: rear/rear <rear@noreply.github.com>\nCc: Nik Barron <nick.barron@pennantplc.co.uk>; Mention <mention@noreply.github.com>\nSubject: Re: [rear/rear] cryptsetup fails on restore due to missing cracklib dictionaries (#972)\n\n\n@nikbarron<https://github.com/nikbarron> Thank you for your kind donation - it makes my day ;-)\n\n—\nYou are receiving this because you were mentioned.\nReply to this email directly, view it on GitHub<https://github.com/rear/rear/issues/972#issuecomment-240721216>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AUH3VAKmpmZIgGmYH6mHdz-9q7e9J0mlks5qhFzKgaJpZM4JnTms>.\n\n______________________________________________________________________\nThis email has been scanned by the Symantec Email Security.cloud service.\nFor more information please visit http://www.symanteccloud.com\n______________________________________________________________________\n\n______________________________________________________________________\nThis email has been scanned by the Symantec Email Security.cloud service.\nFor more information please visit http://www.symanteccloud.com\n______________________________________________________________________\n"}}
{"actor":{"display_login":"nikbarron"}}