1. 04 Sep, 2014 1 commit
  2. 11 Jul, 2014 1 commit
  3. 27 Apr, 2014 1 commit
  4. 26 Apr, 2014 3 commits
  5. 10 Aug, 2013 1 commit
  6. 03 May, 2013 1 commit
  7. 30 Apr, 2013 2 commits
  8. 24 Apr, 2013 1 commit
  9. 19 Apr, 2013 1 commit
  10. 18 Apr, 2013 4 commits
  11. 05 Apr, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      Use initalization instead of explicit zeroing · b92bea5d
      Zbigniew Jędrzejewski-Szmek authored
      Before, we would initialize many fields twice: first
      by filling the structure with zeros, and then a second
      time with the real values. We can let the compiler do
      the job for us, avoiding one copy.
      
      A downside of this patch is that text gets slightly
      bigger. This is because all zero() calls are effectively
      inlined:
      
      $ size build/.libs/systemd
               text    data     bss     dec     hex filename
      before 897737  107300    2560 1007597   f5fed build/.libs/systemd
      after  897873  107300    2560 1007733   f6075 build/.libs/systemd
      
      … actually less than 1‰.
      
      A few asserts that the parameter is not null had to be removed. I
      don't think this changes much, because first, it is quite unlikely
      for the assert to fail, and second, an immediate SEGV is almost as
      good as an assert.
      b92bea5d
  12. 04 Apr, 2013 1 commit
    • Harald Hoyer's avatar
      cryptsetup-generator: add JobTimeoutSec=0 for the decrypted crypt devices · 68395007
      Harald Hoyer authored
      The password query for a crypto device currently times out after 90s,
      which is too short to grab a cup of coffee when a machine boots	up.
      
      The resulting decrypted device /dev/mapper/luks-<uuid> might not
      be a mountpoint (but part of a LVM PV or raid array)
      and therefore the timeout cannot be controlled by the settings
      in /etc/fstab. For this reason this device should not carry its own timeout.
      
      Also the encrypted device /dev/disk/by-*/* already has a timeout and
      additionally the timeout for the password query is set in /etc/crypttab.
      
      This patch disables the timeout of the resulting decrypted devices by creating
      <device-unit>.d/50-job-timeout-sec-0.conf files with "JobTimeoutSec=0".
      68395007
  13. 03 Apr, 2013 1 commit
  14. 01 Apr, 2013 2 commits
  15. 26 Mar, 2013 1 commit
  16. 25 Mar, 2013 2 commits
  17. 13 Mar, 2013 1 commit
  18. 01 Mar, 2013 1 commit
  19. 14 Feb, 2013 1 commit
  20. 31 Jan, 2013 1 commit
  21. 23 Nov, 2012 2 commits
  22. 21 Nov, 2012 1 commit
    • Tom Gundersen's avatar
      cryptsetup: fix nofail support · adc40dc2
      Tom Gundersen authored
      This was documented in the man page and supported in the generator,
      but systemd-cryptestup itself would fail with this option.
      
      systemd-cryptsetup should ignore 'nofail', as it does with 'noauto'.
      adc40dc2
  23. 06 Nov, 2012 2 commits
  24. 08 Aug, 2012 1 commit
  25. 03 Aug, 2012 1 commit
  26. 26 Jul, 2012 1 commit
  27. 25 Jul, 2012 1 commit
  28. 13 Jul, 2012 2 commits
  29. 09 Jul, 2012 1 commit