Lennart Poettering
c88e7f4e57
manager: don't try to minimize transaction when using isolate
...
We should not avoid stopping services when using isolate, since that
kinda defeats the point of it.
http://bugzilla.redhat.com/show_bug.cgi?id=627014
2010-08-30 23:51:52 +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
6309077509
log: pass SCM_CREDENTIALS when logging to syslog
2010-08-21 01:51:16 +02:00
Lennart Poettering
d06dacd002
service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl
2010-08-20 02:31:54 +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
d6c9574fb5
emacs: make sure nobody accidently adds tabs to our sources
2010-08-14 19:59:25 +02:00
Lennart Poettering
bbd3a7ba5c
audit: suppress repeated audit events when deserializing
2010-08-12 03:51:58 +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
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
e543deaeb5
audit: initialize audit only if it is enabled
2010-08-11 17:52:01 +02:00
Lennart Poettering
830f6caa77
audit: smaller fixes to audit hookup
2010-08-11 15:19:50 +02:00
Lennart Poettering
cd6d0a456b
utmp: enable systemd-update-utmp by default
2010-08-11 04:38:55 +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
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
2e81c8a557
manager: downgrade a few log msgs regarding conflicting but fixable jobs
2010-08-06 02:58:46 +02:00
Lennart Poettering
48a21c9b37
manager: fix conflicting job check
2010-08-05 20:49:35 +02:00
Lennart Poettering
674a6e4d0c
manager: when breaking ordering cycle show full cycle loop
2010-08-05 20:39:45 +02:00
Lennart Poettering
d8d5ab981a
manager: write serialization to /dev/.systemd/ instead of /dev/shm
2010-07-20 20:54:33 +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
3dda9fc3a7
manager: always allow stopping of units that failed to load
2010-07-13 20:07:00 +02:00
Lennart Poettering
9f611ad82e
unit: disable retroactive starting/stopping of units when deserializing
2010-07-13 19:01:20 +02:00
Lennart Poettering
f057408c9c
units: introduce emergency.target
2010-07-12 23:49:20 +02:00
Lennart Poettering
b12c1e7cf7
socket: pass minimal abstract socket names
2010-07-11 02:23:11 +02:00
Lennart Poettering
65e92d67b6
manager: free dbus error when ignoring it
2010-07-11 00:52:19 +02:00
Lennart Poettering
fe51822e71
manager: introduce unit path cache to minimize disk accesses
2010-07-11 00:52:00 +02:00
Lennart Poettering
c6c18be35b
cgroup: kill processes, not tasks and other cgroup changes
2010-07-11 00:50:49 +02:00
Lennart Poettering
5509654721
cgroup: make cgroup controller name a constant
2010-07-10 17:38:50 +02:00
Lennart Poettering
582a507f1a
systemctl: show exec status of all exited programs
2010-07-10 15:42:24 +02:00
Lennart Poettering
82c64bf578
snapshot: fix deserialization
2010-07-10 04:51:03 +02:00
Lennart Poettering
1e001f52d2
main: add a few more useful diagnostic log messages
2010-07-10 04:50:19 +02:00
Lennart Poettering
a821caaae1
main: make it possible to run a system daemon along side an aloready running one for testing purposes
2010-07-09 23:43:16 +02:00
Lennart Poettering
1e3ad081ef
execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step
2010-07-08 04:09:17 +02:00
Lennart Poettering
398ef8ba02
dbus: make errors reported via D-Bus more useful
2010-07-08 02:43:18 +02:00
Lennart Poettering
54165a3939
log: bump up a number of log messages so that they are shown even if debug logging is disabled, for diagnostic purposes
2010-07-07 17:57:54 +02:00
Lennart Poettering
9e58ff9c5c
manager: optionally print status updates to console on boot
2010-07-07 00:00:59 +02:00
Lennart Poettering
a567261a29
dbus: send signals about jobs to the clients having created them unconditionally, and thus get rid of broadcast signals in most cases
2010-07-05 00:58:07 +02:00
Lennart Poettering
6124958c7b
unit: add new abstracted maintenance state for units
2010-07-01 00:31:53 +02:00
Lennart Poettering
6398320759
core: rename struct timestamp to dual_timestamp to avoid name clash with IP system headers
2010-07-01 00:26:44 +02:00
Lennart Poettering
e6b3f00f66
manager: both rescue and emergency should be started in isolate mode
2010-06-24 03:07:43 +02:00
Lennart Poettering
8c6db83365
pam: implement systemd PAM module and generelize cgroup API for that a bit
2010-06-21 23:27:18 +02:00
Lennart Poettering
399ab2b1ac
unit: make unit casts typesafe
2010-06-19 16:57:29 +02:00
Lennart Poettering
bb00e60409
don't use 'long long' unless we have a really good reason to
2010-06-19 04:35:52 +02:00
Lennart Poettering
a3d4e06dfa
manager: get rid of destinction between running_as=system and running_as=init, as there is little value in it and we cannot really test this
2010-06-19 03:15:59 +02:00
Lennart Poettering
5e8d1c9a9f
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
2010-06-19 03:04:04 +02:00
Lennart Poettering
8c40acf7cb
notify: properly NUL-terminate received messages
2010-06-18 23:13:40 +02:00
Lennart Poettering
c952c6ece2
service: add minimal access control logic for notifcation socket
2010-06-18 23:12:48 +02:00
Lennart Poettering
33be102a21
cgroup: make sure the user cannot accidentaly unmount our cgroup filesystem
2010-06-18 20:15:34 +02:00