1. 23 Nov, 2012 3 commits
  2. 21 Nov, 2012 2 commits
  3. 20 Nov, 2012 3 commits
  4. 17 Nov, 2012 1 commit
  5. 16 Nov, 2012 7 commits
  6. 15 Nov, 2012 3 commits
    • Lennart Poettering's avatar
      journal: implement message catalog · d4205751
      Lennart Poettering authored
      The message catalog can be used to attach short help texts to log lines,
      keyed by their MESSAGE_ID= fields. This is useful to help the
      administrator understand the context and cause of a message, find
      possible solutions and find further related documentation.
      
      Since this is keyed off MESSAGE_ID= this will only work for native
      journal messages.
      
      The message catalog supports i18n, and is useful to augment english
      language system messages with explanations in the local language.
      
      This commit only includes short explanatory messages for a few example
      message IDs, we'll add more complete documentation for the relevant
      systemd messages later on.
      d4205751
    • Holger Hans Peter Freyther's avatar
      sched: Only setting CPUSchedulingPriority=rr doesn't work · bb112710
      Holger Hans Peter Freyther authored
      A service that only sets the scheduling policy to round-robin
      fails to be started. This is because the cpu_sched_priority is
      initialized to 0 and is not adjusted when the policy is changed.
      
      Clamp the cpu_sched_priority when the scheduler policy is set. Use
      the current policy to validate the new priority.
      
      Change the manual page to state that the given range only applies
      to the real-time scheduling policies.
      
      Add a testcase that verifies this change:
      
      $ make test-sched-prio; ./test-sched-prio
      [test/sched_idle_bad.service:6] CPU scheduling priority is out of range, ignoring: 1
      [test/sched_rr_bad.service:7] CPU scheduling priority is out of range, ignoring: 0
      [test/sched_rr_bad.service:8] CPU scheduling priority is out of range, ignoring: 100
      bb112710
    • Zbigniew Jędrzejewski-Szmek's avatar
      2c5417ad
  7. 14 Nov, 2012 2 commits
    • Zbigniew Jędrzejewski-Szmek's avatar
      build-sys: store journald code in a noinst library · d025f1e4
      Zbigniew Jędrzejewski-Szmek authored
      The point is to allow the use of journald functions by other binaries.
      Before, journald code was split into multiple files (journald-*.[ch]),
      but all those files all required functions from journald.c. And
      journald.c has its own main(). Now, it is possible to link against
      those functions, e.g. from test binaries.
      
      This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638.
      
      The patch does the following:
      1. rename journald.h to journald-server.h and move corresponding code
         to journald-server.c.
      2. add journald-server.c and other journald-*.c parts to
         libsystemd-journal-internal.
      3. remove journald-syslog.c from test_journal_syslog_SOURCES, since
         it is now contained in libsystemd-journal-internal.
      There are no code changes, apart from the removal of a few static's,
      to allow function calls between files.
      d025f1e4
    • Lennart Poettering's avatar
  8. 09 Nov, 2012 5 commits
  9. 07 Nov, 2012 1 commit
  10. 03 Nov, 2012 1 commit
  11. 01 Nov, 2012 1 commit
  12. 31 Oct, 2012 1 commit
  13. 28 Oct, 2012 1 commit
  14. 27 Oct, 2012 2 commits
  15. 26 Oct, 2012 3 commits
    • Lennart Poettering's avatar
      journal: provide an API that allows client to figure out whether they need to... · 85210bff
      Lennart Poettering authored
      journal: provide an API that allows client to figure out whether they need to recheck the journal manually for changes in regular intervals
      
      Network file systems generally do not offer inotify() that would work
      across the network. We hence cannot rely on inotify() exclusiely in
      those case. Provide an API to determine these cases, and suggest doing
      manual regular rechecks.
      
      Note that this is not complete yet, as we need to rescan journal dirs on
      network file systems explicitly to find new/removed files
      85210bff
    • Martin Pitt's avatar
      keymap: Add HP EliteBook 8440p · 221a6c2a
      Martin Pitt authored
      Thanks to Glen Ditchfield <gjditchfield@acm.org>!
      
      https://launchpad.net/bugs/1071579
      221a6c2a
    • Lennart Poettering's avatar
      journal: introduce entry array chain cache · a4bcff5b
      Lennart Poettering authored
      When traversing entry array chains for a bisection or for retrieving an
      item by index we previously always started at the beginning of the
      chain. Since we tend to look at the same chains repeatedly, let's cache
      where we have been the last time, and maybe we can skip ahead with this
      the next time.
      
      This turns most bisections and index lookups from O(log(n)*log(n)) into
      O(log(n)). More importantly however, we seek around on disk much less,
      which is good to reduce buffer cache and seek times on rotational disks.
      a4bcff5b
  16. 25 Oct, 2012 1 commit
  17. 23 Oct, 2012 1 commit
  18. 22 Oct, 2012 2 commits