Lennart Poettering
c32e0c40f7
serial-getty: invoking /sbin/securetty is no longer necessary since pam_securetty can now look for console= in /proc/cmdline
2011-01-18 23:51:06 +01:00
Tom Gundersen
dda9be8a99
arch: remove rc-local.service
...
This is now shipped downstream.
2011-01-17 22:41:28 +01:00
Lennart Poettering
1640944a84
getty: unset locale before execution
...
On the console indian characters cannot be displayed, hence it is
advisable to disable indian locales on the console, which most
distributions traditionally did from a shell fragment executed post
login. If getty gets started with locale settings passed it would itself
however be translated without the no-indian-on-console fixup applied.
Hence, for now don't pass any locale settings to getty/login, and thus
rely on the classic post-login script fragment to set and fix the
locale.
Eventually we probably want to drop this again since the system locale
should be read and set at one place, and not at multiple, and that one
place should be PID 1.
https://bugzilla.redhat.com/show_bug.cgi?id=663900
2011-01-06 20:38:06 +01:00
Lennart Poettering
60b4f27794
serial: use TERM=vt100 instead of TERM=vt100-nav
...
TERM=vt100-nav was necessary for compat with some ppc hvc devices, a
long time ago. Unfortunately vt100-nav terminfo is not installed by
default on most distros, hence change the default to v100 which is
available universally and still should be a relatively safe and
conservative default.
Should it turn out that vt100 is not really the best choice we can
revert this change again and then ask distros to move vt100-nav into
their default install.
2011-01-04 21:45:52 +01:00
Miklos Vajna
01c3a63e17
Fix misspellings in os-release manpage and hwclock-load.service
2010-12-20 16:30:59 +01:00
Miklos Vajna
6279e1f014
Frugalware: start gettys after local.service
2010-12-16 15:02:19 +01:00
Gustavo Sverzut Barbieri
d2ffe6deac
units: Remove Gentoo specific xdm.service
...
That unity pulls in OpenRC which in turn pulls in most of legacy
system that causes lots of troubles as it is too smart, thus not
recommended.
Moreover, SystemD developers seems to agree that a service file per DM
is the best approach, so having gdm.service, kdm.service, slim.service
is better than a single wrapper for them.
2010-11-25 00:30:16 +01:00
Lennart Poettering
d4a80c1243
units: simplify shutdown scripts
2010-11-23 01:37:18 +01:00
Lennart Poettering
e096bf2f95
units: move a couple of units from base.target to sysinit.target
2010-11-19 16:24:21 +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
c1d6bc0e53
units: make sure prefdm is killed first, user sessions second on shutdown
2010-11-18 02:45:04 +01:00
Lennart Poettering
2f8cd170ae
cryptsetup: automatically order crypt partitions before cryptsetup.target
2010-11-18 02:16:36 +01:00
Lennart Poettering
eb8d87c125
units: order hwclock after readahead
2010-11-16 03:32:54 +01:00
Lennart Poettering
180f90cb13
units: set TERM for gettys again, since they acquire a TTY on their own
2010-11-16 01:54:07 +01:00
Lennart Poettering
f2a29e51f2
units: allow start-up of plymouth ask-password agent very early
2010-11-16 01:51:57 +01:00
Lennart Poettering
74c84e715a
units: enable ask-paswword .path units early enough to be useful for early mounts
2010-11-16 01:25:48 +01:00
Lennart Poettering
1e7ba843da
units: delay getty until logins are allowed
2010-11-16 01:25:19 +01:00
Lennart Poettering
e3aa71c38c
exec: automatically determine right TERM= setting based on tty name
2010-11-15 23:49:02 +01:00
Lennart Poettering
af2d49f70b
drop support for MANAGER_SESSION, introduce MANAGER_USER instead
2010-11-15 22:13:26 +01:00
Lennart Poettering
f5319832c4
units: use ConditionDirectoryNotEmpty= where applicable
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
92ab323c82
units: make use of agetty mandatory
2010-11-14 23:48:20 +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
f54409d8b8
units: deal properly with the fact that agetty is called getty on Debian
2010-11-11 00:30:00 +01:00
Lennart Poettering
3370f947d6
readahead: shortcut replay if /.readahead doesn't exist
2010-10-31 00:53:12 +02:00
Lennart Poettering
739aad5169
fedora: start plymouth after udev-settle, so that the graphics modules are loaded
2010-10-31 00:52:35 +02: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
5edf93ec94
fedora: /bin/plymouth --sysinit is not necessary on shut down
2010-10-30 23:56:12 +02:00
Lennart Poettering
6c6a7c0153
fedora: invoke plymouth with its /bin instead of the /usr/bin/ path
2010-10-29 16:51:13 +02:00
Lennart Poettering
9423fd773e
units: fix variable expansion
2010-10-29 16:28:30 +02:00
Lennart Poettering
577780ac5c
units: fix quota check description
2010-10-29 16:28:29 +02:00
Lennart Poettering
36044f5a70
fedora plymouthd doesn't seem to like --attach-to-session here
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
90d2e58ae9
Fedora: by default, run prefdm last to match prior behavior.
2010-10-29 16:28:28 +02:00
Bill Nottingham
8e9b7dd86b
Fedora: don't ship [Install] sections; these are enabled in the system configuration.
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
9524600eac
Fedora: Assorted tweaks to Fedora single-user mode.
...
1) Start after basic.target, not the deprecated sysinit.target
2) Conflict with shutdown.
2010-10-29 16:28:28 +02:00
Lennart Poettering
ead8e4788e
unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-10-29 16:28:27 +02:00
Kay Sievers
9ed81015f0
getty@.service: switch to agetty as the default
2010-10-29 15:50:09 +02:00
Lennart Poettering
b81884e746
unit: replace StopRetroactively= by BindTo= dependencies
...
The property StopRetroactively= needs to be per-dependency, not
per-unit, in order to properly express dependencies between .mount units
and its .device and fsck .service units. If the .device unit is
unplugged the mount should go away, but if the fsck process terminates
the .mount should stay.
2010-10-29 00:45:46 +02:00
Lennart Poettering
c858849d45
units: run sysctl only if /etc/sysctl.conf exists
2010-10-28 22:12:05 +02:00
Lennart Poettering
4690698d49
units: run sysv related scripts with TERM=linux
2010-10-27 05:45:09 +02:00
Lennart Poettering
e0e1580aae
ask-password: enable plymouth agent by default
2010-10-26 04:40:32 +02:00
Lennart Poettering
5f36328f55
units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions
2010-10-26 02:58:59 +02:00
Franz Dietrich
5b40d54851
units: Remove the distro specific references to killall.service.
...
Maybe debian and fedora still have the killall.service but usually it shouldn't be necessary anymore.
2010-10-26 00:01:12 +02:00
Franz Dietrich
9ef9c0b3a3
units: Since killall.service does not exist anymore remove all references.
...
This commit deletes all references to killall.service for the default
services. The distribution specific services will be modified in a
separate commit.
2010-10-25 23:54:36 +02:00
Lennart Poettering
a55c7d2ea0
mount: add nosuid,nodev,noexec switches to /var/lock and /var/run
2010-10-25 23:28:42 +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
5cf18f777f
units: order syslog.target after syslog.socket
2010-10-21 13:49:21 +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
0206d45866
quota: fix quotaon command line
2010-10-20 16:43:55 +02:00
Lennart Poettering
9fc507041e
unit: introduce %f specifier to decode file names
2010-10-20 16:16:45 +02:00
Lennart Poettering
f875bcfe35
quota: enable quotaon/quotacheck in local-fs.target, not basic.target
2010-10-20 16:15:33 +02:00
Lennart Poettering
4c446f03e8
quota: add install hooks for basic.target
2010-10-20 15:22:20 +02:00
Lennart Poettering
7d1316aa29
fsck: wait for device to show up
2010-10-20 15:22:04 +02:00
Lennart Poettering
ba5beeb174
units: properly use ConditionPathExists= instead of ConditionFileExists=
2010-10-20 14:22:49 +02:00
Lennart Poettering
2ba545f1a0
service: implement FsckPassNo= option
2010-10-20 14:22:23 +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
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
Lennart Poettering
46574a5b4a
units: get rid of distro-specific shutdown scripts, replace them by systemd-shutdown invocations
2010-10-14 02:58:37 +02:00
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
Lennart Poettering
90685f7d12
units: add service file that remounts the root file system
2010-08-20 03:27:23 +02:00
Lennart Poettering
449ddb2d23
remount: add tool that applies /etc/fstab mount options to all api mounts
2010-08-20 03:26:15 +02:00
Lennart Poettering
867c2882bc
units: fix After= setting in var-lock.service
2010-08-19 02:24:11 +02:00
Lennart Poettering
b2423f1f43
modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this
2010-08-19 02:03:17 +02:00
Lennart Poettering
9f24a81068
units: make sure getty@xxx.service is always run before gettys.target
2010-08-18 23:12:16 +02:00
Lennart Poettering
5481ab2b38
units: add hwclock-load service
2010-08-18 02:24:31 +02:00
Lennart Poettering
f556ea46f6
units: add generic sysctl/hwclock-save service
2010-08-17 22:14:58 +02:00
Lennart Poettering
7f17ef2201
units: fix conflicts between random seed services
2010-08-17 20:04:30 +02:00
Kay Sievers
b54dd8b7f4
units: add tmp.mount
2010-08-17 19:43:44 +02:00
Lennart Poettering
02ee865a46
service: rename ValidNoProcess= to RemainAfterExit=
2010-08-17 19:37:36 +02:00
Kay Sievers
322198005a
units: add missing After= for var-run.service, var-lock.service
2010-08-17 14:01:12 +02:00
Kay Sievers
3c268bdf8a
units: add var-run.service var-lock.service
2010-08-17 10:17:42 +02:00
Lennart Poettering
c0b346969d
load-fragment: make parser more forgiving
2010-08-17 03:30:53 +02:00
Lennart Poettering
5192bd1945
auto-getty: rework auto console getty logic to work in conjunction with single user mode
2010-08-17 03:29:46 +02:00
Lennart Poettering
7774cdc1d8
shutdown: fix socket type in .socket file
2010-08-16 21:05:22 +02:00
Lennart Poettering
d8fa9401d3
units: enable notify interface for internals services
2010-08-16 15:41:30 +02:00
Lennart Poettering
f614480831
systemctl: add support for delayed shutdown, similar to sysv in style
2010-08-16 15:37:52 +02:00
Lennart Poettering
6e200d55ae
random-seed: add missing random-seed.c file
2010-08-14 21:23:26 +02:00
Lennart Poettering
8f53c0a906
units: don't require tty in rc-local.service
...
https://bugzilla.redhat.com/show_bug.cgi?id=623802
2010-08-14 19:34:48 +02:00
Lennart Poettering
0dcc785749
units: write utmp record before we kill all processes
2010-08-14 19:25:12 +02:00
Lennart Poettering
2a2387d8a9
units: X 1.8 doesn't need HAL anymore, so avoid synchronization on that
2010-08-14 19:24:08 +02:00
Lennart Poettering
86b846b697
units: make sure plymouth shutdown screen is shown before we kill all processes/shut down
2010-08-14 19:23:16 +02:00
Lennart Poettering
ca2cab5dcd
random-seed: add little tool for saving/loading random seed on shutdown/boot, but don't enable it by default
2010-08-14 19:17:37 +02:00
Lennart Poettering
34e9ba669e
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
...
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
2010-08-13 18:23:01 +02:00
Lennart Poettering
0278dfeb30
unit: create three seperate plymouth service for halt/poweroff/reboot
2010-08-13 02:19:24 +02:00
Lennart Poettering
145b66acab
unit: move prefdm after livesys
...
https://bugzilla.redhat.com/show_bug.cgi?id=623561
2010-08-12 17:15:11 +02:00
Lennart Poettering
8e1e105b45
plymouth: call plymouth quit before running the getty, not after
...
https://bugzilla.redhat.com/show_bug.cgi?id=623430
2010-08-12 17:15:10 +02:00
Lennart Poettering
cd6d0a456b
utmp: enable systemd-update-utmp by default
2010-08-11 04:38:55 +02:00
Lennart Poettering
b5e9dba8d6
unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=
...
Some unit shall never be start on user request (e.g. shutdown.target)
others never be stopped on user request (e.g. auditd.servce), hence
offer options for both.
2010-08-11 01:44:37 +02:00
Lennart Poettering
1310609b05
unit: hook plymouth into the boot
...
https://bugzilla.redhat.com/show_bug.cgi?id=619922
2010-08-10 03:44:05 +02:00
Lennart Poettering
1f31e8d3a6
units: ignore exit codes of killall scripts
2010-08-10 00:30:53 +02:00
Lennart Poettering
61bec80cf3
getty: properly synchronize of tty devices being plugged in
2010-08-10 00:21:25 +02:00
Lennart Poettering
1e532d14ad
units: make sure that killall does not wait for the tty
2010-08-10 00:08:13 +02:00
Lennart Poettering
69dd2852bb
manager: when two pending jobs conflict, keep the one that "conflicts", remove the one that is "conflicted"
...
This gives the writer of units control which unit is kept and which is
stopped when two units conflict.
2010-08-09 22:32:30 +02:00
Lennart Poettering
8519e861a8
units: add missing fsck.target file
2010-08-06 01:32:16 +02:00
Lennart Poettering
922cc00119
units: split fsck.target from sysinit.target for suse compat
2010-08-06 01:30:20 +02:00
Lennart Poettering
30609d9c18
units: always send HUP when dealing with shells/gettys/logins
2010-08-05 20:29:11 +02:00
Kay Sievers
7d49c54770
units: getty - suse: login wants SIGHUP
2010-08-04 18:56:35 +02:00
Kay Sievers
00a11ba982
units: suse - reboot: do not wait for tty
2010-08-04 14:21:01 +02:00
Lennart Poettering
183ae5f99b
reboot: don't wait for input tty
2010-08-04 14:17:18 +02:00
Lennart Poettering
ccbe77e993
units: remove redundant ordering dependency
2010-08-04 01:27:26 +02:00
Lennart Poettering
14a35a84fa
units: make sure that prefdm wins over the getty if both are pulled in
2010-08-03 23:58:23 +02:00
Lennart Poettering
a48bcc46be
units: add conflicts between prefdm and getty@tty1 to avoid race for tty1
2010-08-03 23:53:17 +02:00
Lennart Poettering
218362d22c
units: add [Install] section to getty.target and remote-fs.target
2010-07-22 02:39:21 +02:00
Lennart Poettering
c24eb49e6a
exec: extend variable substitution to support splitting variable values into seperate arguments
2010-07-21 02:57:35 +02:00
Lennart Poettering
36adffeab0
fedora: make sure the gettys are run before X starts up
2010-07-20 20:42:46 +02:00
Lennart Poettering
2d3b2c0032
units: introduce smartcard.target
2010-07-16 21:32:11 +02:00
Lennart Poettering
bb4f237c65
units: fix default mode of /var/run and /var/lock
2010-07-16 18:58:52 +02:00
Lennart Poettering
172f6478b3
units: update other distro units to recent fedora changes
2010-07-13 21:30:38 +02:00
Lennart Poettering
eee4b05fab
units: add missing target files
2010-07-13 04:05:31 +02:00
Lennart Poettering
13fe456fdb
units: fix minor typo
2010-07-13 02:26:09 +02:00
Lennart Poettering
201e673c48
units: fix ordering problem
2010-07-13 00:36:57 +02:00
Lennart Poettering
a974d58e83
units: rely only on isolate to remove running services when entering rescue/emergency modes
2010-07-13 00:19:17 +02:00
Lennart Poettering
0667db89fb
units: add missing units
2010-07-13 00:04:14 +02:00
Lennart Poettering
f057408c9c
units: introduce emergency.target
2010-07-12 23:49:20 +02:00
Lennart Poettering
2edd4434e5
mount: add automatic start ordering dependencies for mounts
2010-07-12 22:55:27 +02:00
Lennart Poettering
3b6fdb5b5a
unit: introduce IgnoreDependencyFailure=
2010-07-12 03:07:02 +02:00
Lennart Poettering
983d9c9015
units: turn Wants=shutdown back into Requires=shutdown to avoid removal of jobs due to the impact minimizer
2010-07-11 04:22:00 +02:00
Lennart Poettering
b827a9f97d
units: turn shutdown dependencies from Requires into Wants to make things a bit more robust
2010-07-10 04:52:31 +02:00
Lennart Poettering
5682009b21
units: pull in shutdown.target and umount.target when entering emergency mode
2010-07-10 04:42:22 +02:00
Lennart Poettering
4e67ddd6b3
units: introduce umount.target for unmounting all file systems
2010-07-10 02:41:06 +02:00
Lennart Poettering
83bda35801
build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus
2010-07-10 00:22:38 +02:00
Kay Sievers
f8e1755297
units: SUSE - set COLD_BOOT to skip own boot.d/ handling on shutdown
2010-07-09 11:53:39 +02:00
Lennart Poettering
455bb5a4bd
units: connect shutdown scripts explicitly with the tty, because native units now default to /dev/null stdout otherwise
2010-07-09 04:37:13 +02:00
Lennart Poettering
319346674c
units: kill the emergency shell with SIGHUP
2010-07-08 04:21:53 +02:00
Lennart Poettering
07405e9096
units: in order to make the default services parseable by GKeyFile, merge repeated lines
2010-07-07 22:29:41 +02:00
Lennart Poettering
af65a09126
units: update shipped unit files for DefaultDependencies=
2010-07-03 19:53:37 +02:00
Lennart Poettering
3d88bf660d
unit: add [Install] section to various service files
2010-06-18 21:56:21 +02:00
Tom Gundersen
1ebdf2d879
units: make Arch boot
...
This patch gives minimal Arch support (enough to boot).
We still need to parse the services to start from /etc/rc.conf before systemd can be a drop-in replacement on Arch.
2010-06-16 23:13:10 +02:00
Lennart Poettering
ef9b78bb03
units: shut down sysinit service on shutdown
2010-06-07 02:42:58 +02:00
Lennart Poettering
8ffc5c2f48
units: make sure systemd sockets are installed before sockets.target
2010-06-04 20:55:37 +02:00
Lennart Poettering
f92a18f527
units: introduce and explain sysinit.target
2010-06-04 18:43:40 +02:00
Lennart Poettering
d29bcf0de7
units: make sure that rc-local.service is run before the getty on tty1, so that they don't fight for tty access
2010-06-02 22:14:00 +02:00
Lennart Poettering
1f48cf56cb
service: change default service type to 'simple' since that is the future
2010-06-02 19:17:23 +02:00
Lennart Poettering
1136a371e2
untis: fix path to helper services
2010-06-02 15:52:14 +02:00
Lennart Poettering
9a9a438596
units: tear down sys-kernel-security.automount automount point on shutdown
2010-06-02 00:58:10 +02:00
Kay Sievers
65b0095b1c
units: add SUSE service files
2010-06-02 00:53:39 +02:00
Lennart Poettering
5c546cb75e
units: drop fuse fs from automount, since this is now done by udev internally
2010-06-01 19:50:35 +02:00
Lennart Poettering
cd6e402e76
getty: set TERM=linux for the local gettys we configure
2010-06-01 19:49:13 +02:00
Marc-Antoine Perennou
f306f4c40d
units: fix Gentoo services
2010-05-24 23:18:37 +02:00
Lennart Poettering
a1b256b0b5
unit: introduce exit.service for exiting from session instances
2010-05-24 22:32:44 +02:00
Lennart Poettering
683f468c54
unit: ship a mail-transfer-agent.target unit by default
2010-05-24 22:30:54 +02:00
Lennart Poettering
6d526de267
unit: add automount units for a number of API filesystems
2010-05-23 01:56:54 +02:00
Lennart Poettering
e962f5c34f
units: mark a couple of services as OnlyByDependency
2010-05-21 23:53:09 +02:00
Lennart Poettering
78c390dee1
fedora: make sure both prefdm and rc-local depend on base.target properly
2010-05-20 18:18:06 +02:00
Marc-Antoine Perennou
ea2d9ed42d
units: add services for Gentoo
2010-05-20 17:56:16 +02:00
Kay Sievers
cfe243e372
units: SUSE support
2010-05-20 17:55:42 +02:00
Lennart Poettering
0d26c91071
unit: ship default.service for sessions by default
2010-05-20 02:30:49 +02:00
Lennart Poettering
2588269757
fedora: remove automount points before we go down
2010-05-20 02:11:37 +02:00
Lennart Poettering
1afaf57346
fedora: we must call the halt script with a symlink of reboot for rebooting
2010-05-20 02:05:28 +02:00
Lennart Poettering
9949ac0cec
logger: we need to be started after syslog
2010-05-20 01:34:59 +02:00
Lennart Poettering
dfca381db3
shorten copyright header of configuration files
2010-05-19 22:14:29 +02:00
Lennart Poettering
6c666e26c5
load-fragment: add support for overriding argv[0] in parsed command lines
2010-05-19 21:51:53 +02:00
Lennart Poettering
710bd14347
units: fix syntax of mount unit files
2010-05-18 04:17:05 +02:00
Lennart Poettering
670802d4b1
units: replace a few non-essential API mounts with automount units
2010-05-18 03:10:17 +02:00
Lennart Poettering
835d81db93
units: synchronize with shutdown.target
2010-05-18 03:08:35 +02:00
Lennart Poettering
1e3fc6541f
units: fix execution environment for a few services
2010-05-18 03:08:18 +02:00
Marc-Antoine Perennou
419f328437
units: add getty@.service define for Gentoo
2010-05-17 19:55:59 +02:00
Lennart Poettering
50321ee3ef
units: add a couple of Conflicts to make boot targets exclusive
2010-05-17 19:37:49 +02:00
Lennart Poettering
e6aad08ba8
units: fix commenting
2010-05-17 02:17:47 +02:00
Lennart Poettering
fb1bd35a5d
unit: properly generate session units
2010-05-17 02:17:22 +02:00
Lennart Poettering
340d89e06e
build-sys: add small redirecting Makefiles to simplify compilation from within emacs
2010-05-17 01:44:03 +02:00
Lennart Poettering
5e6afdd3d3
units: add distribution-specific units
2010-05-17 01:39:58 +02:00
Lennart Poettering
f0b02ca2af
units: add rpcbind.target special
2010-05-16 22:50:02 +02:00
Lennart Poettering
9f23530860
man: document a few special units
2010-05-16 22:45:11 +02:00
Lennart Poettering
08a96fb00a
units: add missing syslog.target.in file to git tree
2010-05-16 21:29:41 +02:00
Lennart Poettering
865f2ad151
units: drop After=sysinit.service line in local-fs.target which should be reversed and put into sysinit.service
2010-05-16 21:15:54 +02:00
Lennart Poettering
70449379de
units: move a number of units into the tarball
2010-05-16 20:49:41 +02:00
Lennart Poettering
dfac97b21e
build-sys: generate intermediate files in subdirs
2010-05-16 19:09:22 +02:00
Lennart Poettering
2d02719c2b
units: fix logger/initctl paths
2010-04-23 22:18:55 +02:00
Lennart Poettering
92da345c02
units: fix socket files
2010-04-23 05:20:01 +02:00
Lennart Poettering
09477267f6
units: rename [Meta] section to [Unit]
2010-04-15 23:20:17 +02:00
Lennart Poettering
70fcff314f
units: install a few basic units by default
2010-04-13 05:18:12 +02:00