summaryrefslogtreecommitdiff
path: root/Makefile.am
AgeCommit message (Collapse)Author
2010-11-14Remove umount*.service files for DebianMichael Biebl
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-14load-fragment: properly do comparison of wordsLennart 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-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-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-10cryptsetup: minimal cryptsetup unit generatorLennart Poettering
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-10-30units: add unit to call /bin/plymouth update-root-fs --read-writeLennart Poettering
2010-10-29fedora: enable system mounting/swapping by defaultLennart 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: 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: Don't ship a init.d reboot symlink.Bill Nottingham
2010-10-27selinux: automatically load policy if the initrd hasn't done this for us yetLennart Poettering
2010-10-26build-sys: fix 'make fedora'Lennart Poettering
2010-10-26systemctl: automatically spawn temporary password agent when we might need oneLennart Poettering
2010-10-26ask-password: enable plymouth agent by defaultLennart Poettering
2010-10-25arch: remove obsolete sysinit.serviceTom Gundersen
This is now split into smaller units and shipped with the downstream package.
2010-10-25fsck: remove symlink from fsck.target to sysinit.targetTom Gundersen
2010-10-25ubuntu: Treat Ubuntu as a distinct distro in configure.ac etcAndrew Edmunds
Previously Ubuntu was treated as being equivalent to Debian, but the two distributions require different behaviour in certain places. This commit does not change the behaviour of systemd on either distro but it creates a framework for changes to be introduced by later commits. The following previously meant "Target is Debian or Ubuntu". * configure option "--with-distro=debian" * C preprocessor symbol "TARGET_DEBIAN" * Automake conditional "TARGET_DEBIAN" After this commit, all of the above are redefined to mean "Target is Debian" The following are introduced to mean "Target is Ubuntu". * configure option "--with-distro=ubuntu" * C preprocessor symbol "TARGET_UBUNTU" * Automake conditional "TARGET_UBUNTU" Most code written for Debian will also be applicable to Ubuntu. An extra Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid duplication of code that would otherwise occur. This commit updates configure.ac, Makefile.am and distro-specific source files in line with the above definitions.
2010-10-25units: activate wall agent automatically if something is dropped in ↵Lennart Poettering
/dev/.systemd/ask-password
2010-10-25ask-password: add basic tty agentLennart Poettering
2010-10-22ask-password: rename ask-password-agent to gnome-ask-password-agentLennart Poettering
2010-10-20syslog: enable kmsg bridge by default and enable syslogging for early boot ↵Lennart Poettering
services
2010-10-20install: enable quota/fsck-root/hwclock load by defaultLennart Poettering
2010-10-20units: add missing fsck unitsLennart Poettering
2010-10-19fsck: properly hook in fsck everywhere, add special support for fsck'ing ↵Lennart Poettering
root dir
2010-10-19fsck: add initial version of fsck and quotacheck wrappersLennart Poettering
2010-10-18tmpfiles: integrate kay's directory cleanup code and otherwise beef up ↵Lennart Poettering
tmpfiles quite a bit
2010-10-14fedora: add compat unit for /sbin/halt.localLennart Poettering
2010-10-14units: introduce final.target that can be used to plug units between ↵Lennart Poettering
shutdown.target and the final shutdown
2010-10-14units: get rid of distro-specific shutdown scripts, replace them by ↵Lennart Poettering
systemd-shutdown invocations
2010-10-14units: introduce kexec.service, kexec.target and exit.targetLennart Poettering
2010-10-13move .h file from SOURCES to DIST to make vala autotools happyKay Sievers
2010-10-13unit: add minimal condition checker for unit startupLennart Poettering
2010-10-08service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a serviceLennart Poettering
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08systemd-shutdown: add umount.h to sourcesKay Sievers
2010-10-07systemd-user-sessions: install .service file and enable by defaultLennart Poettering
2010-10-07user-sessions: add minimal utility to kill user sessions that shall be ↵Lennart Poettering
called before destroying services on shutdown
2010-10-07shutdown: Adding binary to shutdown the systemFabiano Fidencio
This functions are working as follows: - Send a SIGTERM to all processes that may be finished - Send a SIGKILL to all processes that still live and may be finished - Try to unmount all mount points - Try to remount read-only all mount points that can't be umounted - Umount all swap devices - Umount and detach all loopback devices - Call [poweroff|halt|reboot|kexec] TODO: - Umount device-mapper. - Make log work. So far it is being useless as we do not parse /etc/systemd/system.conf, kernel command line but just environment, however we're executed by init and thus have no useful variables. Forcing it to target=kmsg/console and level=debug also does not produce any output, however writing to /dev/console does work (hack used during debug).
2010-10-07vconsole-setup: fix path on ArchLucas De Marchi
Arch uses the same paths and default font of gentoo. Previously, systemd-vconsole-setup was failing with the following message: systemd-vconsole-setup[59]: /bin/setfont failed with error code 1.
2010-10-06systemctl: require correctly formed unit names when enabling unitsLennart Poettering
2010-10-05man: document readahdea split-offLennart Poettering