1. 10 Apr, 2012 3 commits
    • Kay Sievers's avatar
      build-sys: add $(AM_CFLAGS) where needed · 235450b0
      Kay Sievers authored
      235450b0
    • Kay Sievers's avatar
      util: move ACL code into internal library · 78b2e3a6
      Kay Sievers authored
      78b2e3a6
    • Kay Sievers's avatar
      util: move all to shared/ and split external dependencies in separate internal libraries · d7832d2c
      Kay Sievers authored
      Before:
        $ ldd /lib/systemd/systemd-timestamp
        linux-vdso.so.1 =>  (0x00007fffb05ff000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000)
      
      After:
        $ ldd systemd-timestamp
        linux-vdso.so.1 =>  (0x00007fff3cbff000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
      d7832d2c
  2. 09 Apr, 2012 2 commits
  3. 08 Apr, 2012 3 commits
  4. 05 Apr, 2012 1 commit
    • 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.
      e96d6be7
  5. 04 Apr, 2012 5 commits
  6. 03 Apr, 2012 1 commit
  7. 02 Apr, 2012 1 commit
  8. 30 Mar, 2012 1 commit
  9. 27 Mar, 2012 3 commits
    • Kay Sievers's avatar
      units: mount /tmp as tmpfs · 623ac9d2
      Kay Sievers authored
      The default setups should be a stateless as possible. /tmp as tmpfs is
      the intended default for general purpose systems.
      
      Small temporary files should not be stored on disk; lager files, or
      files which should potentially survive a reboot, belong into /var/tmp.
      
      Also catch up with some good old UNIX history.
      
      More details are here:
        https://fedoraproject.org/wiki/Features/tmp-on-tmpfs
      623ac9d2
    • Lennart Poettering's avatar
      units: get rid of var-run.mount and var-lock.mount · 55d029ad
      Lennart Poettering authored
      Since a number of distribitions don't need this compat glue anymore drop
      it from systemd upstream. Distributions which still haven't converted
      to /run can steal these unit files from the git history if they need to.
      55d029ad
    • Lennart Poettering's avatar
      units: don't mount tmpfs on /media anymore · 231931ff
      Lennart Poettering authored
      udisks2 doesn't use /media anymore, instead mounts removable media in a
      user-private directory beneath /run. /media is hence mostly obsolete and
      hence it makes little sense to continue to mount a tmpfs to it.
      
      Distributions should consider dropping the mount point entirely since
      nothing uses it anymore.
      231931ff
  10. 26 Mar, 2012 4 commits
  11. 22 Mar, 2012 1 commit
  12. 21 Mar, 2012 3 commits
  13. 20 Mar, 2012 1 commit
  14. 18 Mar, 2012 1 commit
  15. 16 Mar, 2012 3 commits
  16. 15 Mar, 2012 4 commits
  17. 12 Mar, 2012 2 commits
    • Matthew Garrett's avatar
      rules: Enable USB autosuspend on more USB HID devices · 3bfc7a97
      Matthew Garrett authored
      Many servers will be connected to KVMs or include iLO support, and this
      is often presented as a set of USB input devices. Enabling autosuspend on
      these allows the USB hardware to be powered down, avoiding unnecessary
      wakeups and power consumption. The input devices will be self powered, so
      there's no risk of losing input events as there would be for real input
      devices. The same is true of USB input devices that are built into the
      system.
      3bfc7a97
    • Lennart Poettering's avatar
      conf: enforce UTF8 validty everywhere · 7f110ff9
      Lennart Poettering authored
      we need to make sure that configuration data we expose via the bus ends
      up in using getting an assert(). Even though configuration data is only
      parsed from trusted sources we should be more careful with what we read.
      7f110ff9
  18. 07 Mar, 2012 1 commit