{"action":"created","issue":{"url":"https://api.github.com/repos/rear/rear/issues/810","repository_url":"https://api.github.com/repos/rear/rear","labels_url":"https://api.github.com/repos/rear/rear/issues/810/labels{/name}","comments_url":"https://api.github.com/repos/rear/rear/issues/810/comments","events_url":"https://api.github.com/repos/rear/rear/issues/810/events","html_url":"https://github.com/rear/rear/issues/810","id":144721705,"number":810,"title":"mkrescue fails with UEFI and TSM","user":{"login":"pavoldomin","id":1576908,"avatar_url":"https://avatars.githubusercontent.com/u/1576908?v=3","gravatar_id":"","url":"https://api.github.com/users/pavoldomin","html_url":"https://github.com/pavoldomin","followers_url":"https://api.github.com/users/pavoldomin/followers","following_url":"https://api.github.com/users/pavoldomin/following{/other_user}","gists_url":"https://api.github.com/users/pavoldomin/gists{/gist_id}","starred_url":"https://api.github.com/users/pavoldomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavoldomin/subscriptions","organizations_url":"https://api.github.com/users/pavoldomin/orgs","repos_url":"https://api.github.com/users/pavoldomin/repos","events_url":"https://api.github.com/users/pavoldomin/events{/privacy}","received_events_url":"https://api.github.com/users/pavoldomin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rear/rear/labels/bug","name":"bug","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rear/rear/milestones/7","html_url":"https://github.com/rear/rear/milestones/Rear%20v1.19","labels_url":"https://api.github.com/repos/rear/rear/milestones/7/labels","id":893185,"number":7,"title":"Rear v1.19","description":"","creator":{"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},"open_issues":8,"closed_issues":9,"state":"open","created_at":"2014-12-05T17:07:39Z","updated_at":"2016-04-05T12:43:32Z","due_on":"2016-06-29T22:00:00Z","closed_at":null},"comments":6,"created_at":"2016-03-30T21:14:37Z","updated_at":"2016-04-05T13:44:15Z","closed_at":null,"body":"* rear version (/usr/sbin/rear -V): Most likely any (tested with 1.17.2)\r\n* OS version (cat /etc/rear/os.conf or lsb_release  -a): (very likely any), tested with SLES11 SP3 \r\n* rear configuration files (cat /etc/rear/site.conf or cat /etc/rear/local.conf):\r\n```\r\nBACKUP=TSM\r\nCOPY_AS_IS_TSM=( /etc/adsm/TSM.PWD /opt/tivoli/tsm/client /usr/local/ibm/gsk8* )\r\nCOPY_AS_IS_EXCLUDE_TSM=( )\r\nPROGS_TSM=( dsmc tput )\r\nTSM_RESULT_FILE_PATH=/opt/tivoli/tsm/rear\r\nTSM_DSMC_RESTORE_OPTIONS=( )\r\nTSM_RESTORE_PIT_DATE=\r\nTSM_RESTORE_PIT_TIME=\r\nTSM_RESULT_SAVE=y\r\n```\r\nthe rest is the usual stuff\r\n* Brief description of the issue\r\nrear mkrescue (or mkbackup) fails with the message like\r\n```2016-03-29 17:14:15.078510507 ERROR: Could not copy initrd to UEFI```\r\n\r\n* Work-around, if any\r\nI have modified rear code: extended UEFI image size by experimentally determined value for this particular setup. I have not tested an actual recovery though (but do not see reason why it would not work).\r\n\r\nI will post the patch I used immediately, for your consideration.\r\n"},"comment":{"url":"https://api.github.com/repos/rear/rear/issues/comments/205811219","html_url":"https://github.com/rear/rear/issues/810#issuecomment-205811219","issue_url":"https://api.github.com/repos/rear/rear/issues/810","id":205811219,"user":{"login":"jsmeix","id":1788608,"avatar_url":"https://avatars.githubusercontent.com/u/1788608?v=3","gravatar_id":"","url":"https://api.github.com/users/jsmeix","html_url":"https://github.com/jsmeix","followers_url":"https://api.github.com/users/jsmeix/followers","following_url":"https://api.github.com/users/jsmeix/following{/other_user}","gists_url":"https://api.github.com/users/jsmeix/gists{/gist_id}","starred_url":"https://api.github.com/users/jsmeix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsmeix/subscriptions","organizations_url":"https://api.github.com/users/jsmeix/orgs","repos_url":"https://api.github.com/users/jsmeix/repos","events_url":"https://api.github.com/users/jsmeix/events{/privacy}","received_events_url":"https://api.github.com/users/jsmeix/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T13:44:15Z","updated_at":"2016-04-05T13:44:15Z","body":"FYI excerpts from my succesful \"rear -d -D mkrescue\" log\r\nwith your new 70_create_efibootimg.sh with the changes\r\nin my other comment above:\r\n<pre>\r\n+ source /usr/share/rear/output/ISO/Linux-i386/70_create_efibootimg.sh\r\n++ is_true 1\r\n++ case \"$1\" in\r\n++ return 0\r\n+++ efiboot_img_size /tmp/rear.XO6CsKzXPsuGy5c/tmp/mnt\r\n+++ efi_img_dir=/tmp/rear.XO6CsKzXPsuGy5c/tmp/mnt\r\n+++ case \"$( basename $UEFI_BOOTLOADER )\" in\r\n++++ basename /boot/efi/EFI/opensuse/shim.efi\r\n+++ efi_img_min_sz=4\r\n+++ test /tmp/rear.XO6CsKzXPsuGy5c/tmp/mnt\r\n+++ efi_img_sz=($( du --block-size=32M --summarize $efi_img_dir ))\r\n++++ du --block-size=32M --summarize /tmp/rear.XO6CsKzXPsuGy5c/tmp/mnt\r\n+++ test 5\r\n+++ test 5 -ge 1\r\n+++ test 5 -lt 4\r\n+++ echo 5\r\n++ dd if=/dev/zero of=/tmp/rear.XO6CsKzXPsuGy5c/tmp/efiboot.img count=5 bs=32M\r\n5+0 records in\r\n5+0 records out\r\n167772160 bytes (168 MB) copied, 0.143509 s, 1.2 GB/s\r\n</pre>"}}