summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-12ask-password: don't show wall message on ttys we are already running a tty ↵Lennart Poettering
agent on
2010-11-12ask-password: refer to right binary name in wall messageLennart Poettering
2010-11-12ask-password: ignore unknown query file fieldsLennart Poettering
2010-11-12ask-password: properly NULL terminate tableLennart Poettering
2010-11-12manager: be a bit more verbose if we receive unknown epoll eventLennart Poettering
2010-11-12cryptsetup: automatically start cryptsetup when looking for mount sourceLennart Poettering
2010-11-12log: fix buildLennart Poettering
2010-11-12log: add automatic log targetLennart Poettering
2010-11-12cryptsetup: hook up tool with ask-passwordLennart Poettering
2010-11-12manager: hookup generatorsLennart Poettering
2010-11-12build-sys: fix usage of path macrosLennart Poettering
2010-11-12mount: don't relabel /dev twice in a rowLennart Poettering
2010-11-11split mount_point_is_api() and mount_point_ignore()Kay Sievers
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-10vconsole: support additional keymap for toggling layoutsAndrey 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-10main: warn if /etc/mtab is not a symlinkLennart Poettering
2010-11-10add bash completion for systemctl --systemRan 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-10main: rename process on startup to 'systemd' to avoid confusionLennart Poettering
2010-11-10unit: add ConditionNull= conditionLennart Poettering
2010-11-10ac-power: make ac-power a proper binary that scripts can callLennart Poettering
2010-11-10manager: parse RD_TIMESTAMP passed from initrdLennart Poettering
2010-11-10modules-load: fix minor raceLennart Poettering
2010-11-10label: use internal utility functions wher epossibleLennart Poettering
2010-11-10cryptsetup: minimal cryptsetup unit generatorLennart Poettering
2010-11-10selinux: relabel /dev after loading policyLennart Poettering
2010-11-10log: downgrade syslog connection failure message since it might happen ↵Lennart Poettering
during normal operation
2010-11-10service: delay automatic restart if job is pendingLennart Poettering
2010-11-10manager: when isolating undo all pending jobs, tooLennart Poettering
2010-11-10manager: only minimize impact if we are in fail modeLennart Poettering
2010-11-02do not overwrite other udev tagsAndrey 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-31Revert "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-31fsck: add new -l switch to fsck mount optionsLennart Poettering
2010-10-29fsck: return SUCCESS when we skip the checkKay Sievers
2010-10-29fsck: skip checking / if it is writableKay Sievers
2010-10-29mount: don't pull in nofail mounts by default, but use them if they are aroundLennart Poettering
2010-10-29job: recursively fail BoundBy dependenciesLennart Poettering
2010-10-29fsck: fix target name to check forLennart Poettering
2010-10-29units: order units by default before appropriate targets in case they are ↵Lennart Poettering
pulled indirectly
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-10-29unit: replace StopRetroactively= by BindTo= dependenciesLennart 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-28automount: show who's triggering an automountLennart Poettering
2010-10-28systemctl: always show what and where for mount units in status outputLennart Poettering
2010-10-28shutdown: reword a few messages a littleLennart Poettering
2010-10-28manager: show which jobs are actually installed after a transactionLennart Poettering
2010-10-28timer: when deserializing timer state stay elapsed when we are elapsedLennart Poettering
2010-10-28unit: replace recursive_stop by stop_retroactively to simplify things a littleLennart Poettering
2010-10-28service: unify tstamp serialization codeLennart Poettering
2010-10-28device: set recursive_stop=true by defaultLennart Poettering
2010-10-28unit: suppress incorrect deserialization errorsLennart Poettering
2010-10-28swap: there's no reason not order swap after sysinit, so drop itLennart Poettering
2010-10-28socket: fix IPv6 availability detectionAndrey 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