Commit graph

56 commits

Author SHA1 Message Date
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
Lennart Poettering 514f4ef52f systemctl: add verbs for special units 2010-06-18 04:22:59 +02:00
Lennart Poettering 7d7936059f manager: expose a few special units via SIGRTMIN+x signals 2010-06-17 23:22:56 +02:00
Lennart Poettering 5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +02:00
Lennart Poettering 8c47c7325f notify: add minimal readiness/status protocol for spawned daemons 2010-06-16 05:10:31 +02:00
Lennart Poettering 84e3543ef4 manager: split off path lookup logic into own .c file 2010-06-15 14:45:15 +02:00
Lennart Poettering 2ded0c0442 manager: recheck unit paths on daemon reload 2010-06-15 14:32:26 +02:00
Lennart Poettering 964e0949dd unit: when destructing units make sure we don't readd the unit to the gc queue after we already removed it there 2010-06-05 02:16:20 +02:00
Lennart Poettering a013b84b49 unit: avoid assert on daemon reload 2010-06-04 22:31:33 +02:00
Lennart Poettering 2149e37c79 manager: dump to usual debug channel on SIGUSR2, don't rely on stdin 2010-06-04 19:45:53 +02:00
Lennart Poettering cca098b095 unit: serialize jobs in addition to units 2010-06-03 14:27:02 +02:00
Lennart Poettering 23e3c58809 manager: when we sweep the tree when looking for ordering cycles, remember and reuse if we already decided a tree was loop free, to improve speed drastically 2010-06-03 03:00:47 +02:00