Commit Graph

1768 Commits

Author SHA1 Message Date
Lennart Poettering
9b3d909074 manager: consider jobs already installed as redundant when reducing new transactions 2010-11-15 03:44:11 +01:00
Lennart Poettering
672028dc4e path: avoid immediate restarting of units triggered by paths if nothing actually changed on disk 2010-11-15 00:49:21 +01:00
Lennart Poettering
782195a3c3 path: always look for IN_ATTRIB since deletion is signalled that way 2010-11-15 00:47:29 +01:00
Lennart Poettering
6210e7fc31 manager: always pull 'following' units into transaction 2010-11-14 23:48:21 +01:00
Lennart Poettering
9381a72403 util: always highlight distro name 2010-11-14 23:48:20 +01:00
Lennart Poettering
92ab323c82 units: make use of agetty mandatory 2010-11-14 23:48:20 +01:00
Lennart Poettering
41242c42bf manager: don't fail transaction if adding CONFLICTED_BY job fails 2010-11-14 23:48:20 +01:00
Lennart Poettering
824a1d590a pam: rename 'no-session' to 'user' cgroup 2010-11-14 23:48:20 +01:00
Lennart Poettering
57339f47f1 job: make it possible to wait for devices to be unplugged 2010-11-14 23:48:20 +01:00
Michael Biebl
7611630462 Remove umount*.service files for Debian
With the introduction of native shutdown/reboot, the killall.service was
removed (as this functionality was moved into systemd-shutdown).
Without killall.service though, the umount*.service files no longer work
correctly.
Wit native mount support those files are also no longer necessary, so
remove them.
2010-11-14 22:14:39 +01:00
Lennart Poettering
9c73736da8 tmpfiles: ignore files marked with the sticky bit 2010-11-14 20:12:51 +01:00
Lennart Poettering
f90cf44c02 load-fragment: properly do comparison of words 2010-11-14 19:59:10 +01:00
Lennart Poettering
5475ff4b7a udev: ignore temporary udev devices 2010-11-14 19:59:10 +01:00
Lennart Poettering
1fc7633598 cryptsetup: handle password=none properly 2010-11-14 19:59:10 +01:00
Lennart Poettering
e2d480b9d1 cryptsetup: properly parse cipher= switch 2010-11-14 19:59:10 +01:00
Lennart Poettering
260ab28795 cryptsetup: support non-LUKS crypto partitions 2010-11-14 19:59:10 +01:00
Kay Sievers
612eb8e459 update TODO 2010-11-12 19:04:07 +01:00
Lennart Poettering
42e8a0a8d5 update fixme 2010-11-12 03:56:43 +01:00
Lennart Poettering
bd1db33fb9 ask-password: leave printing of final prompt colon to message 2010-11-12 03:42:13 +01:00
Lennart Poettering
7af53310dd ask-password: don't show wall message on ttys we are already running a tty agent on 2010-11-12 03:33:08 +01:00
Lennart Poettering
9d3e691e70 ask-password: refer to right binary name in wall message 2010-11-12 03:05:20 +01:00
Lennart Poettering
656ce8f77a ask-password: ignore unknown query file fields 2010-11-12 03:05:03 +01:00
Lennart Poettering
53d3afa8ca ask-password: properly NULL terminate table 2010-11-12 03:04:47 +01:00
Lennart Poettering
c5fd1e57e4 manager: be a bit more verbose if we receive unknown epoll event 2010-11-12 03:04:29 +01:00
Lennart Poettering
74715b82cb cryptsetup: automatically start cryptsetup when looking for mount source 2010-11-12 03:04:10 +01:00
Lennart Poettering
f41c094c9f log: fix build 2010-11-12 01:02:03 +01:00
Lennart Poettering
bb7df0da2d log: add automatic log target 2010-11-12 01:01:04 +01:00
Lennart Poettering
7f4e08056d cryptsetup: hook up tool with ask-password 2010-11-12 00:40:27 +01:00
Lennart Poettering
5a1e99375d manager: hookup generators 2010-11-12 00:40:26 +01:00
Lennart Poettering
9190132924 build-sys: fix usage of path macros 2010-11-12 00:40:26 +01:00
Lennart Poettering
9fe117ea5a mount: don't relabel /dev twice in a row 2010-11-12 00:40:26 +01:00
Kay Sievers
6d3d218b35 update TODO 2010-11-11 16:55:28 +01:00
Andrew Edmunds
f8553ccbb3 man: Fix various typos 2010-11-11 14:24:47 +01:00
Kay Sievers
57f2a956e6 split mount_point_is_api() and mount_point_ignore()
We should not handle the ignore list as API mounts, as
systemd itself never touches them.

