1. 08 Apr, 2012 5 commits
  2. 06 Apr, 2012 1 commit
  3. 05 Apr, 2012 2 commits
    • Lennart Poettering's avatar
      systemd: add hardware watchdog support · e96d6be7
      Lennart Poettering authored
      This adds minimal hardware watchdog support to PID 1. The idea is that
      PID 1 supervises and watchdogs system services, while the hardware
      watchdog is used to supervise PID 1.
      This adds two hardware watchdog configuration options, for the runtime
      watchdog and for a shutdown watchdog. The former is active during normal
      operation, the latter only at reboots to ensure that if a clean reboot
      times out we reboot nonetheless.
      If the runtime watchdog is enabled PID 1 will automatically wake up at
      half the configured interval and write to the watchdog daemon.
      By default we enable the shutdown watchdog, but leave the runtime
      watchdog disabled in order not to break independent hardware watchdog
      daemons people might be using.
      This is only the most basic hookup. If necessary we can later on hook
      up the watchdog ping more closely with services deemed crucial.
    • Michal Schmidt's avatar
      job: use a lookup table for merging of job types · 348e27fe
      Michal Schmidt authored
      It is easier to see what job_type_merge() is doing when the merging
      rules are written in the form of a table.
      job_type_is_superset() contained redundant information. It can be
      simplified to a simple rule: Type A is a superset of B iff merging A
      with B gives A.
      Two job types are conflicting iff they are not mergeable.
      Make job_type_lookup_merge() the core function to decide the type
      merging. All other job_type_*() are just short wrappers around it.
      They can be inline.
      test-job-type gives the same results as before.
      btw, the systemd binary is smaller by almost 1 KB.
  4. 04 Apr, 2012 16 commits
  5. 03 Apr, 2012 12 commits
  6. 02 Apr, 2012 4 commits