1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00
Commit Graph

147 Commits

Author SHA1 Message Date
Lennart Poettering
c24eb49e6a exec: extend variable substitution to support splitting variable values into seperate arguments 2010-07-21 02:57:35 +02:00
Lennart Poettering
9d25f5ed7b sysv: do not add sysv services that are not enabled in /etc/rcN.d/ to network.target or other LSB-style Provides: targets 2010-07-20 22:30:45 +02:00
Lennart Poettering
84b00965b7 hostname: properly deal with unset hostname in fedora configuration 2010-07-20 21:34:25 +02:00
Lennart Poettering
2cc59dbfe0 systemctl: always disable color when output goes into a file 2010-07-20 21:04:32 +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
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
b9975629f0 man: extend man pages a little 2010-07-18 02:11:38 +02:00
Lennart Poettering
246756ca92 install: optionally remove all symlinks from configuration tree recursively 2010-07-18 01:33:05 +02:00
Lennart Poettering
92abbefbef execute: bump up log level of executed processes that failed 2010-07-17 04:17:30 +02:00
Lennart Poettering
faf919f1eb job: timeout every job independently of the unit 2010-07-17 04:09:28 +02:00
Lennart Poettering
064f51fa29 unit: consider only_by_dependency setting when clients ask whether a unit is startable 2010-07-17 04:07:49 +02:00
Lennart Poettering
45fb0699c4 systemctl: warn when operating on service files that changed on disk but haven't been reloaded 2010-07-17 00:57:51 +02:00
Lennart Poettering
0ff3dea700 systemctl: always show units with active jobs in list-units output 2010-07-16 21:31:34 +02:00
Lennart Poettering
cac6f7c872 service: refuse to start services that are configured for per-connection instantiation to start without a socket 2010-07-16 19:41:11 +02:00
Lennart Poettering
6c155fe3d0 path,timer: order units after sysinit by default 2010-07-16 18:57:21 +02:00
Lennart Poettering
772a599e4f target: if the user configured a manual ordering between target units and the unit they require don't contradict that automatically 2010-07-16 03:17:34 +02:00
Lennart Poettering
ad780f1991 main: disable nscd if we can to avoid deadlock, just in case 2010-07-16 03:07:53 +02:00
Lennart Poettering
4445a87557 systemctl: add to command for virtualizing the dependency tree with graphviz 2010-07-16 02:56:00 +02:00
Lennart Poettering
14bd37fe0b fixme: refer to rhbz bugs that need fixing 2010-07-14 15:13:34 +02:00
Lennart Poettering
70cd22f973 update fixme 2010-07-13 02:28:12 +02:00
Lennart Poettering
ab861dd00a update fixme 2010-07-12 19:41:54 +02:00
Lennart Poettering
3b6fdb5b5a unit: introduce IgnoreDependencyFailure= 2010-07-12 03:07:02 +02:00
Lennart Poettering
b708e7cea9 execute: optionally ignore return status of invoked commands 2010-07-12 03:07:01 +02:00
Lennart Poettering
582a507f1a systemctl: show exec status of all exited programs 2010-07-10 15:42:24 +02:00
Lennart Poettering
2e22afe909 execute: add ability to configure the kill signal 2010-07-10 04:49:37 +02:00
Lennart Poettering
4e67ddd6b3 units: introduce umount.target for unmounting all file systems 2010-07-10 02:41:06 +02:00
Lennart Poettering
b8131a87cc systemctl: show connection counters only for Accept=yes sockets 2010-07-10 00:55:44 +02:00
Lennart Poettering
828f33e89b man: update daemon man page a little 2010-07-10 00:49:00 +02:00
Lennart Poettering
ab5506a922 update fixme 2010-07-09 23:43:16 +02:00
Lennart Poettering
37967211b3 update fixme 2010-07-09 05:02:26 +02:00
Lennart Poettering
9a1ac7b9ae install: implement --start option 2010-07-06 05:06:40 +02:00
Lennart Poettering
7492290434 turn negative options into positive options 2010-07-05 01:08:13 +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
552e4331bf systemctl: use format_timespan() where applicable 2010-07-04 21:18:06 +02:00
Lennart Poettering
03fae01822 uniformly suffix time span properties with their unit 2010-07-04 21:12:10 +02:00
Lennart Poettering
82c121a475 dbus: complete exec coverage 2010-07-04 16:44:58 +02:00
Lennart Poettering
032ff4afc9 unit: shorten active state enums to make systemctl output nicer 2010-07-01 03:34:15 +02:00
Lennart Poettering
6124958c7b unit: add new abstracted maintenance state for units 2010-07-01 00:31:53 +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
bb00e60409 don't use 'long long' unless we have a really good reason to 2010-06-19 04:35:52 +02:00
Lennart Poettering
6cf6bbc268 socket: enforce limit on number of concurrent connections 2010-06-19 04:25:34 +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
f9704703f3 service: honour empty cgroup even in ValidNoProcess mode 2010-06-19 01:06:09 +02:00
Lennart Poettering
f872ec3397 util: properly divide in 64bit in format_timestamp() 2010-06-19 00:14:12 +02:00
Lennart Poettering
c952c6ece2 service: add minimal access control logic for notifcation socket 2010-06-18 23:12:48 +02:00
Lennart Poettering
e55224ca65 service: when we supervise a process, ensure it is our child 2010-06-18 22:05:29 +02:00
Lennart Poettering
c32dd69b46 install: make systemd-install useful for installation of template instances 2010-06-18 21:33:15 +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
2cb1a60d14 init: call telinit in case we are run as init and not pid1 2010-06-18 20:01:01 +02:00
Lennart Poettering
d55ae9e6d7 systemctl: add compat support for shutting down the system via upstart 2010-06-18 19:16:14 +02:00
Lennart Poettering
eb22ac37f3 systemctl: add /dev/initctl fallback 2010-06-18 04:44:53 +02:00
Lennart Poettering
139be57d94 build-sys: speed up build via convenience library 2010-06-18 00:44:57 +02:00
Lennart Poettering
be1a67d9d6 build-sys: pass -fno-strict-aliasing by default 2010-06-17 23:41:21 +02:00
Lennart Poettering
240a3a85bd doc: install sd-daemon.[ch] as docs 2010-06-17 23:33:21 +02:00
Lennart Poettering
706243a2d2 sd-daemon: add gcc format string attribute to sd_notifyf 2010-06-17 23:26:20 +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
e4b613402d systemctl: provide compatibility implementations for various sysv utilities 2010-06-17 22:57:28 +02:00
Lennart Poettering
5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +02:00
Lennart Poettering
df1f0afe0c tcpwrap: execute tcpwrap check in forked client, to avoid blocking name lookups in main systemd process 2010-06-16 16:27:24 +02:00
Lennart Poettering
18c78fb1af typo: the correct spelling is maintenance not maintainance 2010-06-16 14:01:55 +02:00
Lennart Poettering
8c47c7325f notify: add minimal readiness/status protocol for spawned daemons 2010-06-16 05:10:31 +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
7e4249b94e systemctl: reimplement systemctl in pure C without Vala/GObject 2010-06-15 02:51:55 +02:00
Lennart Poettering
2279955bb5 update fixme 2010-06-02 23:16:31 +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
a1b256b0b5 unit: introduce exit.service for exiting from session instances 2010-05-24 22:32:44 +02:00
Lennart Poettering
1e89ced119 man: fix minor typo 2010-05-24 18:58:43 +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
6d526de267 unit: add automount units for a number of API filesystems 2010-05-23 01:56:54 +02:00
Lennart Poettering
7535cc788e systemctl: add --block switch for synchronous starting of units 2010-05-22 04:27:24 +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
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
e962f5c34f units: mark a couple of services as OnlyByDependency 2010-05-21 23:53:09 +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
9726b29e98 log: handle multi-line log messages properly 2010-05-21 03:31:49 +02:00
Lennart Poettering
ff876e283a execute: reopen console in the spawned processes, if necessary 2010-05-20 01:08:13 +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
129126f379 fixme: update todo list 2010-05-16 01:49:45 +02:00
Lennart Poettering
5021be21bf fixme: minor update 2010-02-14 22:47:08 +01:00
Lennart Poettering
874aa2cc72 fixme: minor updates 2010-02-14 22:45:08 +01:00
Lennart Poettering
0262225c0c fixme: update fixme a little 2010-02-12 02:02:33 +01:00
Lennart Poettering
b5a0699f0b socket: allow configuration of socket/directory mode 2010-02-12 02:02:14 +01:00
Lennart Poettering
a625ac1a4d update fixme 2010-02-05 01:11:01 +01:00
Lennart Poettering
c1e1601e8c dbus: send out signals when units/jobs come, go and change 2010-02-05 00:38:41 +01:00
Lennart Poettering
94f043472a greatly extend what we enforce as process properties 2010-01-30 01:55:42 +01:00
Lennart Poettering
9eba9da4bc support chrooting/setting of ioprio when spawning 2010-01-29 20:46:22 +01:00
Lennart Poettering
f94ea366d3 monitor udev for device changes 2010-01-29 06:45:59 +01:00
Lennart Poettering
38a4d4f089 update fixme 2010-01-29 04:45:23 +01:00
Lennart Poettering
071830ff32 implement proper logging for services 2010-01-28 02:06:20 +01:00
Lennart Poettering
acbb02252a yay, we can start socket units 2010-01-27 04:31:52 +01:00
Lennart Poettering
87f0e418cf s/name/unit 2010-01-26 21:39:06 +01:00
Lennart Poettering
c22cbe2672 rename milestone to target 2010-01-26 19:06:50 +01:00
Lennart Poettering
75787bb713 add fixme todo list 2010-01-26 04:19:18 +01:00