1. 05 Apr, 2013 2 commits
  2. 04 Apr, 2013 12 commits
  3. 03 Apr, 2013 10 commits
  4. 02 Apr, 2013 13 commits
  5. 01 Apr, 2013 3 commits
    • Lennart Poettering's avatar
      update TODO · e5ec62c5
      Lennart Poettering authored
      e5ec62c5
    • Lennart Poettering's avatar
      shutdown: correctly wait for processes we killed in the killall spree · aaf7eb81
      Lennart Poettering authored
      Previously we simply counted how many processes we killed and expected
      as many waitpid() calls to succeed. That however is incorrect to do.
      
      As we might kill processes that are not our immediate children, and as
      there might be left-over processes in the waitpid() queue from earlier
      the we might get more ore less waitpid() events that we expect.
      
      Hence: keep precise track of the processes we kill, remove the ones we
      get waitpid() for, and after each time we get SIGCHLD check if all
      others still exist. We use getpgid() to check if a PID still exists.
      
      This should fix issues with journald not setting journal files offline
      correctly on shutdown, because we'd too quickly proceed from SIGTERM to
      SIGKILL because some left-over process was in our waitpid() queue.
      aaf7eb81
    • Thomas Weißschuh's avatar
      cryptsetup: add RequiresMountsFor for keyfile · ceca9501
      Thomas Weißschuh authored
      This ensures that the keyfile is available during the opening of the encrypted
      device.
      
      Also dropped the explicit ordering Before=local-fs.target, as the containers
      are ordered implicitly by their content.
      ceca9501