summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-11units: deal properly with the fact that agetty is called getty on DebianLennart Poettering
2010-11-10tmpfiles: include reference to man page in tmpfiles filesLennart Poettering
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-10man: minor tmpfiles(5) updates and reindentingLennart Poettering
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-10update fixmeLennart 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-10update TODO with mtab issueKay Sievers
2010-11-05man/tmpfiles.d.xml: add a manpage for tmpfiles.dBrandon Philips
Initial commit of a tmpfiles.d manpage. I ran it through xmllint but I don't know how to make it look pretty like the rest of the xml files. :-P Signed-off-by: Brandon Philips <bphilips@suse.de>
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-31readahead: shortcut replay if /.readahead doesn't existLennart Poettering
2010-10-31fedora: start plymouth after udev-settle, so that the graphics modules are ↵Lennart Poettering
loaded
2010-10-31fsck: add new -l switch to fsck mount optionsLennart Poettering
2010-10-30units: add unit to call /bin/plymouth update-root-fs --read-writeLennart Poettering
2010-10-30fedora: /bin/plymouth --sysinit is not necessary on shut downLennart Poettering
2010-10-29fsck: return SUCCESS when we skip the checkKay Sievers
2010-10-29fsck: skip checking / if it is writableKay Sievers
2010-10-29fedora: invoke plymouth with its /bin instead of the /usr/bin/ pathLennart Poettering
2010-10-29units: fix variable expansionLennart Poettering
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-29fedora: enable system mounting/swapping by defaultLennart Poettering
2010-10-29units: fix quota check descriptionLennart Poettering
2010-10-29fedora plymouthd doesn't seem to like --attach-to-session hereLennart Poettering
2010-10-29units: no need to create rescue.target.wants anymoreLennart Poettering
2010-10-29units: make fedora/single.service standard and rename it to rescue.serviceLennart Poettering
2010-10-29units: introduce plymouth-start and plymouth-kexec, and move a few things ↵Lennart Poettering
back from basic to sysinit
2010-10-29fedora: get rid of sysinit.serviceLennart Poettering
2010-10-29Fedora: Link graphical-target.wants to the virtual display-manager.service, ↵Bill Nottingham
not the specific prefdm.service.
2010-10-29Fedora: Make systemunitdir/graphical.target.wants on 'make install'.Bill Nottingham
2010-10-29Fedora: by default, run prefdm last to match prior behavior.Bill Nottingham
2010-10-29Fedora: don't ship [Install] sections; these are enabled in the system ↵Bill Nottingham
configuration.
2010-10-29Fedora: further unit tweaksBill Nottingham
1) Just ship rc-local as-is; don't worry about the 'local' name. 2) Don't install rc-local and prefdm to /etc ; just enable them globally for the system in /lib.
2010-10-29Fedora: Assorted tweaks to Fedora single-user mode.Bill Nottingham
1) Start after basic.target, not the deprecated sysinit.target 2) Conflict with shutdown.