Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-10 | vconsole: support additional keymap for toggling layouts | Andrey Borzenkov | |
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 | main: warn if /etc/mtab is not a symlink | Lennart Poettering | |
2010-11-10 | add bash completion for systemctl --system | Ran Benita | |
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 | main: rename process on startup to 'systemd' to avoid confusion | Lennart Poettering | |
2010-11-10 | unit: add ConditionNull= condition | Lennart Poettering | |
2010-11-10 | ac-power: make ac-power a proper binary that scripts can call | Lennart Poettering | |
2010-11-10 | manager: parse RD_TIMESTAMP passed from initrd | Lennart Poettering | |
2010-11-10 | modules-load: fix minor race | Lennart Poettering | |
2010-11-10 | label: use internal utility functions wher epossible | Lennart Poettering | |
2010-11-10 | cryptsetup: minimal cryptsetup unit generator | Lennart Poettering | |
2010-11-10 | selinux: relabel /dev after loading policy | Lennart Poettering | |
2010-11-10 | log: downgrade syslog connection failure message since it might happen ↵ | Lennart Poettering | |
during normal operation | |||
2010-11-10 | service: delay automatic restart if job is pending | Lennart Poettering | |
2010-11-10 | manager: when isolating undo all pending jobs, too | Lennart Poettering | |
2010-11-10 | manager: only minimize impact if we are in fail mode | Lennart Poettering | |
2010-11-02 | do not overwrite other udev tags | Andrey Borzenkov | |
Systemd was unconditionally replacing all tags with own. The net effect was udev-acl tag was lost and devices were not given proper ACLs, making them inaccessible. Before: {pts/0}% udevadm info --query property --name sr0 DEVNAME=/dev/sr0 [...] TAGS=:systemd: {pts/0}% getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: cdrom user::rw- group::rw- other::--- After: {pts/0}% udevadm info --query property --name sr0 DEVNAME=/dev/sr0 [...] TAGS=:udev-acl:systemd: {pts/0}% getfacl /dev/sr0 getfacl: Removing leading '/' from absolute path names # file: dev/sr0 # owner: root # group: cdrom user::rw- user:bor:rw- group::rw- mask::rw- other::--- Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com> | |||
2010-10-31 | Revert "fsck: add new -l switch to fsck mount options" | Michael Biebl | |
The '-l' option is already taken by fsck.ext[234]: "-l bad_blocks_file Add to badblocks list" This reverts commit cf1a105550766d2251bc10240b6058a37babd600 but keeps the string changes. | |||
2010-10-31 | fsck: add new -l switch to fsck mount options | Lennart Poettering | |
2010-10-29 | fsck: return SUCCESS when we skip the check | Kay Sievers | |
2010-10-29 | fsck: skip checking / if it is writable | Kay Sievers | |
2010-10-29 | mount: don't pull in nofail mounts by default, but use them if they are around | Lennart Poettering | |
2010-10-29 | job: recursively fail BoundBy dependencies | Lennart Poettering | |
2010-10-29 | fsck: fix target name to check for | Lennart Poettering | |
2010-10-29 | units: order units by default before appropriate targets in case they are ↵ | Lennart Poettering | |
pulled indirectly | |||
2010-10-29 | unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵ | Lennart Poettering | |
weaker counterpart of Conflicts=, similar to Wants= vs. Requires= | |||
2010-10-29 | unit: replace StopRetroactively= by BindTo= dependencies | Lennart Poettering | |
The property StopRetroactively= needs to be per-dependency, not per-unit, in order to properly express dependencies between .mount units and its .device and fsck .service units. If the .device unit is unplugged the mount should go away, but if the fsck process terminates the .mount should stay. | |||
2010-10-28 | automount: show who's triggering an automount | Lennart Poettering | |
2010-10-28 | systemctl: always show what and where for mount units in status output | Lennart Poettering | |
2010-10-28 | shutdown: reword a few messages a little | Lennart Poettering | |
2010-10-28 | manager: show which jobs are actually installed after a transaction | Lennart Poettering | |
2010-10-28 | timer: when deserializing timer state stay elapsed when we are elapsed | Lennart Poettering | |
2010-10-28 | unit: replace recursive_stop by stop_retroactively to simplify things a little | Lennart Poettering | |
2010-10-28 | service: unify tstamp serialization code | Lennart Poettering | |
2010-10-28 | device: set recursive_stop=true by default | Lennart Poettering | |
2010-10-28 | unit: suppress incorrect deserialization errors | Lennart Poettering | |
2010-10-28 | swap: there's no reason not order swap after sysinit, so drop it | Lennart Poettering | |
2010-10-28 | socket: fix IPv6 availability detection | Andrey Borzenkov | |
If IPv6 is loaded with disable=1, any IPv6 functionality is completely disabled until the ipv6 module is reloaded. Do not assume IPv6 is available just because the module is present. Fixes startup error: Oct 27 20:58:02 cooker kernel: IPv6: Loaded, but administratively disabled, reboot required to enable Oct 27 20:58:02 cooker kernel: systemd[1]: Set hostname to <cooker>. Oct 27 20:58:02 cooker kernel: systemd[1]: Netlink failure for request 2: Operation not supported Oct 27 20:58:02 cooker kernel: systemd[1]: Failed to configure loopback device: Operation not supported | |||
2010-10-27 | mounts: automatically create /dev/stderr and friends early on boot so that ↵ | Lennart Poettering | |
they are around when we run shell scripts before udevd | |||
2010-10-27 | selinux: automatically load policy if the initrd hasn't done this for us yet | Lennart Poettering | |
2010-10-27 | main: move make_null_stdio() to util.c | Lennart Poettering | |
2010-10-27 | service: when after startup only one process is in a service's cgroup, ↵ | Lennart Poettering | |
assume it is the main process | |||
2010-10-27 | unit: serialize active timestamps | Lennart Poettering | |
2010-10-26 | swap: add only swaps listed in /etc/fstab automatically to swap.target, ↵ | Lennart Poettering | |
others should be added via .wants/ links | |||
2010-10-26 | errors: refer to systemctl status when useful | Lennart Poettering | |
2010-10-26 | swap: add default cgroup to swap exec env | Lennart Poettering | |
2010-10-26 | swap: expose swap exec env proprties via dbus | Lennart Poettering | |
2010-10-26 | readahead: bump a device's request_nr when enabling readahead | Lennart Poettering | |
2010-10-26 | shutdown: properly handle sigtimedwait() timing out | Lennart Poettering | |
2010-10-26 | exec: fix dbus exposure of UtmpIdentifier field | Lennart Poettering | |
2010-10-26 | main: fix typo in kernel cmdline parameters help | Andrey Borzenkov | |