Lennart Poettering
5430f7f2bc
relicense to LGPLv2.1 (with exceptions)
...
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.
Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.
The bits that used to be MIT continue to be MIT.
The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends.
2012-04-12 00:24:39 +02:00
Lennart Poettering
353e12c2f4
service: ignore SIGPIPE by default
2012-02-09 03:18:04 +01:00
Michal Schmidt
91b684c730
rc-local: order after network.target
...
As suggested by Bill Nottingham: rc.local is often used for frobbing the
network.
https://bugzilla.redhat.com/show_bug.cgi?id=754789
2011-12-02 11:32:52 +01:00
Michal Schmidt
e951701a4d
rc-local: no need to check if the script is executable
...
rc-local.service is pulled in by a generator only if the script is
executable. No need to check again.
2011-12-02 11:32:04 +01:00
Michal Schmidt
1567308317
add a generator to pull rc-local.service in
...
rc-local.service acts as an ordering barrier even if its condition is
false, because conditions are evaluated when the service is about to be
started.
To avoid the ordering barrier in a legacy-free system, add a generator
to pull rc-local.service into the transaction only if the script is
executable.
If/when we rewrite SysV compatibility into a generator, this one can become
a part of it.
2011-12-02 11:29:48 +01:00
Michal Schmidt
9d7286112d
units/fedora: let rc-local.service log to syslog
...
rc-local.service should not be excluded from the default stdout logging.
Missing logs were noticed by Andrew McNabb in
https://bugzilla.redhat.com/show_bug.cgi?id=750032#c3
2011-11-09 09:22:30 +01:00
Lennart Poettering
4b7b2efb69
man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary
2011-08-31 01:35:43 +02:00
Lennart Poettering
82e487c56d
unit: introduce ConditionFileIsExecutable= and use it where we check for a binary we'll spawn
2011-07-12 04:25:02 +02:00
Bill Nottingham
1616acbba4
units: Use /etc/rc.d/rc.local as the path to rc.local in Fedora.
...
/etc/rc.local is a symlink.
2011-06-27 14:25:33 +02:00
Jeff Mahoney
cd3f8b7ddb
plymouth: move plymouth out of TARGET_FEDORA
2011-02-08 18:47:32 +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
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
e3aa71c38c
exec: automatically determine right TERM= setting based on tty name
2010-11-15 23:49:02 +01: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
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
4690698d49
units: run sysv related scripts with TERM=linux
2010-10-27 05:45:09 +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
Lennart Poettering
ddd941ed5c
fedora: add compat unit for /sbin/halt.local
2010-10-14 03:59:49 +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
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
4bb2357f77
units: add readahead unit files
2010-09-28 03:44:22 +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
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
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
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
02ee865a46
service: rename ValidNoProcess= to RemainAfterExit=
2010-08-17 19:37:36 +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
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
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
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