On Thu, Nov 11, 2010 at 10:34, Andreas Jaeger <aj@novell.com> wrote:
>
> I noticed for some time that systemd-remount-api-vfs is in the
> failed state and found now the following in the log files
>
> systemd-remount-api-vfs[467]: /bin/mount for /proc/bus/usb exited with exit status 32.
> systemd-remount-api-vfs[467]: mount: /proc/bus/usb not mounted already, or bad option
> systemd[1]: systemd-remount-api-vfs.service: main process exited, code=exited, status=1
> systemd[1]: Unit systemd-remount-api-vfs.service entered failed state.
2010-11-11 11:15:16 +01:00
Lennart Poettering
f54409d8b8 units: deal properly with the fact that agetty is called getty on Debian 2010-11-11 00:30:00 +01:00
Lennart Poettering
b0734b235f tmpfiles: include reference to man page in tmpfiles files 2010-11-10 23:58:01 +01:00
Andrey Borzenkov
5b396b06e0 vconsole: support additional keymap for toggling layouts
At least Mandriva offers configuring characters to toggle
keyboard layout independently from main keymap. This functions
much the same as XkbOptions for X11 and actually is configured
together. The patch adds support for additional keymap,
KEYMAP_TOGGLE, to /etc/vconsole.conf, that is intended to be
used for the same purpose.
2010-11-10 23:41:54 +01:00
Lennart Poettering
6ee5bbf85c main: warn if /etc/mtab is not a symlink 2010-11-10 23:18:34 +01:00
Ran Benita
42bb3074fe add bash completion for systemctl --system
I've been playing recently with systemd on Arch, and had much fun. But
soon, alas, my fingers started to ache from repeatedly writing
systemctl restart some-long-service.service. So, I wrote a completion
script. I figured other people may want to use it, so I prepared a
patch against systemd-git (attached).

There are some notes/disclaimers, however:

- It requires bash>=4.0, sed, grep and awk. A bash-completion package
is not strictly needed; sourcing the file is enough.
- It wouldn't work properly with --session, as I had no way to test it.
- It uses the output of systemctl list-units directly when that's
enough, but also runs systemctl show when completing on some verbs
(for example, to check for AllowIsolate=yes). This /may/ be somewhat
slow once there are many units, since it calls a dbus method on each
one. Is there a faster way to have that information?
- The code is perhaps a bit long and messy; honestly, I blame the tool ;)

One way to improve on the situation is to integrate some completion
code in systemctl itself, the way e.g. gdbus, gsettings and django do
it. This will allow for finer grained and faster completions, and it
won't be necessary to keep the verb/option tables in sync with some
other file. But it does mean adding all of this code in C. If this is
acceptable, I'll try to have a go at it.

Finally, a couple of completion tips I run into:
- If you alias systemctl to, say, sctl, you get completions on that
too by running to following command:
complete -F _systemctl sctl
- Add the following line to your .inputrc, to have the completion show
after only a single tab press:
set show-all-if-ambiguous on
It makes the shell quite more pleasant.

Hope it's good enough!

Ran
2010-11-10 23:02:44 +01:00
Lennart Poettering
aeee2322a6 man: minor tmpfiles(5) updates and reindenting 2010-11-10 23:01:20 +01:00
Lennart Poettering
f3b6a3edbc main: rename process on startup to 'systemd' to avoid confusion 2010-11-10 22:39:33 +01:00
Lennart Poettering
d257ddef22 unit: add ConditionNull= condition 2010-11-10 22:39:18 +01:00
Lennart Poettering
06cdd2484c ac-power: make ac-power a proper binary that scripts can call 2010-11-10 22:38:44 +01:00
Lennart Poettering
e9ddabc246 manager: parse RD_TIMESTAMP passed from initrd 2010-11-10 22:38:44 +01:00
Lennart Poettering
70ca520f43 modules-load: fix minor race 2010-11-10 22:38:43 +01:00
Lennart Poettering
dce8e2e123 label: use internal utility functions wher epossible 2010-11-10 22:38:43 +01:00
Lennart Poettering
e23a0ce8ba cryptsetup: minimal cryptsetup unit generator 2010-11-10 22:38:43 +01:00
Lennart Poettering
1829dc9dc5 selinux: relabel /dev after loading policy 2010-11-10 22:38:43 +01:00
Lennart Poettering
31a7034d38 log: downgrade syslog connection failure message since it might happen during normal operation 2010-11-10 22:38:43 +01:00
Lennart Poettering
2edfa36685 service: delay automatic restart if job is pending 2010-11-10 22:38:43 +01:00