1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 20:25:25 +03:00
Commit Graph

261 Commits

Author SHA1 Message Date
Lennart Poettering
a7c64469b6 man: document /etc/modules-load.d/ 2010-11-21 20:41:00 +01:00
Lennart Poettering
e17fb72914 man: document /etc/os-release 2010-11-21 20:05:51 +01:00
Lennart Poettering
ee48647271 man: document locale.conf 2010-11-21 19:29:27 +01:00
Lennart Poettering
eeca220bc2 man: document /etc/vconsole.conf 2010-11-21 19:12:44 +01:00
Lennart Poettering
6a7e63eff2 man: document /etc/hostname 2010-11-21 16:29:56 +01:00
Lennart Poettering
b1a2da0a79 cryptsetup: show udev device name when asking for password 2010-11-18 23:34:42 +01:00
Lennart Poettering
8e1bd70d4c sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d 2010-11-18 21:52:26 +01:00
Lennart Poettering
8cf3a8a982 units: enable console ask-password agent by default 2010-11-18 05:22:25 +01:00
Lennart Poettering
2f8cd170ae cryptsetup: automatically order crypt partitions before cryptsetup.target 2010-11-18 02:16:36 +01:00
Lennart Poettering
af2d49f70b drop support for MANAGER_SESSION, introduce MANAGER_USER instead 2010-11-15 22:13:26 +01:00
Kay Sievers
d8b4dbe6d7 delete tmp.mount which may conflict with an unrelated fstab entry 2010-11-15 19:47:25 +01:00
Lennart Poettering
2fa47da53e build-sys: make check for libnotify explicit 2010-11-15 18:42:34 +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
f90cf44c02 load-fragment: properly do comparison of words 2010-11-14 19:59:10 +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
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
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
e23a0ce8ba cryptsetup: minimal cryptsetup unit generator 2010-11-10 22:38:43 +01:00
Brandon Philips
4149f86d81 man/tmpfiles.d.xml: add a manpage for tmpfiles.d
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-05 00:20:28 +01:00
Lennart Poettering
198b625ba7 units: add unit to call /bin/plymouth update-root-fs --read-write 2010-10-30 23:56:12 +02:00
Lennart Poettering
c7d78a5679 fedora: enable system mounting/swapping by default 2010-10-29 16:28:29 +02:00
Lennart Poettering
5d474b8848 units: no need to create rescue.target.wants anymore 2010-10-29 16:28:29 +02:00
Lennart Poettering
de47ca9b50 units: make fedora/single.service standard and rename it to rescue.service 2010-10-29 16:28:29 +02:00
Lennart Poettering
42eacdadf5 units: introduce plymouth-start and plymouth-kexec, and move a few things back from basic to sysinit 2010-10-29 16:28:29 +02:00
Lennart Poettering
c19a87330f fedora: get rid of sysinit.service 2010-10-29 16:28:29 +02:00
Bill Nottingham
6b2a56f04c Fedora: Link graphical-target.wants to the virtual display-manager.service, not the specific prefdm.service. 2010-10-29 16:28:28 +02:00
Bill Nottingham
c980a27940 Fedora: Make systemunitdir/graphical.target.wants on 'make install'. 2010-10-29 16:28:28 +02:00
Bill Nottingham
73d35ff8e4 Fedora: further unit tweaks
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-29 16:28:28 +02:00
Bill Nottingham
0fbe72dc37 Fedora: Don't ship a init.d reboot symlink. 2010-10-29 16:28:28 +02:00
Lennart Poettering
c4dcdb9f47 selinux: automatically load policy if the initrd hasn't done this for us yet 2010-10-27 05:47:02 +02:00
Lennart Poettering
472ff3d64a build-sys: fix 'make fedora' 2010-10-26 23:15:07 +02:00
Lennart Poettering
501fc174c2 systemctl: automatically spawn temporary password agent when we might need one 2010-10-26 05:29:39 +02:00
Lennart Poettering
e0e1580aae ask-password: enable plymouth agent by default 2010-10-26 04:40:32 +02:00
Tom Gundersen
ac52853d6d arch: remove obsolete sysinit.service
This is now split into smaller units and shipped with the downstream package.
2010-10-25 22:03:22 +02:00
Tom Gundersen
72de7bbf39 fsck: remove symlink from fsck.target to sysinit.target 2010-10-25 22:02:52 +02:00
Andrew Edmunds
858dae181b ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc
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-25 21:09:56 +02:00
Lennart Poettering
306a7fd82e units: activate wall agent automatically if something is dropped in /dev/.systemd/ask-password 2010-10-25 21:02:01 +02:00
Lennart Poettering
ec863ba65a ask-password: add basic tty agent 2010-10-25 20:36:01 +02:00
Lennart Poettering
d674a4ab52 ask-password: rename ask-password-agent to gnome-ask-password-agent 2010-10-22 16:38:14 +02:00
Lennart Poettering
52f319b293 syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
Lennart Poettering
980d87505c install: enable quota/fsck-root/hwclock load by default 2010-10-20 16:16:14 +02:00
Lennart Poettering
335aa753fa units: add missing fsck units 2010-10-20 00:13:23 +02:00
Lennart Poettering
a9e1f5ec36 fsck: properly hook in fsck everywhere, add special support for fsck'ing root dir 2010-10-19 23:45:18 +02:00
Lennart Poettering
3d20ed6d51 fsck: add initial version of fsck and quotacheck wrappers 2010-10-19 21:19:12 +02:00
Lennart Poettering
3b63d2d31d tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit 2010-10-18 22:38:41 +02:00
Lennart Poettering
ddd941ed5c fedora: add compat unit for /sbin/halt.local 2010-10-14 03:59:49 +02:00
Lennart Poettering
9aac953a11 units: introduce final.target that can be used to plug units between shutdown.target and the final shutdown 2010-10-14 03:07:36 +02:00