1. 09 May, 2013 1 commit
    • Karol Lewandowski's avatar
      condition, man: Add support for ConditionSecurity=smack · b62ee524
      Karol Lewandowski authored
      According to Documentation/security/Smack.txt:
        In keeping with the intent of Smack, configuration data is minimal
        and not strictly required. The most important configuration step is
        mounting the smackfs pseudo filesystem.
      This means that checking the mount point should be enough.
  2. 06 May, 2013 2 commits
  3. 03 May, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      man: add various filenames to the index · 845c5324
      Zbigniew Jędrzejewski-Szmek authored
      Everything which is an absolute filename marked with <filename></filename>
      lands in the index, unless noindex= attribute is present. Should make
      it easier for people to find stuff when they are looking at a file on
      Various formatting errors in manpages are fixed, kernel-install(1) is
      restored to formatting sanity.
  4. 30 Apr, 2013 2 commits
  5. 15 Apr, 2013 1 commit
  6. 30 Mar, 2013 2 commits
    • Zbigniew Jędrzejewski-Szmek's avatar
      build-sys,man: use XML entities to substite strings · 1a13e31d
      Zbigniew Jędrzejewski-Szmek authored
      This makes it easier to add substitutions to man pages,
      avoiding the separate transformation step.
      mkdir -p's are removed from the rule, because xsltproc will
      will create directories on it's own.
      All in all, two or three forks per man page are avoided,
      which should make things marginally faster.
      Unfortunately python parsers must too be tweaked to handle
      entities. This isn't particularly easy: with lxml a custom
      Resolver can be used, but the stdlib etree doesn't support
      external entities *at all*. So when running without lxml,
      the entities are just removed. Right now it doesn't matter,
      since the entities are not indexed anyway. But I intend to
      add indexing of filenames in the near future, and then the
      index generated without lxml might be missing a few lines.
      Oh well.
    • Zbigniew Jędrzejewski-Szmek's avatar
      Revert "build-sys: substitute strings in systemd.unit(5)" · aa0bb9c2
      Zbigniew Jędrzejewski-Szmek authored
      This reverts commits c78ab911
      and 185c3be0.
      It is simpler to just use includes...
  7. 27 Mar, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      Simplify the meaning of %s · 3baed193
      Zbigniew Jędrzejewski-Szmek authored
      The rules governing %s where just too complicated. First of
      all, looking at $SHELL is dangerous. For systemd --system,
      it usually wouldn't be set. But it could be set if the admin
      first started a debug shell, let's say /sbin/sash, and then
      launched systemd from it. This shouldn't influence how daemons
      are started later on, so is better ignored. Similar reasoning
      holds for session mode. Some shells set $SHELL, while other
      set it only when it wasn't set previously (e.g. zsh). This
      results in fragility that is better avoided by ignoring $SHELL
      With $SHELL out of the way, simplify things by saying that
      %s==/bin/sh for root, and the configured shell otherwise.
      get_shell() is the only caller, so it can be inlined.
      Fixes one issue seen with 'make check'.
  8. 20 Feb, 2013 1 commit
  9. 07 Feb, 2013 2 commits
  10. 30 Jan, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      install: allow specifiers in WantedBy/RequiredBy/Alias · 7584d236
      Zbigniew Jędrzejewski-Szmek authored
      This allows one templated unit to refer to another templated unit
      at installation time.
      > grep WantedBy ~/.config/systemd/user/mpop@.timer
      > srv disable mpop@iit.timer
      rm '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer'
      > srv enable mpop@iit.timer
      ln -s '/home/alxchk/.config/systemd/user/mpop@.timer' '/home/alxchk/.config/systemd/user/services@iit.target.wants/mpop@iit.timer'
      Based-on-patch-by: default avatarOleksii Shevchuk <alxchk@gmail.com>
  11. 29 Jan, 2013 1 commit
  12. 26 Jan, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      man: extend systemd.directives(7) to all manual pages · ccc9a4f9
      Zbigniew Jędrzejewski-Szmek authored
      New sections are added: PAM options, crypttab options, commandline
      options, miscellaneous. The last category will be used for all
      untagged <varname> elements.
      Commandline options sections is meant to be a developer tool: when
      adding an option it is sometimes useful to be able to check if
      similarly named options exist elsewhere.
  13. 17 Jan, 2013 1 commit
  14. 15 Jan, 2013 1 commit
  15. 10 Jan, 2013 1 commit
    • Lennart Poettering's avatar
      unit: allow extension of unit files with .d/*.conf drop-ins · 8afbb8e1
      Lennart Poettering authored
      For all unit files foobar.service we will now read
      foobar.service.d/*.conf, too. This may be used to override certain unit
      settings without having to edit unit files directly.
      This makes it really easy to change specific settings for services
      without having to edit any unit file:
      mkdir /etc/systemd/system/avahi-daemon.service.d/
      echo -e '[Service]\nNice=99' > /etc/systemd/system/avahi-daemon.service.d/nice.conf
      systemctl daemon-reload
  16. 09 Jan, 2013 1 commit
  17. 31 Dec, 2012 1 commit
  18. 19 Dec, 2012 1 commit
  19. 23 Nov, 2012 1 commit
  20. 30 Oct, 2012 1 commit
  21. 25 Oct, 2012 1 commit
  22. 15 Oct, 2012 1 commit
    • Andrew Eikum's avatar
      Reword sentences that contain psuedo-English "resp." · 16dad32e
      Andrew Eikum authored
      As you likely know, Arch Linux is in the process of moving to systemd.
      So I was reading through the various systemd docs and quickly became
      baffled by this new abbreviation "resp.", which I've never seen before
      in my English-mother-tongue life.
      Some quick Googling turned up a reference:
      I guess it's a literal translation of the German "Beziehungsweise", but
      English doesn't work the same way. The word "respectively" is used
      exclusively to provide an ordering connection between two lists. E.g.
      "the prefixes k, M, and G refer to kilo-, mega-, and giga-,
      respectively." It is also never abbreviated to "resp." So the sentence
      "Sets the default output resp. error output for all services and
      sockets" makes no sense to a natural English speaker.
      This patch removes all instances of "resp." in the man pages and
      replaces them with sentences which are much more clear and, hopefully,
      grammatically valid. In almost all instances, it was simply replacing
      "resp." with "or," which the original author (Lennart?) could probably
      just do in the future.
      The only other instances of "resp." are in the src/ subtree, which I
      don't feel privileged to correct.
      Signed-off-by: default avatarAndrew Eikum <aeikum@codeweavers.com>
  23. 18 Sep, 2012 1 commit
  24. 13 Sep, 2012 1 commit
  25. 10 Sep, 2012 1 commit
  26. 21 Aug, 2012 1 commit
  27. 30 Jul, 2012 1 commit
  28. 26 Jul, 2012 2 commits
    • Michal Schmidt's avatar
      man: rewrite the description of PartOf · f3d52e8c
      Michal Schmidt authored
    • Michal Sekletar's avatar
      systemd: added new dependency PartOf · 85e9a101
      Michal Sekletar authored
      This should address TODO item "new dependency type to "group" services
      in a target". Semantic of new dependency is as follows. Once configured
      it creates dependency which will cause that all dependent units get
      stopped if unit they all depend on is stopped or restarted.  Usual use
      case would be configuring PartOf=some.target in template unit file
      and WantedBy=some.target in [Install] section and enabling desired
      number of instances. In this case starting one instance won't pull in
      target but stopping or starting target(in case of WantedBy is properly
      configured) will cause stop/start of all instances.
  29. 16 Jul, 2012 3 commits
    • Lennart Poettering's avatar
      man: reword man page titles · 34511ca7
      Lennart Poettering authored
      Make sure the man page titles are similar in style and capitalization so
      that our man page index looks pretty.
    • Lennart Poettering's avatar
    • Auke Kok's avatar
      unit: printf specifiers %u and %h: $USER and $HOME. · b2896c90
      Auke Kok authored
      These printf specifiers allow us to refer to $HOME and $USER
      in unit files. These are particularly helpful in instanced
      units that have "User=" set, and in systemd --user domains.
      The specifiers will return the pw_name and pw_dir fields
      if the unit file has a User= field.
      If the unit file does not have a User= field, the value
      substituted is either $USER or $HOME from the environment,
      or, if unset, the values from pw_name or pw_dir.
      This patch is somewhat after Ran Benita's original patch,
      which didn't get merged. I've split up the 2 specifiers
      and extended them to do what is logically expected from
      these specifiers.
      Note that expansion is done at `start` time, not after
      the units are parsed. Using `systemctl show` will just
      show the specifiers.
  30. 13 Jul, 2012 1 commit
    • Lennart Poettering's avatar
      unit: rename BindTo= to BindsTo= · 7f2cddae
      Lennart Poettering authored
      all other dependencies are in 3rd person. Change BindTo= accordingly to
      Of course, the dependency is widely used, hence we parse the old name
      too for compatibility.
  31. 22 Jun, 2012 1 commit
    • Lennart Poettering's avatar
      unit: drop the Names= option · 8ff290af
      Lennart Poettering authored
      Names= is a source of errors, simply because alias names specified like
      this only become relevant after a unit has been loaded but cannot be
      used to load a unit.
      Let's get rid of the confusion and drop this field. To establish alias
      names peope should use symlinks, which have the the benefit of being
      useful as key to load a unit, even though they are not taken into
      account if unit names are listed but they haven't been explicitly
      referenced before.
  32. 22 May, 2012 1 commit
  33. 21 May, 2012 1 commit