1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00
Commit Graph

9466 Commits

Author SHA1 Message Date
Lennart Poettering
a4bfb3990b strv: introduce strv_find_prefix() 2010-06-16 05:06:02 +02:00
Lennart Poettering
d3782d60cd util: introduce random_ull() 2010-06-16 05:05:36 +02:00
Lennart Poettering
10e87ee7f6 install: add systemd-install tool for managing alias/wants symlinks 2010-06-16 01:58:50 +02:00
Lennart Poettering
2c7108c40a util: introduce readlink_and_make_absolute() 2010-06-16 01:56:00 +02:00
Lennart Poettering
b08a35509c systemctl: make sure getopt doesn't segfault 2010-06-15 19:47:38 +02:00
Lennart Poettering
406eaf930b service: never supervise ourselves 2010-06-15 19:47:13 +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
479ef5d398 systemctl: fix race in --block 2010-06-15 04:24:30 +02:00
Lennart Poettering
fd0d7f7a6e dbus: fix match 2010-06-15 04:24:16 +02:00
Lennart Poettering
7e4249b94e systemctl: reimplement systemctl in pure C without Vala/GObject 2010-06-15 02:51:55 +02:00
Lennart Poettering
fb1af5b0fe initctl: make sure we don't exit due to dbus disconnect 2010-06-15 02:46:26 +02:00
Lennart Poettering
cf3e247193 dbus: tighten match rules a bit 2010-06-15 02:46:07 +02:00
Lennart Poettering
53ec43c61d set: introduce set_free_free() 2010-06-15 02:45:26 +02:00
Lennart Poettering
3930341a76 log: don't open log targets too early 2010-06-11 12:31:50 +02:00
Lennart Poettering
7020e8be3f reword a few log messages 2010-06-11 11:39:59 +02:00
Lennart Poettering
2f198e2f36 main: rename systemd.default= to systemd.unit= 2010-06-09 15:38:46 +02:00
Lennart Poettering
9fae33d2c8 log: add null log target 2010-06-09 15:37:40 +02:00
Lennart Poettering
b1a954eace dbus: add missing bus activation file 2010-06-07 04:20:50 +02:00
Lennart Poettering
af25ec12e3 dbus: allow systemd to receive activation requests 2010-06-07 04:15:37 +02:00
Lennart Poettering
fc5df99e24 service: honour suse style Kxx links in boot.d/ directory 2010-06-07 02:42:01 +02:00
Lennart Poettering
dfd8eeed39 unit: bump up default timeout to 60s 2010-06-05 02:16:42 +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
27ca8d7a25 socket: verify socket type properly when desrializing 2010-06-05 00:52:49 +02:00
Lennart Poettering
46018844bc dbus: be a bit more verbose for bus activation 2010-06-04 22:35:31 +02:00
Lennart Poettering
a013b84b49 unit: avoid assert on daemon reload 2010-06-04 22:31:33 +02:00
Lennart Poettering
6dded4c705 dbus: there might be names already registered before we can connect, make sure to enumerate them when checking whether a service is already started 2010-06-04 22:03:22 +02:00
Lennart Poettering
c4653a4dfe service: handle properly if a dbus process terminates before acquiring the dbus name 2010-06-04 21:23:00 +02:00
Lennart Poettering
b410e6b951 unit: if a unit external changes state, consider that good enough for a job to succeed, don't enforce waiting for the dependencies 2010-06-04 20:13:41 +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
f92a18f527 units: introduce and explain sysinit.target 2010-06-04 18:43:40 +02:00
Lennart Poettering
2f630e5ffd unit: make sure deserialized_job's type is known 2010-06-03 16:53:59 +02:00
Lennart Poettering
cca098b095 unit: serialize jobs in addition to units 2010-06-03 14:27:02 +02:00
Lennart Poettering
a4ddf82766 execute: fix parsing of StandardError= setting 2010-06-03 03:37:12 +02:00
Lennart Poettering
35374c804d test: update test-engine.c to work again 2010-06-03 03:01:29 +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
Lennart Poettering
a2e0f3d394 mount: parse both parts of the mount options from /proc/self/mountinfo 2010-06-02 23:03:39 +02:00
Lennart Poettering
a5478cd440 dbus: hide some debug output 2010-06-02 22:18:57 +02:00
Lennart Poettering
93a46b0bc5 macro: avoid name clash with _unused on ppc 2010-06-02 21:34:03 +02:00
Lennart Poettering
f5644ae461 mounts: reindent table 2010-06-02 21:15:27 +02:00
Lennart Poettering
122c1c8198 mounts: make /cgroup a tmpfs file system 2010-06-02 21:05:23 +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
Christian Ruppert
2c7c61442e swap: Fix uninitialized variable 2010-06-02 18:54:50 +02:00
Lennart Poettering
10a49d708d hostname: keep dots in hostname 2010-06-02 15:52:13 +02:00
Lennart Poettering
695d1ef183 sd-daemon: rework documentation a little 2010-06-02 04:24:33 +02:00
Lennart Poettering
0034c15c60 dbus: implement systemd side of dbus activation glue 2010-06-02 04:24:16 +02:00
Lennart Poettering
c87eba546a dbus: add simplified way to start an arbitrary unit in a single method call 2010-06-01 19:47:46 +02:00
Lennart Poettering
723c83fd05 service: interpret Debian-style X-Interactive LSB header field 2010-05-24 22:32:49 +02:00
Lennart Poettering
a1b256b0b5 unit: introduce exit.service for exiting from session instances 2010-05-24 22:32:44 +02:00
Lennart Poettering
1e287fe32f unit: turn display-manager.target into a service 2010-05-24 22:29:59 +02:00
Lennart Poettering
6464aa0890 service: add extended debian facilities 2010-05-24 19:56:25 +02:00
Lennart Poettering
c2b35af64c service: be case insensitive when parsing LSB headers, because some Debian services use lower case fields 2010-05-24 19:23:11 +02:00
Lennart Poettering
0c565ed702 service: interpret suse/debian style X-Start-Before/X-Start-After 2010-05-24 19:00:13 +02:00
Lennart Poettering
8640e11135 sd-daemon: set FD_CLOEXEC by default 2010-05-24 18:59:46 +02:00
Lennart Poettering
8efe3c0114 main: don't try to mount api dirs if we are not root 2010-05-24 18:59:13 +02:00
Lennart Poettering
01f78473b1 path: add .path unit type for monitoring files 2010-05-24 05:25:33 +02:00
Lennart Poettering
871d7de47c timer: fully implement timer units 2010-05-24 01:45:54 +02:00
Lennart Poettering
4288f61921 dbus: automatically generate and install introspection files 2010-05-23 03:45:33 +02:00
Lennart Poettering
9a57a1fdd6 systemctl: subscribe to changes of existing units/jobs 2010-05-22 04:39:37 +02:00
Lennart Poettering
1b91d3e8f4 execute: fix typo 2010-05-22 04:39:16 +02:00
Lennart Poettering
7535cc788e systemctl: add --block switch for synchronous starting of units 2010-05-22 04:27:24 +02:00
Lennart Poettering
967d86b5cb manager: link ~/.local/share/systemd/session to ~/.config/systemd/session if possible 2010-05-22 03:32:00 +02:00
Lennart Poettering
c3f6d6757a manager: canonicalize search paths and filter out non-existing paths and those pointing to the same fs directory 2010-05-22 03:30:46 +02:00
Lennart Poettering
9a34ec5fbb execute: only reset those signals to the default we really need to reset to the default 2010-05-22 01:46:08 +02:00
Lennart Poettering
e1ce2c2782 device: make use of new libudev tags logic 2010-05-22 01:00:28 +02:00
Lennart Poettering
11c3a4eeb7 kmod: automatically load a few kernel modules we need for normal operation before udev is active 2010-05-22 00:29:53 +02:00
Lennart Poettering
bc0f8771f2 unit: add simple only-by-dependency flag for units 2010-05-21 23:41:54 +02:00
Lennart Poettering
c0120d992c socket: fix parsing of bind_ipv6_only 2010-05-21 23:41:25 +02:00
Lennart Poettering
88ce42f694 sd-daemon: verify socket family, too 2010-05-21 17:06:40 +02:00
Lennart Poettering
dde770cfc6 sd-daemon: fix listening socket verification 2010-05-21 03:34:04 +02:00
Lennart Poettering
19b160fae9 mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet 2010-05-21 03:32:58 +02:00
Lennart Poettering
8cbef76075 mount: refuse mount units that have not been loaded from any source 2010-05-21 03:32:21 +02:00
Lennart Poettering
9726b29e98 log: handle multi-line log messages properly 2010-05-21 03:31:49 +02:00
Lennart Poettering
b6dbbe1c98 socket: fix error handling 2010-05-20 20:46:17 +02:00
Lennart Poettering
2b061f5a4b socket: format IPv4-in-IPv6 addresses as IPv4 addresses for instance name 2010-05-20 20:46:06 +02:00
Lennart Poettering
8e47d742a8 service: when start is repeated too often, consider that failure 2010-05-20 20:45:20 +02:00
Lennart Poettering
7c64bbc387 cgroup: consider not-realized cgroups empty when killing all processes in them 2010-05-20 20:45:00 +02:00
Lennart Poettering
68d157d894 loopback: negate netlink error code before we pass it to strerror() 2010-05-20 19:08:37 +02:00
Lennart Poettering
cd250a39da sd-daemon: extend documentation a little 2010-05-20 19:01:29 +02:00
Lennart Poettering
86700cf7ad loopback-setup: be more verbose when something is failing 2010-05-20 19:01:14 +02:00
Kay Sievers
cfe243e372 units: SUSE support 2010-05-20 17:55:42 +02:00
Lennart Poettering
eaf67512d3 systemadm: fix link when fragment path is unknown 2010-05-20 02:37:18 +02:00
Lennart Poettering
07ded1e8ba systemadm: make fragment path a clickable link 2010-05-20 02:31:57 +02:00
Lennart Poettering
dec5d55298 execute: check ppid, not pid for 1 2010-05-20 01:34:42 +02:00
Lennart Poettering
ecc6e2b849 logger: add an after dependency on the syslog dependency 2010-05-20 01:21:38 +02:00
Lennart Poettering
d5159713c1 service: when we cannot start due to rate limít consider that a real failure 2010-05-20 01:14:43 +02:00
Lennart Poettering
9eb63b3cb4 job: don't show (null) prefix in dump 2010-05-20 01:14:09 +02:00
Lennart Poettering
7c394faa38 sd-daemon: add API to verify socket types 2010-05-20 01:13:43 +02:00
Lennart Poettering
ff876e283a execute: reopen console in the spawned processes, if necessary 2010-05-20 01:08:13 +02:00
Lennart Poettering
ca9a0317a4 automount: try to modprobe autofs4 if its lacking 2010-05-19 22:30:28 +02:00
Lennart Poettering
dfca381db3 shorten copyright header of configuration files 2010-05-19 22:14:29 +02:00
Lennart Poettering
d017c6ca11 service: refuse to parse sysv scripts that are requested with a boot. prefix or .sh suffix 2010-05-19 21:52:30 +02:00
Lennart Poettering
6c666e26c5 load-fragment: add support for overriding argv[0] in parsed command lines 2010-05-19 21:51:53 +02:00
Lennart Poettering
8783d2feae execute: send output of services by default to same place as systemd internal output 2010-05-19 21:51:25 +02:00
Lennart Poettering
03fd9c4932 execute: simplify stdin/stderr/stdout fixup a little 2010-05-19 21:50:34 +02:00
Lennart Poettering
9a6bca7aad execute: s/EXEC_OUTPUT_KERNEL/EXEC_OUTPUT_KMSG/ to follow LOG_TARGET_xxx nomenclature 2010-05-19 21:49:03 +02:00
Lennart Poettering
15ca554ba3 service: by default send service output to syslog, except for SysV services which should go to the console 2010-05-19 04:28:25 +02:00
Lennart Poettering
56d748b47e service: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore, so rename it 2010-05-19 03:44:37 +02:00
Lennart Poettering
b7ccee3c84 service: properly drop boot. prefix and .sh suffix from dependency names in the LSB headers 2010-05-19 03:44:07 +02:00
Lennart Poettering
9c5c00f9fe logger: use the right enum type 2010-05-19 03:42:24 +02:00
Lennart Poettering
1b5601907e automount: never consider our own mount point a prefix mount of us 2010-05-19 03:42:05 +02:00
Lennart Poettering
c8513d54d2 log: never close file descriptors < 3 2010-05-18 05:10:52 +02:00
Lennart Poettering
a4312405f2 manager: before entering loop dispatch queued up SIGCHLDs 2010-05-18 04:16:33 +02:00
Lennart Poettering
b86d44e5ab unit: don't gc units that are still in STUB state 2010-05-18 04:05:27 +02:00
Lennart Poettering
21de3988ab main: ignore EPERM in TIOCSTTY when opening terminal for crash shell 2010-05-18 03:40:19 +02:00
Lennart Poettering
5b2a090372 main: if we fail to acquire a terminal for the crash shell, warn but continue 2010-05-18 03:27:02 +02:00
Lennart Poettering
670802d4b1 units: replace a few non-essential API mounts with automount units 2010-05-18 03:10:17 +02:00
Lennart Poettering
53f7d807bf cgroup: don't require debug cgroup controller anymore, use name hierarchy instead 2010-05-17 23:54:44 +02:00
Lennart Poettering
340d89e06e build-sys: add small redirecting Makefiles to simplify compilation from within emacs 2010-05-17 01:44:03 +02:00
Lennart Poettering
07c132ffdd swap: add swap.target Wants links only when running as system instance 2010-05-16 22:48:14 +02:00
Lennart Poettering
307e85efbb mount: add remote-fs.target/local-fs.target Wants links only when running as system instance 2010-05-16 22:46:03 +02:00
Lennart Poettering
9f23530860 man: document a few special units 2010-05-16 22:45:11 +02:00
Lennart Poettering
a7b6f8e578 units: automatically generated syslog.target 2010-05-16 21:15:46 +02:00
Lennart Poettering
dfac97b21e build-sys: generate intermediate files in subdirs 2010-05-16 19:09:22 +02:00
Lennart Poettering
797e2f0e4d build-sys: move remaining source files to src/ 2010-05-16 18:51:06 +02:00
Lennart Poettering
e99e38bbdc build-sys: move source files to subdirectory 2010-05-16 18:45:24 +02:00