Commit Graph

30 Commits

Author SHA1 Message Date
Lennart Poettering c4e2ceae94 dbus: follow standardized fdo PropertiesChanged signal spec 2010-08-20 02:31:54 +02:00
Matthias Clasen 5948ee7cef dbus: small typo in introspection data
Hey,

here is a patch to fix a small typo in the systemd dbus introspection data.
I found this while trying to explore the systemd dbus API via bash
completion with gdbus. You should try this, it is really fun, and,
evidently, helps to find some bugs...

Matthias
2010-08-18 23:10:43 +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 34e9ba669e service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
2010-08-13 18:23:01 +02:00
Lennart Poettering 598b557bf0 systemctl: when calling 'status' accept a PID 2010-08-13 02:07:22 +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 6e98720f14 service: hide output of sysv scripts if quiet is passed on the kernel cmdline 2010-08-09 18:00:24 +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 6f28c033ec systemctl: introduce try-restart and reload-or-restart commands 2010-07-13 20:20:36 +02:00
Lennart Poettering c6c18be35b cgroup: kill processes, not tasks and other cgroup changes 2010-07-11 00:50:49 +02:00
Lennart Poettering 398ef8ba02 dbus: make errors reported via D-Bus more useful 2010-07-08 02:43:18 +02:00
Lennart Poettering 46d95c0fe0 dbus: log received message only once, in filter function 2010-07-08 00:27:09 +02:00
Lennart Poettering 7b97f47732 dbus: send reload completion message on right connection 2010-07-07 02:21:42 +02:00
Lennart Poettering 9e58ff9c5c manager: optionally print status updates to console on boot 2010-07-07 00:00:59 +02:00
Lennart Poettering fa0f4d8a3a main: add a native implementation of the 'nomodules' kernel option understood by fedora init scripts 2010-07-06 20:34:28 +02:00
Lennart Poettering 894ba510aa dbus: fix segfault with direct local connections 2010-07-06 19:02:54 +02:00
Lennart Poettering 9a1ac7b9ae install: implement --start option 2010-07-06 05:06:40 +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 f295f5c0c0 dbus: complete coverage of manager interface 2010-07-04 04:47:19 +02:00
Lennart Poettering 0442c13bfa dbus: properly name StartupTimestamp property 2010-07-04 03:42:55 +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 5b6319dcee service: optionally call into PAM when dropping priviliges 2010-06-16 21:54:17 +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 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 7535cc788e systemctl: add --block switch for synchronous starting of units 2010-05-22 04:27:24 +02:00
Lennart Poettering e99e38bbdc build-sys: move source files to subdirectory 2010-05-16 18:45:24 +02:00
Renamed from dbus-manager.c (Browse further)