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
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
4c633005ea
cgroup: treat non-existing cgroups like empty ones, to deal with races
2010-07-13 19:00:01 +02:00
Lennart Poettering
3fe5e5d476
util: reset terminal even harder
2010-07-12 21:40:43 +02:00
Lennart Poettering
7bc0351dd8
util: fix error handling in acquire_terminal()
2010-07-12 20:35:14 +02:00
Lennart Poettering
35d2e7ec19
cgroup: reimplement the last bit of libcgroup functionality natively
2010-07-12 18:16:44 +02:00
Lennart Poettering
c6c18be35b
cgroup: kill processes, not tasks and other cgroup changes
2010-07-11 00:50:49 +02:00
Lennart Poettering
2e22afe909
execute: add ability to configure the kill signal
2010-07-10 04:49:37 +02:00
Lennart Poettering
b4f10a5e89
install: various improvements
...
Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".
Introduce --realize=reload.
Don't talk to systemd when run within a chroot, or when systemd isn't
running.
2010-07-08 21:39:01 +02:00
Lennart Poettering
fa776d8e96
cgls: beef up control group dumping and introduce cgls tool
2010-07-08 21:01:42 +02:00
Lennart Poettering
301056b7a0
util: fix missing memory initialization
2010-07-08 05:23:34 +02:00
Lennart Poettering
fab56fc541
execute: support minimal environment variable replacement when executing processes
2010-07-08 04:09:59 +02:00
Lennart Poettering
e167fb86f6
util: handle \s escape as defined in the XDG spec properly in cunescape()
2010-07-07 22:28:51 +02:00
Lennart Poettering
6febfd0d4b
util: introduce cunescape_length()
2010-07-07 20:58:02 +02:00
Lennart Poettering
0bab36f250
util: properly handle escaped quotes in words in split_quoted()
2010-07-07 20:57:47 +02:00
Lennart Poettering
f3d4cc0148
util: fix handling of unknown escapes in cunescape()
2010-07-07 20:57:10 +02:00
Lennart Poettering
8f75a603ec
util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word size
2010-07-07 17:40:25 +02:00
Lennart Poettering
2e54424d83
util: minor simplification when printing welcome text
2010-07-07 04:13:20 +02:00
Lennart Poettering
c846ff4798
main: show welcome message on boot
2010-07-07 00:25:41 +02:00
Lennart Poettering
9e58ff9c5c
manager: optionally print status updates to console on boot
2010-07-07 00:00:59 +02:00
Lennart Poettering
057fbb5885
util: fix space calculation in get_process_cmdline()
2010-07-06 20:33:54 +02:00
Lennart Poettering
c59760eeda
systemctl: show cgroup contents in status
2010-07-05 03:06:02 +02:00
Lennart Poettering
82c121a475
dbus: complete exec coverage
2010-07-04 16:44:58 +02:00
Lennart Poettering
4fd5948e74
socket: make various socket/pipe options configurable
2010-07-01 00:29:17 +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
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
f872ec3397
util: properly divide in 64bit in format_timestamp()
2010-06-19 00:14:12 +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
eb22ac37f3
systemctl: add /dev/initctl fallback
2010-06-18 04:44:53 +02:00
Lennart Poettering
ef2f1067d0
systemctl: warn users via wall that the system goes down
2010-06-18 02:28:35 +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
3ba686c107
util: implement parse_pid() function
2010-06-17 22:50:35 +02:00
Lennart Poettering
5b6319dcee
service: optionally call into PAM when dropping priviliges
2010-06-16 21:54:17 +02:00
Lennart Poettering
d3782d60cd
util: introduce random_ull()
2010-06-16 05:05:36 +02:00
Lennart Poettering
2c7108c40a
util: introduce readlink_and_make_absolute()
2010-06-16 01:56:00 +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
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
21de3988ab
main: ignore EPERM in TIOCSTTY when opening terminal for crash shell
2010-05-18 03:40:19 +02:00
Lennart Poettering
e99e38bbdc
build-sys: move source files to subdirectory
2010-05-16 18:45:24 +02:00