Commit graph

8537 commits

Author SHA1 Message Date
Michal Schmidt 8eba616fc0 mount: load only if we there's mountinfo or fragment
Having information from /proc/self/mountinfo is sufficient to consider a
mount unit loaded.

When there's no mountinfo, the loading of the fragment for the mount
unit is not optional. No extra dependency links must be added when the
loading fails.

https://bugzilla.redhat.com/show_bug.cgi?id=835848
2012-06-29 02:10:41 +02:00
Michal Schmidt 1a4ac87500 mount: split adding of extras from mount_load() 2012-06-29 02:04:30 +02:00
Lennart Poettering f9ad8f7278 logind: add reference to new logind dbus api documentation 2012-06-28 23:51:47 +02:00
Lennart Poettering 9980033377 man: add various links from man pages to appropriate wiki pages 2012-06-28 18:58:56 +02:00
Lennart Poettering 305f376cec man: minor accuracy corrections 2012-06-28 16:34:00 +02:00
Lennart Poettering c20f5ac765 main: print detected virtualiaztion at boot 2012-06-28 14:05:17 +02:00
Lennart Poettering 5076f0ccfd nspawn: introduce new --capabilities= flag and make use of it in the nspawn test case 2012-06-28 14:05:16 +02:00
Tom Gundersen 6c242857b2 man: fix reference to systemd-tty-ask-password-agent 2012-06-28 13:23:26 +02:00
Lennart Poettering d9ef1eafa0 update TODO 2012-06-28 13:20:28 +02:00
Lennart Poettering 5fa594df8d test: reenable nspawn, even if it fails for now 2012-06-28 12:18:04 +02:00
Lennart Poettering 454591be36 units: automatically respawn the core services 2012-06-28 12:18:04 +02:00
Michal Schmidt e62abb6268 modules-load: use correct va_list logging function 2012-06-28 00:52:14 +02:00
Lennart Poettering dac051ad68 man: extend watchdog docs a bit 2012-06-28 00:24:49 +02:00
Michal Schmidt 8f9c0b4cc1 modules-load: fix return value 2012-06-28 00:12:47 +02:00
Lennart Poettering 3471bedc00 update TODO 2012-06-27 22:38:35 +02:00
Dave Reisner cc2600642a man: fix incorrectly named manpage for udev service
The service is systemd-udev.service, not systemd-udevd.service.
2012-06-27 22:33:44 +02:00
Lennart Poettering 5231084b47 units: add explicit dependency on display-manager.service to graphical.target
This replaces the symlink based dependency by an explicit one in the
unit file so that we avoid the dangling symlink when no display manager
is installed.
2012-06-27 22:23:16 +02:00
Michal Schmidt 27fda47f40 modules-load: don't fail on builtin modules, better prints
Distinguish between non-existing modules, builtin modules, already
loaded modules, and modules we load.
Only the non-existing ones are treated as errors.

