1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00
Commit Graph

163 Commits

Author SHA1 Message Date
Lennart Poettering
85ed27f699 units: introduce kexec.service, kexec.target and exit.target 2010-10-14 00:57:52 +02:00
Lennart Poettering
c84ed68f30 units: enable utmp for serial gettys too 2010-10-08 18:22:44 +02:00
Lennart Poettering
169c1bda80 service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service
This should fix accounting for pam_limits and suchlike.

https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-10-08 16:07:50 +02:00
Lennart Poettering
447be15505 systemd-user-sessions: install .service file and enable by default 2010-10-07 23:48:48 +02:00
Lennart Poettering
f3c15784a1 units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
Lennart Poettering
273f54cdc2 unit: continue boot when exiting emergency/resuce shell 2010-10-06 02:44:15 +02:00
Lennart Poettering
525ee6f4a1 service: rename settings for Restart= from 'restart-always' to 'always' and similar 2010-10-05 20:30:44 +02:00
Lennart Poettering
cf895f3076 units: getty.target is pulled in via /lib these days 2010-09-29 03:03:37 +02:00
Lennart Poettering
c7b508592b units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
Lennart Poettering
93ca9714e6 units: get rid of special setup services for /var/run, /var/lock and /tmp, and rely on tmpfiles.d/ instead 2010-09-29 01:39:31 +02:00
Lennart Poettering
afbf835326 units: ship unit file for systemd-tmpfiles by default 2010-09-29 01:39:31 +02:00
Lennart Poettering
34acc278ed units: schedule tmpwatch on idle class 2010-09-28 22:08:17 +02:00
Lennart Poettering
4bb2357f77 units: add readahead unit files 2010-09-28 03:44:22 +02:00
Lennart Poettering
c0a1b6e926 units: enable mount units by default and hook binary units into base.target instead of sysinit.target, leaving the latter for sysv compatibility 2010-09-28 03:18:23 +02:00
Kay Sievers
8a7702cd06 units: add optional tmp.service 2010-09-22 13:01:15 +02:00
Kay Sievers
6ebf598c40 units: hwclock support for non-UTC must not be in the default 2010-09-22 12:00:07 +02:00
Kay Sievers
65ae3821ff units: enable var-run + var-lock service by default 2010-09-21 21:43:40 +02:00
Kay Sievers
f9ccc72499 units: enable sysctl by default 2010-09-21 21:38:21 +02:00
Kay Sievers
7376cffd56 units: enable hwclock by default 2010-09-21 21:33:24 +02:00
Kay Sievers
d3f09cf396 units: always enable random-seed, module-load, vconsole 2010-09-21 21:25:44 +02:00
Kay Sievers
c2a4755857 tmpwatch: fix typo and remove [Install] 2010-09-21 16:22:10 +02:00
Lennart Poettering
f0a73e245c units: add default tmpwatch units 2010-09-21 03:38:32 +02:00
Lennart Poettering
97c4a07df9 vconsole: add new utility to initialize the virtual console 2010-09-16 00:36:41 +02:00
Lennart Poettering
11ffbaf010 prefdm: make sure we start prefdm only after the getty is killed 2010-09-14 02:02:06 +02:00
Lennart Poettering
3c4e3e1a9b units: make sure the file system is writable before we write utmp data 2010-09-14 01:07:06 +02:00
Lennart Poettering
a2ff477f67 units: add generic description for http-daemon.target 2010-09-14 00:22:47 +02:00
Michal Schmidt
51cfda28c3 fedora: don't quit plymouth too early
Do not quit plymouth until the dependencies for getty@tty1.service are
ready, in order to minimize the time a black screen is displayed.
2010-09-13 19:22:30 +02:00
Lennart Poettering
88ac58d76b units: pull in syslog.target for synchronization purposes by systemd-logger.service 2010-09-10 18:20:41 +02:00
Lennart Poettering
5a5582b5e5 units: start logger only after syslog is up 2010-09-10 17:47:36 +02:00
Lennart Poettering
1ff5e88f3b units: we should be able to reach syslog.target even if no logger is enabled at all 2010-09-10 17:17:57 +02:00
Lennart Poettering
1fd116f748 units: set working directory to /root for sulogin, since sulogin is crazy 2010-09-10 17:11:49 +02:00
Lennart Poettering
739848d4f3 units: set HOME=/root when running shells 2010-09-10 17:11:48 +02:00
Michael Biebl
e082d6c8d8 units: On Debian Runlevel 2, 3, 4 and 5 are multi-user
Patch by Tollef Fog Heen <tfheen@err.no>
Extended to re-create the runlevel5.target symlink by Michael Biebl <biebl@debian.org>
2010-09-08 02:14:58 +02:00
Michael Biebl
a5dc0a45fe units: add umount unit files for Debian
Add unit files to call

/etc/init.d/umountnfs.sh stop (network file systems)
/etc/init.d/umountfs stop     (local file systems)
/etc/init.d/umountroot stop   ("/" file system)

in the right order and hook them up in the umount.target so they are run
on shutdown and reboot.
2010-09-08 02:12:38 +02:00
Lennart Poettering
d3f929f0fc units: make sure we always fully write the utmp data 2010-09-06 15:01:57 +02:00
Michael Biebl
f10814d9e0 units: Provide separate fsck.target for Debian
On Debian sysinit is not a single script but a separate runlevel.
Split of fsck.target into separate unit file as otherwise we get an
unbreakable cycle on shutdown/reboot.
2010-09-06 03:12:44 +02:00
Michael Biebl
ad206afcb9 units: Add halt, killall, poweroff and reboot unit files for Debian 2010-09-06 03:12:28 +02:00
Lennart Poettering
8f78c3aafb units: don't add shutdown conflicts dep to umount.target 2010-09-03 02:20:39 +02:00
Lennart Poettering
b401e1fb9d target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization 2010-09-03 01:42:57 +02:00
Lennart Poettering
71916d3fff units: fix a typo in arch's rc-local.service unit file 2010-08-31 00:43:57 +02:00
Lennart Poettering
2528a7a62c unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
Lennart Poettering
b2bb3dbed9 console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from
getty.target so that they aren't killed and immediately restarted on
runlevel changes. Hence rework the logic to implicitly add console
gettys to getty.target as dependencies.

This also adds an automatic hvc console for virtualizers.

https://bugzilla.redhat.com/show_bug.cgi?id=501720
2010-08-30 23:03:58 +02:00
Lennart Poettering
165e1b1a83 var-run: make sure /var/run/user is properly created and labelled
https://bugzilla.redhat.com/show_bug.cgi?id=627457
2010-08-27 00:07:04 +02:00
Lennart Poettering
1740dc8bc2 units: don't install runlevel links anymore, since thsoe are maintained in /lib now 2010-08-26 04:10:40 +02:00
Kay Sievers
e0973af1a2 systemd-remount-api-vfs.service: fix typo 2010-08-25 15:06:21 +02:00
Lennart Poettering
b574fa098d units: fix auto-serial unit 2010-08-25 05:02:48 +02:00
Lennart Poettering
1a7fdcad3a units: make sure prefdm is automatically respawned 2010-08-25 03:15:32 +02:00
Lennart Poettering
ddad68097d units: invoke sulogin instead of /bin/sh 2010-08-25 03:15:12 +02:00
Lennart Poettering
93a45c562a serial: use seperate getty template for serial ttys 2010-08-25 03:09:57 +02:00
Lennart Poettering
addab137cd syslog: add minimal syslog/kmsg bridge syslogd 2010-08-21 03:57:47 +02:00