1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
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
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
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
Lennart Poettering
e3aa71c38c exec: automatically determine right TERM= setting based on tty name 2010-11-15 23:49:02 +01: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
Lennart Poettering
4690698d49 units: run sysv related scripts with TERM=linux 2010-10-27 05:45:09 +02:00
Lennart Poettering
ddd941ed5c fedora: add compat unit for /sbin/halt.local 2010-10-14 03:59:49 +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
af65a09126 units: update shipped unit files for DefaultDependencies= 2010-07-03 19:53:37 +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
78c390dee1 fedora: make sure both prefdm and rc-local depend on base.target properly 2010-05-20 18:18:06 +02:00
Lennart Poettering
dfca381db3 shorten copyright header of configuration files 2010-05-19 22:14:29 +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
Lennart Poettering
e6aad08ba8 units: fix commenting 2010-05-17 02:17:47 +02:00
Lennart Poettering
5e6afdd3d3 units: add distribution-specific units 2010-05-17 01:39:58 +02:00