https://bugzilla.redhat.com/show_bug.cgi?id=817760
2012-06-27 21:54:24 +02:00
Lennart Poettering 75945badd2 man: add reference to systemd-delta to tmpfiles 2012-06-27 16:30:57 +02:00
Lennart Poettering 75d67e6837 man: document preset files 2012-06-27 16:29:08 +02:00
Lennart Poettering ff5d32c875 man: document unit names in systemd-tmpfiles(8) 2012-06-27 15:39:51 +02:00
Lennart Poettering eeb875144e update TODO 2012-06-27 15:35:15 +02:00
Kay Sievers 72a2af7aa9 udev: use the matching binary name "systemd-udevd" in log messages 2012-06-27 15:29:55 +02:00
Lennart Poettering 059b37cc28 man: document fstab generator 2012-06-27 15:27:29 +02:00
Lennart Poettering f5ccf26ded man: document systemd-update-generator 2012-06-27 15:12:29 +02:00
Lennart Poettering f220d83cbc man: document getty-generator 2012-06-27 15:03:02 +02:00
Lennart Poettering 8e129f5156 man: document systemd-cryptsetup-generator 2012-06-27 14:51:47 +02:00
Lennart Poettering a7480dbad2 core: rename system.preset to system-presets to follow naming scheme of other dirs in /usr/lib/systemd/
Thankfully nobody is using this yet, and presets aren't documented yet,
hence take the liberty to rename this.
2012-06-27 14:34:24 +02:00
Lennart Poettering c48754ab3d man: this time, fix Documentation= properly 2012-06-27 14:28:25 +02:00
Lennart Poettering 1c7327004a man: add reference to crypttab(5) from cryptsetup units 2012-06-27 13:24:13 +02:00
Lennart Poettering 45ae1a05f9 man: document /etc/crypttab 2012-06-27 13:23:12 +02:00
Lennart Poettering d0d6944cdc man: document systemd-cryptsetup 2012-06-27 12:19:35 +02:00
Lennart Poettering ca5dc4b67d units: fix Documentation= tag in fsck units 2012-06-27 11:51:38 +02:00
Lennart Poettering a45ad38bec man: fix --h vs. -h typos 2012-06-27 10:48:13 +02:00
Shawn Landden ecbd4565c8 man: typo in systemd-analyze.xml 2012-06-27 10:46:35 +02:00
Lennart Poettering c52f663bfa man: document tty-ask-password-agent 2012-06-27 02:12:39 +02:00
Lennart Poettering 359deb60c2 man: write man page for systemd-analyze 2012-06-27 01:53:07 +02:00
Lennart Poettering 7df46b2af5 man: document systemd-ask-password-console.service and friends 2012-06-27 01:32:15 +02:00
Lennart Poettering 743b8558f6 man: document quotacheck 2012-06-27 01:17:49 +02:00
Lennart Poettering 3eca62862e man: add Documentation= tag to tmp.mount 2012-06-27 01:09:51 +02:00
Lennart Poettering 744881d173 man: add Documentation= tags to all kinds of missing units 2012-06-27 01:07:04 +02:00
Lennart Poettering ee1c0ad436 man: properly document .socket units in man page 2012-06-27 01:06:35 +02:00
Lennart Poettering a32f224aaf man: document systemd-fsck 2012-06-27 00:37:36 +02:00
Lennart Poettering 56a379a97e man: document the readahead services 2012-06-26 18:16:00 +02:00
Lennart Poettering 0127336c01 man: document systemd-halt.service and friends 2012-06-26 17:50:29 +02:00
Lennart Poettering e2b696ee9b man: document systemd-suspend.service 2012-06-26 17:33:11 +02:00
Paul Menzel 8284608198 man/bootup.xml: Fix grammar by adding missing verb »is« 2012-06-26 12:25:55 +02:00
David Strauss e911672372 journal: typo fix in sd-journal.h 2012-06-26 12:25:11 +02:00
Lennart Poettering af6da548aa core: make systemd.confirm_spawn=1 actually work
This adds a timeout if the TTY cannot be acquired and makes sure we
always output the question to the console, never to the TTY of the
respective service.
2012-06-26 12:21:43 +02:00
Michal Schmidt 0c7f15b3a9 service: pass via FAILED/DEAD before going to AUTO_RESTART
With misconfigured mysql, which uses Restart=always, the following two
messages would loop indefinitely and the "systemctl start" would never
finish:
  Job pending for unit, delaying automatic restart.
  mysqld.service holdoff time over, scheduling restart.

In service_enter_dead() always set the state to SERVICE_FAILED/DEAD first
before setting SERVICE_AUTO_RESTART. This is to allow running jobs to
complete. OnFailure will be also triggered at this point, so there's no
need to do it again from service_stop() (where it was added in commit
f0c7b229).

Note that OnFailure units should better trigger only after giving up
auto-restarting, but that's for another patch to solve.

https://bugzilla.redhat.com/show_bug.cgi?id=832039
2012-06-26 11:42:52 +02:00