Michael Stapelberg
ba573a3afc
Use orig tarball systemd-204.tar.xz.
...
Instead of tracking git upstream directly, the upstream branch now
contains the contents of the orig tarball available at
http://www.freedesktop.org/software/systemd/
2014-04-26 10:16:11 +02:00
Michael Stapelberg
0a93274a85
Delete all upstream files in preparation for the merge.
...
This is necessary to properly deal with files like units/syslog.target,
which would not be deleted when merging otherwise.
2014-04-26 10:15:56 +02:00
Harald Hoyer
bb150966c0
systemd-analyse: add "critical-chain" command
...
"critical-chain" prints a tree of the critical chain of units
$ ./systemd-analyze critical-chain
graphical.target @1.226s
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
└─rpcbind.service @958ms +1ms
└─network.target @957ms
└─NetworkManager.service @434ms +522ms
└─basic.target @428ms
└─sockets.target @428ms
└─dbus.socket @428ms
└─sysinit.target @427ms
└─systemd-tmpfiles-setup.service @411ms +15ms
└─local-fs.target @410ms
└─boot-efi.automount @410ms
└─boot.mount @397ms +9ms
└─local-fs-pre.target @192ms
└─systemd-udevd.service @187ms +5ms
└─systemd-udevd-control.socket @140ms
└─-.mount
With the "--fuzz=<ms>" parameter one can display more units around
the critical units.
$ ./systemd-analyze --fuzz=10ms critical-chain
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
├─rpcbind.service @958ms +1ms
│ └─network.target @957ms
│ └─NetworkManager.service @434ms +522ms
│ ├─basic.target @428ms
│ │ ├─sockets.target @428ms
│ │ │ ├─dbus.socket @428ms
│ │ │ │ └─sysinit.target @427ms
│ │ │ │ ├─systemd-tmpfiles-setup.service @411ms +15ms
│ │ │ │ │ └─local-fs.target @410ms
│ │ │ │ │ └─boot-efi.automount @410ms
│ │ │ │ │ └─boot.mount @397ms +9ms
│ │ │ │ │ └─local-fs-pre.target @192ms
│ │ │ │ │ └─systemd-udevd.service @187ms +5ms
│ │ │ │ │ ├─systemd-udevd-control.socket @140ms
│ │ │ │ │ │ └─-.mount
│ │ │ │ │ └─systemd-udevd-kernel.socket @140ms
│ │ │ │ └─swap.target @421ms
│ │ │ │ └─dev-disk-by\x2duuid-....swap @414ms +6ms
│ │ │ │ └─systemd-journald.socket
│ │ │ ├─rpcbind.socket @428ms
│ │ │ └─cups.socket @428ms
│ │ ├─paths.target @428ms
│ │ │ └─cups.path @428ms
│ │ ├─timers.target @427ms
│ │ │ └─systemd-tmpfiles-clean.timer @427ms
│ │ └─sysinit.target @427ms
│ │ └─...
│ └─dbus.socket @428ms
│ └─...
└─network.target @957ms
└─...
2013-04-26 13:34:22 +02:00
Harald Hoyer
83cb95b530
add bash completion for systemd-analyze
2013-04-24 16:49:33 +02:00
Zbigniew Jędrzejewski-Szmek
afba41995d
systemctl: show reverse dependencies or before/after ordering
...
Also update completion scripts a bit.
2013-04-24 00:25:04 -04:00
Harald Hoyer
bf83067c1d
shell-completion: add shell completion for "systemctl help"
2013-04-22 11:39:19 +02:00
Zbigniew Jędrzejewski-Szmek
90cf049bfe
shell-completion: use -a to see "empty" properties
2013-04-17 10:53:18 -04:00
Zbigniew Jędrzejewski-Szmek
caffaf5859
bash-completion: --property support
...
Just bash.
2013-04-17 00:09:16 -04:00
Zbigniew Jędrzejewski-Szmek
20b3f379cf
systemctl: allow multiple arguments to --type
...
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.
2013-04-11 19:11:52 -04:00
Zbigniew Jędrzejewski-Szmek
c2e09812e9
shell-completion: show failed units as candidates for start
...
Also show disabled units as candidates for reenable,
since it works and one may want to do enable-or-reenable
in one line.
2013-04-10 19:47:21 -04:00
Zbigniew Jędrzejewski-Szmek
79c1638303
shell-completion: replace printf with echo
...
It is faster to use a bash built-in, then to invoke an external
program. The problem of unit names starting with a dash is solved
by prepending a space. Spaces are ignored anyway.
For zsh, replace echo "$unit", which is vulnerable to dashes,
with echo " $unit".
2013-04-10 19:47:16 -04:00
Zbigniew Jędrzejewski-Szmek
9e542e0b3a
shell-completion: work on session shell is --user is used
...
https://bugs.freedesktop.org/show_bug.cgi?id=61695
2013-04-05 11:44:01 -04:00
Harald Hoyer
1535fb7379
shell-completion/bash/journalctl: suppress stderr
2013-03-19 15:04:02 +01:00
Tom Gundersen
a3bd8447be
udev: make firmware loading optional and disable by default
...
Distros that whish to support old kernels should set
--with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware"
to retain the old behaviour.
2013-03-18 15:19:51 +01:00
Michael Biebl
d611dadcc7
bash-completion: split completions and move to new location
...
Split the large bash completion script into separate, smaller files each
named after the binary it is used for and move the files to
/usr/share/bash-completion/completions. This way the completions can be
loaded on demand and we only install the completions for the tools we
actually build. The old path /etc/bash_completion.d/ is deprecated and
will disappear in the future.
2013-03-03 14:39:51 +01:00