1. 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
  2. 25 Oct, 2012 1 commit
  3. 23 Oct, 2012 1 commit
  4. 22 Oct, 2012 4 commits
  5. 21 Oct, 2012 1 commit
  6. 19 Oct, 2012 2 commits
  7. 18 Oct, 2012 1 commit
    • Lennart Poettering's avatar
      journal: add ability to list values a specified field can take in all entries of the journal · 3c1668da
      Lennart Poettering authored
      The new 'unique' API allows listing all unique field values that a field
      specified by a field name can take in all entries of the journal. This
      allows answering queries such as "What units logged to the journal?",
      "What hosts have logged into the journal?", "Which boot IDs have logged
      into the journal?".
      
      Ultimately this allows implementation of tools similar to lastlog based
      on journal data.
      
      Note that listing these field values will not work for journal files
      created with older journald, as the field values are not indexed in
      older files.
      3c1668da
  8. 17 Oct, 2012 4 commits
  9. 16 Oct, 2012 1 commit
  10. 13 Oct, 2012 2 commits
  11. 11 Oct, 2012 2 commits
  12. 10 Oct, 2012 1 commit
  13. 09 Oct, 2012 1 commit
  14. 03 Oct, 2012 2 commits
    • Lennart Poettering's avatar
      build-sys: prepare 194 · f9b55720
      Lennart Poettering authored
      f9b55720
    • Tom Gundersen's avatar
      vconsole: default to the kernel compiled-in font · f51356b4
      Tom Gundersen authored
      No longer override the default kernel font if nothing is specified in
      vconsole.conf.
      
      The default kernel font[0] provides ISO-8859-1 and box characters. Users
      of Arabic, Cyrilic or Hebrew must set a different font manually as these
      character sets were provided by the old default font [1], but are not
      any longer.
      
      Rationale:
      
       * it is counter-intuitive that an empty vconsole.conf file is different
         from adding FONT="";
       * the version of the default font shipped with Arch (which is the
         upstream one) behaves very badly during early boot[2] (which should
         admittedly be fixed in the font itself);
       * the kernel already supplies a default font, it seems reasonable to
         use that unless anything else is specified;
       * This also avoids a needless slow call to setfont; and
       * We don't want to work around problems in the kernel (in case the
         compiled-in font is not acceptable for whatever reason).
      
      [0]: <https://dev.archlinux.org/~tomegun/kernel.bdf>
      [1]: <https://dev.archlinux.org/~tomegun/latarcyrheb.bdf>
      [2]: <http://i.imgur.com/J2tM4.jpg>
      f51356b4
  15. 02 Oct, 2012 2 commits
    • Lennart Poettering's avatar
      audit: turn the audit fd into a static variable · c1165f82
      Lennart Poettering authored
      As audit is pretty much just a special kind of logging we should treat
      it similar, and manage the audit fd in a static variable.
      
      This simplifies the audit fd sharing with the SELinux access checking
      code quite a bit.
      c1165f82
    • Lennart Poettering's avatar
      selinux: rework selinux access check logic · cad45ba1
      Lennart Poettering authored
      a) Instead of parsing the bus messages inside of selinux-access.c
      simply pass everything pre-parsed in the functions
      
      b) implement the access checking with a macro that resolves to nothing
      on non-selinux builds
      
      c) split out the selinux checks into their own sources
      selinux-util.[ch]
      
      d) this unifies the job creation code behind the D-Bus calls
      Manager.StartUnit() and Unit.Start().
      cad45ba1
  16. 27 Sep, 2012 2 commits
  17. 25 Sep, 2012 1 commit
  18. 24 Sep, 2012 1 commit
  19. 23 Sep, 2012 1 commit
  20. 21 Sep, 2012 5 commits
  21. 20 Sep, 2012 1 commit
  22. 18 Sep, 2012 1 commit