1. 17 Apr, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      Report about syntax errors with metadata · e8e581bf
      Zbigniew Jędrzejewski-Szmek authored
      The information about the unit for which files are being parsed
      is passed all the way down. This way messages land in the journal
      with proper UNIT=... or USER_UNIT=... attribution.
      
      'systemctl status' and 'journalctl -u' not displaying those messages
      has been a source of confusion for users, since the journal entry for
      a misspelt setting was often logged quite a bit earlier than the
      failure to start a unit.
      Based-on-a-patch-by: default avatarOleksii Shevchuk <alxchk@gmail.com>
      e8e581bf
  2. 16 Apr, 2013 2 commits
  3. 15 Apr, 2013 1 commit
  4. 05 Apr, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      Use initalization instead of explicit zeroing · b92bea5d
      Zbigniew Jędrzejewski-Szmek authored
      Before, we would initialize many fields twice: first
      by filling the structure with zeros, and then a second
      time with the real values. We can let the compiler do
      the job for us, avoiding one copy.
      
      A downside of this patch is that text gets slightly
      bigger. This is because all zero() calls are effectively
      inlined:
      
      $ size build/.libs/systemd
               text    data     bss     dec     hex filename
      before 897737  107300    2560 1007597   f5fed build/.libs/systemd
      after  897873  107300    2560 1007733   f6075 build/.libs/systemd
      
      … actually less than 1‰.
      
      A few asserts that the parameter is not null had to be removed. I
      don't think this changes much, because first, it is quite unlikely
      for the assert to fail, and second, an immediate SEGV is almost as
      good as an assert.
      b92bea5d
  5. 15 Mar, 2013 1 commit
    • Lennart Poettering's avatar
      logind: explicitly create state directories during early initialization · bb27ff66
      Lennart Poettering authored
      Strictly speaking this isn't necessary for the /run/systemd/seats/
      directory, since that is created anyway as the first seat is found, and
      seat0 is always found. But let's be explicit here, and also create the
      sessions/ and users/ directories, so that people can always install
      inotify watches from very early on, even when nobody logged in yet.
      bb27ff66
  6. 14 Feb, 2013 1 commit
  7. 09 Feb, 2013 1 commit
    • Lennart Poettering's avatar
      logind: rename "seat-master" tag to "master-of-seat" · 2d96536d
      Lennart Poettering authored
      We currently enforce that seats are to be named in the form of
      "seatXXX", i.e. need to begin with the 4 characters "seat". Thus,
      "seat-master" would qualify as a seat name. As seat names are frequently
      used as tags on devices, the "seat-master" tag might hence confuse
      logind if the user decides to name a seat "seat-master".
      
      Hence, avoid any ambuigity: let's rename the "seat-master" tag to
      "master-of-seat".
      2d96536d
  8. 25 Jan, 2013 1 commit
    • Lennart Poettering's avatar
      logind: rework delay inhibition logic · 314b4b0a
      Lennart Poettering authored
      - Don't allow any locks to be taken while we are in the process of
        executing the specific operation, so that apps are not surprised if a
        suspend/shutdown happens while they rely on their inhibitor.
      
      - Get rid of the Resumed signal, it was a bad idea, and redundant due to
        PrepareForSleep(false), see below.
      
      - Always send out PrepareFor{Shutdown,Sleep} signals, instead of only if
        a delay lock is taken.
      
      - Move PrepareForSleep(false) after we come back from the suspend, so
        that apps can use this as "Resumed" notification. This also has the
        benefit that apps know when to take a new lock.
      314b4b0a
  9. 24 Jan, 2013 1 commit
  10. 07 Jan, 2013 1 commit
  11. 23 Dec, 2012 1 commit
  12. 21 Sep, 2012 2 commits
  13. 19 Sep, 2012 2 commits
  14. 17 Sep, 2012 2 commits
  15. 08 Aug, 2012 1 commit
  16. 26 Jul, 2012 1 commit
  17. 25 Jul, 2012 1 commit
  18. 16 Jul, 2012 1 commit
  19. 15 Jun, 2012 1 commit
  20. 31 May, 2012 1 commit
  21. 30 May, 2012 2 commits
  22. 08 May, 2012 1 commit
  23. 04 May, 2012 1 commit
  24. 16 Apr, 2012 3 commits
  25. 13 Apr, 2012 1 commit
  26. 11 Apr, 2012 1 commit
    • Lennart Poettering's avatar
      relicense to LGPLv2.1 (with exceptions) · 5430f7f2
      Lennart Poettering authored
      We finally got the OK from all contributors with non-trivial commits to
      relicense systemd from GPL2+ to LGPL2.1+.
      
      Some udev bits continue to be GPL2+ for now, but we are looking into
      relicensing them too, to allow free copy/paste of all code within
      systemd.
      
      The bits that used to be MIT continue to be MIT.
      
      The big benefit of the relicensing is that closed source code may now
      link against libsystemd-login.so and friends.
      5430f7f2
  27. 03 Apr, 2012 1 commit
  28. 30 Mar, 2012 1 commit
  29. 03 Feb, 2012 1 commit
  30. 31 Jan, 2012 1 commit
  31. 05 Jan, 2012 1 commit
  32. 04 Jan, 2012 2 commits