1. 15 Apr, 2013 1 commit
  2. 12 Apr, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      systemctl: new verb 'list-sockets' · 991f2a39
      Zbigniew Jędrzejewski-Szmek authored
      LISTEN           UNIT                            ACTIVATES
      /dev/initctl     systemd-initctl.socket          systemd-initctl.service
      /dev/log         systemd-journald.socket         systemd-journald.service
      ...
      [::]:19531       systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
      kobject-uevent 1 systemd-udevd-kernel.socket     systemd-udevd.service
      
      17 sockets listed.
      Pass --all to see loaded but inactive sockets, too.
      991f2a39
  3. 11 Apr, 2013 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      systemctl: allow multiple arguments to --type · 20b3f379
      Zbigniew Jędrzejewski-Szmek authored
      This mirrors --property, and is generally useful.
      
      New functionality is used in bash completion.
      
      In case of zsh completion, new functionality is less useful
      because of caching. Nevertheless, zsh completion for restart
      is made to behave more-or-less the same as bash completion.
      At least sockets can be restarted.
      20b3f379
  4. 28 Feb, 2013 1 commit
  5. 27 Feb, 2013 1 commit
  6. 22 Feb, 2013 3 commits
    • Michal Schmidt's avatar
      systemctl: make shutdown operations use irreversible jobs · b85bddda
      Michal Schmidt authored
      Occasionally people report problem with reboot/poweroff operations hanging in
      the middle. One known cause is when a new transaction to start a unit is
      enqueued while the shutdown is going on. The start of the unit conflicts with
      the shutdown jobs, so they get cancelled. The failure case can be quite unpleasant,
      becase getty and sshd may already be stopped.
      
      Fix it by using irreversible jobs for shutdown (reboot/poweroff/...) actions.
      This applies to commands like "reboot", "telinit 6", "systemctl reboot". Should
      someone desire to use reversible jobs, they can say "systemctl start reboot.target".`
      b85bddda
    • Michal Schmidt's avatar
      core, systemctl: add support for irreversible jobs · 23ade460
      Michal Schmidt authored
      Add a new job mode: replace-irreversibly. Jobs enqueued using this mode
      cannot be implicitly canceled by later enqueued conflicting jobs.
      They can however still be canceled with an explicit "systemctl cancel"
      call.
      23ade460
    • Michal Schmidt's avatar
      systemctl: make "systemctl default" use "isolate" job mode · b7cf6049
      Michal Schmidt authored
      "systemctl default" should behave identically to "telinit N" (where N is the
      corresponding runlevel target number), therefore it should use isolate job mode
      too.
      b7cf6049
  7. 16 Feb, 2013 3 commits
  8. 13 Feb, 2013 2 commits
  9. 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.
      ccc9a4f9
  10. 17 Jan, 2013 2 commits
  11. 16 Jan, 2013 1 commit
    • Lukas Nykryn's avatar
      systemctl,loginctl,cgls: do not ellipsize cgroup members when --full is specified · 9bdbc2e2
      Lukas Nykryn authored
      New file output.h with output flags and modes.
      
      --full parameter also for cgls and loginctl.
      
      Include 'all' parameter in flags (show_cgroup_by_path, show_cgroup,
      show_cgroup_and_extra, show_cgroup_and_extra_by_spec).
      
      get_process_cmdline with max_length == 0 will not ellipsize output.
      
      Replace LINE_MAX with 0 in some calls of get_process_cmdline.
      
      [zj: Default to --full when under pager for clgs.
           Drop '-f' since it wasn't documented and didn't actually work.
           Reindent a bit.
      ]
      9bdbc2e2
  12. 11 Jan, 2013 1 commit
  13. 03 Jan, 2013 1 commit
    • Thomas Hindoe Paaboel Andersen's avatar
      systemctl: add is-failed · 1a0fce45
      Thomas Hindoe Paaboel Andersen authored
      Adds is-failed to join is-active and is-enabled.
      
      I grabbed this one from the todo list. Most of the functionality was
      already there for is-active. I just needed to make check_one_unit take
      the states to check for as an argument instead of the hardcoded
      "active" and "reloading".
      
      is-failed will return 1 if none of the units given are failed. This is
      different from is-active which will return 3 if none of the units
      given are active. It returns 3 with this comment:
      /* According to LSB: "program is not running" */
      As that does not make sense when looking for failed units I simply
      chose 1 instead.
      1a0fce45
  14. 15 Nov, 2012 1 commit
  15. 30 Oct, 2012 1 commit
  16. 27 Oct, 2012 1 commit
  17. 25 Oct, 2012 1 commit
  18. 18 Oct, 2012 1 commit
    • Lennart Poettering's avatar
      systemctl: remove --follow option · aae9a96d
      Lennart Poettering authored
      Given that "journalctl -u" exists now there's no need to duplicate this
      functionality in systemctl, so let's drop this, especially given that it
      always felt a bit awkward to overload "-f" to both --force and --follow,
      and to have continues output with a status header for this.
      
              systemctl status -f avahi-daemon
      
      now becomes:
      
              journalctl -fu avahi-daemon
      
      Which is shorter and a lot less redundant.
      aae9a96d
  19. 13 Sep, 2012 1 commit
  20. 26 Jul, 2012 1 commit
  21. 16 Jul, 2012 1 commit
  22. 10 Jul, 2012 1 commit
    • Zbigniew Jędrzejewski-Szmek's avatar
      systemctl: filter shown units by their load state · c147dc42
      Zbigniew Jędrzejewski-Szmek authored
      E.g. systemctl --all -t masked gives the list of masked units.
      
      The -t/--type option is reused. This is possible because unit types
      and unit load states are called differently, so it is possible to
      distinguish what the user meant. Using the same option also means that
      the interface is user for the user: less options to remember.
      c147dc42
  23. 28 Jun, 2012 1 commit
  24. 27 Jun, 2012 1 commit
  25. 10 Jun, 2012 1 commit
  26. 04 Jun, 2012 1 commit
  27. 31 May, 2012 1 commit
  28. 29 May, 2012 1 commit
  29. 15 May, 2012 1 commit
  30. 14 May, 2012 1 commit
  31. 08 May, 2012 1 commit
  32. 11 Apr, 2012 2 commits
  33. 03 Apr, 2012 1 commit