Lennart Poettering
3996fbe2a2
dbus: don't try to connect to the system bus before it is actually up
2011-01-20 19:43:38 +01:00
Lennart Poettering
e2f3b44cfc
service: when reloading a service fails don't fail the entire service but just the reload job
2011-01-20 13:17:22 +01:00
Lennart Poettering
06d4c99ab3
manager: make list of default controllers configurable
2010-11-18 00:42:35 +01:00
Lennart Poettering
d686d8a97b
cgroup: by default, duplicate service cgroup in the cpu hierarchy
2010-11-17 21:27:53 +01:00
Lennart Poettering
8c4dd542af
units: get rid of no_requires unit flag, and make crypto disks require cryptsetup service
2010-11-15 18:26:37 +01:00
Lennart Poettering
6210e7fc31
manager: always pull 'following' units into transaction
2010-11-14 23:48:21 +01:00
Lennart Poettering
92ab323c82
units: make use of agetty mandatory
2010-11-14 23:48:20 +01:00
Lennart Poettering
57339f47f1
job: make it possible to wait for devices to be unplugged
2010-11-14 23:48:20 +01: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
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
f14e15f8af
unit: replace recursive_stop by stop_retroactively to simplify things a little
2010-10-28 03:38:52 +02:00
Lennart Poettering
799fd0fd23
service: unify tstamp serialization code
2010-10-28 03:16:03 +02:00
Lennart Poettering
8aaf019b5c
unit: suppress incorrect deserialization errors
2010-10-28 02:19:21 +02:00
Lennart Poettering
10717a1a8d
unit: serialize active timestamps
2010-10-27 00:01:12 +02:00
Lennart Poettering
8a0867d6c5
systemctl: introduce systemctl kill
2010-10-22 16:11:50 +02:00
Lennart Poettering
9fc507041e
unit: introduce %f specifier to decode file names
2010-10-20 16:16:45 +02:00
Lennart Poettering
52661efd21
unit: add minimal condition checker for unit startup
2010-10-13 02:15:41 +02:00
Lennart Poettering
e04aad61bb
swap: major rework, use /sbin/swapon for setting up swaps, fix merging of aliased swap disks
2010-10-12 04:08:04 +02:00
Lennart Poettering
6daf4f9001
unit: rename 'banned' load state to 'masked'
2010-10-08 18:21:52 +02:00
Lennart Poettering
b9c0d4415b
systemctl: fix 'systemctl enable getty@.service'
2010-10-08 03:09:25 +02:00
Lennart Poettering
00dc5d769a
unit: introduce 'banned' load state for units symlinked to /dev/null
2010-10-08 02:31:36 +02:00
Lennart Poettering
e983b76024
manager: notify plymouth about progress if it is running
2010-10-06 03:55:49 +02:00
Lennart Poettering
71fad67514
systemctl: require correctly formed unit names when enabling units
2010-10-06 02:33:40 +02:00
Lennart Poettering
f976f3f67c
socket: make sockets to pass to a service configurable
2010-10-05 19:50:00 +02:00
Lennart Poettering
b4a16b7b8a
fix spelling of 'unneeded' at various places
2010-09-27 23:27:21 +02:00
Lennart Poettering
9f151f29fd
service: don't create sysv order deps on merged units
2010-09-27 23:24:17 +02:00
Lennart Poettering
bba34eedc7
target: add implicit target/unit ordering deps only if both sides have been fully loaded
2010-09-14 01:51:30 +02:00
Lennart Poettering
83a95334c9
socket: fix output of TCP congestion options
2010-09-14 01:31:41 +02:00
Lennart Poettering
98bc20006d
target: add default unit ordering deps from the unit not the target
2010-09-13 12:06:49 +02:00
Lennart Poettering
5ed9f5d65e
unit: don't retroactively start units if we failed to shutdown a unit
2010-09-03 01:45:53 +02:00
Lennart Poettering
18ffdfda48
unit: unify some code
2010-09-01 03:35:04 +02:00
Matthew Miller
fdf20a3160
manager: add missing second part of s/maintenance/failed/
2010-08-31 00:23:34 +02:00
Lennart Poettering
2528a7a62c
unit: introduce AllowIsolate= switch
2010-08-30 23:04:36 +02:00
Lennart Poettering
d6c9574fb5
emacs: make sure nobody accidently adds tabs to our sources
2010-08-14 19:59:25 +02:00
Lennart Poettering
8821a00fd5
unit: don't show ENOENT configuration file warnings for units that are not essential
2010-08-12 01:05:35 +02:00
Lennart Poettering
1e59887dc9
gc: remove a lot of unused code
2010-08-11 23:19:04 +02:00
Lennart Poettering
e364ad0628
clang: fix numerous little issues found with clang-analyzer
2010-08-11 22:04:25 +02:00
Lennart Poettering
10f8e83cbb
manager: serialize/deserialize startup time, too
2010-08-11 20:19:27 +02:00
Lennart Poettering
cd6d0a456b
utmp: enable systemd-update-utmp by default
2010-08-11 04:38:55 +02:00
Lennart Poettering
41b02ec77e
unit: make sure a job for a service of type 'finish' succeeds if the process terminates cleanly
2010-08-11 04:03:13 +02:00
Lennart Poettering
6c073082e7
socket: disable GC for pre-allocated per-connection service until it is used
2010-08-11 02:07:59 +02:00
Lennart Poettering
4927fcae48
audit,utmp: implement audit logic and rip utmp stuff out of the main daemon and into a helper binary
2010-08-11 01:44:38 +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
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
04ade7d215
dbus: don't call bus_path_escape() with NULL unit name
...
Fixes an assertion triggerable via D-Bus.
https://bugzilla.redhat.com/show_bug.cgi?id=622008
2010-08-09 17:07:05 +02:00
Lennart Poettering
a7f241db3f
unit: deduce following unit value dynamically instead of statically, to avoid dangling pointers
2010-07-21 05:00:29 +02:00
Lennart Poettering
8fe914ec81
device: do not merge devices
...
Don't try to merge devices that have been created via dependencies when
they appear in the system and can be recognized as the same. Instead,
simply continue to maintain them independently of each other, however
with the same state cycle. Why? Because otherwise we'd have a hard time
to seperate the dependencies after the devices are unplugged again and
we hence cannot be sure anymore that next time the device is plugged in
it will carry the same names.
Example: if one depndency refers to dev-sda.device and another one to
dev-by-id-xxxyyy.device we only learn at time of plug in of the device
that it is actually the same device that was ment. In the moment the
device is unplugged again we won't know anymore their relation to each
other and the next time the harddisk is plugged it might even appear as
dev-by-id-xxxyyy.device and dev-sdb.service. To ensure the dependencies
continue to have the meaning they were intended to have let's hence keep
the .device objects seperate all the time, even when they are plugged
in.
This patch also introduces a new Following= property which points from
the various .device units of a specific device to the main .device unit
for it. This can be used by the client side to figure out the relation
of the .device units to each other and even filter units from display.
2010-07-20 20:33:24 +02:00
Lennart Poettering
5632e3743d
systemctl: introduce reset-maintenance command
2010-07-19 04:08:07 +02:00
Lennart Poettering
faf919f1eb
job: timeout every job independently of the unit
2010-07-17 04:09:28 +02:00
Lennart Poettering
5de9682cd6
unit: introduce OnFailure dependencies to activate units on failure of other units, as a way to implement an automatic rescue shell
2010-07-17 00:58:47 +02:00