1. 06 Feb, 2013 1 commit
    • Thomas Hindoe Paaboel Andersen's avatar
      test: add a few tests and tidy up · 539ad707
      Thomas Hindoe Paaboel Andersen authored
      adds test of:
      strv_find
      strv_find_prefix
      strv_overlap
      strv_sort
      streq_ptr
      first_word
      
      Splits tests of util.c into own file to avoid clutter as we add more.
      
      Removed a few prints and uses _cleanup_free_ to make the tests more focused.
      539ad707
  2. 21 Jan, 2013 1 commit
  3. 19 Jan, 2013 1 commit
  4. 07 Jan, 2013 1 commit
  5. 03 Jan, 2013 1 commit
  6. 23 Dec, 2012 1 commit
  7. 02 Dec, 2012 1 commit
  8. 01 Dec, 2012 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      build-sys: use parallel tests driver · b5a223bf
      Zbigniew Jędrzejewski-Szmek authored
      This saves test output to individual .log files.
      
      The driver is only used in /Makefile.am, not in
      /docs/*udev/Makefile.am because the latter don't seem to work with
      this driver. They don't produce much output anyway.
      
      .gitignore is alphabetized, and .log files are added to it.
      Generated files from /build-aux are removed from the list.
      b5a223bf
  9. 23 Nov, 2012 1 commit
  10. 15 Nov, 2012 2 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
  11. 14 Nov, 2012 1 commit
  12. 27 Oct, 2012 1 commit
  13. 26 Oct, 2012 1 commit
    • 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
  14. 22 Oct, 2012 1 commit
  15. 19 Oct, 2012 1 commit
  16. 17 Oct, 2012 2 commits
  17. 13 Oct, 2012 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      journald: properly update message size after stripping the identifier · e88baee8
      Zbigniew Jędrzejewski-Szmek authored
      Valgrind says:
      ==29176== Conditional jump or move depends on uninitialised value(s)
      ==29176==    at 0x412A85: cunescape_length_with_prefix (util.c:1565)
      ==29176==    by 0x40B351: dev_kmsg_record (journald-kmsg.c:301)
      ==29176==    by 0x40B653: server_read_dev_kmsg (journald-kmsg.c:347)
      ==29176==    by 0x40B701: server_flush_dev_kmsg (journald-kmsg.c:365)
      ==29176==    by 0x409DE7: main (journald.c:1535)
      e88baee8
  18. 11 Oct, 2012 1 commit
  19. 27 Sep, 2012 1 commit
    • Lennart Poettering's avatar
      journal: add minimal journal gateway daemon based on GNU libmicrohttpd · 7b17a7d7
      Lennart Poettering authored
      This minimal HTTP server can serve journal data via HTTP. Its primary
      purpose is synchronization of journal data across the network. It serves
      journal data in three formats:
      
             text/plain: the text format known from /var/log/messages
             application/json: the journal entries formatted as JSON
             application/vnd.fdo.journal: the binary export format of the journal
      
      The HTTP server also serves a small HTML5 app that makes use of the JSON
      serialization to present the journal data to the user.
      
      Examples:
      
      This downloads the journal in text format:
      
       # systemctl start systemd-journal-gatewayd.service
       # wget http://localhost:19531/entries
      
      Same for JSON:
      
       # curl -H"Accept: application/json" http://localhost:19531/entries
      
      Access via web browser:
      
       $ firefox http://localhost:19531/
      7b17a7d7
  20. 24 Sep, 2012 1 commit
  21. 21 Sep, 2012 2 commits
  22. 10 Sep, 2012 1 commit
  23. 04 Sep, 2012 1 commit
  24. 16 Aug, 2012 1 commit
  25. 17 Jul, 2012 1 commit
  26. 12 Jul, 2012 1 commit
  27. 22 Jun, 2012 1 commit
  28. 21 Jun, 2012 1 commit
    • Lennart Poettering's avatar
      readahead: merge three binaries into one · 87ce22cc
      Lennart Poettering authored
      since the binaries share much of the same code and we better load only
      one binary instead of two from disk at early boot let's merge the three
      readahead binaries into one. This also allows us to drop a lot of
      duplicated code.
      87ce22cc
  29. 10 Jun, 2012 1 commit
  30. 22 May, 2012 2 commits
  31. 16 May, 2012 1 commit
  32. 08 May, 2012 1 commit
  33. 04 May, 2012 1 commit
  34. 24 Apr, 2012 1 commit
  35. 17 Apr, 2012 1 commit
  36. 16 Apr, 2012 1 commit