1. 21 Jul, 2018 1 commit
  2. 18 Jul, 2018 1 commit
  3. 08 Nov, 2017 1 commit
  4. 26 Apr, 2017 3 commits
    • Harald Hoyer's avatar
      dracut-reencrypt: call "udevadm settle" once more · 16912823
      Harald Hoyer authored
      Somehow testing in qemu resulted sometimes in an endless loop.
      Either the timing or the settle fixed the issue.
      When the VM was in an endless loop, an strace showed, that the first 512
      and 1024 of the crypt partition was read over and over. Either it was
      the udev blkid, or some device mapper udev rule.
      Maybe the reencrypt tool opens and closes the device fd, where the close
      triggers a udev blkid and causes the reencrypt tool to reread the device...
      Anyhow.. with this settle the issue was not seen anymore.
      16912823
    • Harald Hoyer's avatar
      dracut-reencrypt: add UUID handling to rd.luks.reencrypt= · 3d6bb53b
      Harald Hoyer authored
      This patch adds a udev rule, so that you can specify
      rd.luks.reencrypt=<UUID> instead of rd.luks.reencrypt=<devname>
      
      It also moves the job to the "settled" queue, which means, that it is
      executed after udev has settled.
      3d6bb53b
    • Harald Hoyer's avatar
      dracut-reencrypt: add finished hook · 6a8a6aea
      Harald Hoyer authored
      A finished hook prevents dracut-initqueue from exiting and lets it
      finish the batched jobs. Without a "finished hook" and without
      "root=<dev>" on the kernel command line, the reencrypt job would not be
      executed.
      
      Normally you want to reencrypt without a "root=<dev>" on the kernel
      command and want to reboot after the reencrypt job is done.
      
      This patch adds the missing "finished hook".
      6a8a6aea
  5. 25 Apr, 2016 1 commit
    • Ondrej Kozina's avatar
      dracut_90reencrypt: fix warns reported by static analysis · 1b7799cb
      Ondrej Kozina authored
      - moddir is assigned in parent script run by dracut (warning was
        silenced)
      
      - fix defect wrt to assignement and making variable local on
        same line. The variable cwd was first assigned by subshell
        and later any error originating in subshell was masked by
        making the variable local (which returns always 'true')
      1b7799cb
  6. 21 Feb, 2016 1 commit
  7. 10 Nov, 2013 1 commit
    • Ondrej Kozina's avatar
      90reencrypt fixes: · e52d5f3d
      Ondrej Kozina authored
      - add loop module to initramfs image
      - modprobe loop before reencrypt start
      - add rd.luks.reencrypt_keyslot=
      - add conflict with dracut crypt module
      - drop to emergency_shell after reencryption
      e52d5f3d
  8. 29 Dec, 2012 1 commit
  9. 03 Aug, 2012 1 commit
  10. 12 Jul, 2012 2 commits
  11. 10 Jul, 2012 2 commits