Lennart Poettering
f786e80d7a
systemctl: fix parsing of LoadError property for systemctl show
2011-07-31 18:28:33 +02:00
Lennart Poettering
a43757462a
dbus: export unit file state
2011-07-31 18:28:02 +02:00
Lennart Poettering
07672f492e
main: show load profiling in test mode, too
2011-07-31 18:13:59 +02:00
Lennart Poettering
9f39404c86
dbus: export load error on unit objects
2011-07-31 18:13:03 +02:00
Kay Sievers
a27d218416
shutdownd: add 'success message' if we retried detaching stuff
...
If we need to retry, we print things like
'Not all file systems unmounted, 1 left'
We should also print something after we succeeded, so we don't leave
the impression we left stuff behind.
2011-07-30 20:24:40 +02:00
Lennart Poettering
b9b2b042c5
sd-login: build test code again
2011-07-30 16:42:26 +02:00
Lennart Poettering
ecdcbc5e60
systemctl: s/ignore/ignore_error/ in 'show' output
2011-07-30 16:42:05 +02:00
Lennart Poettering
2030694fec
git: hide org.freedesktop.systemd1.policy.in
2011-07-29 03:26:10 +02:00
Lennart Poettering
6b2bf92353
nspawn: properly bind mount /sys/fs/selinux into container, since /selinux moved there
2011-07-29 03:25:05 +02:00
Lennart Poettering
d60ef52650
sd-login: return size of arrays as return value in functions that generate an array
2011-07-29 03:14:06 +02:00
Lennart Poettering
4ef3108288
selinux: mount /sys, /proc, /dev before we load the SELinux policy
2011-07-29 01:49:46 +02:00
Lennart Poettering
0b3325e79e
selinux: use setcon() instead of reexec to apply selinux policy
2011-07-28 23:52:23 +02:00
Lennart Poettering
058dc6f379
main: redirection to telinit is unnecessary if sysv compat is disabled
2011-07-28 23:42:47 +02:00
Lennart Poettering
9d76d730ef
main: profile unit file loading
2011-07-28 23:41:57 +02:00
Lennart Poettering
189583d7e4
label: generalize label_get_socket_label_from_exe() a bit
2011-07-28 23:39:29 +02:00
Lennart Poettering
d605b2fd41
dbus: the changes array might actually be NULL when ti is empty
2011-07-28 15:49:18 +02:00
Michael Biebl
288088b86c
Remove a stray empty line
2011-07-28 15:03:30 +02:00
Michael Biebl
25bafad67f
Don't show a warning message in non-enforcing mode.
...
If we fail to load the SELinux policy only log an error message in
enforcing mode.
2011-07-28 15:01:41 +02:00
Lennart Poettering
6c7506dca3
logind: properly write user state files
2011-07-28 04:15:53 +02:00
Lennart Poettering
455a946f40
selinux: also profile memory usage
2011-07-27 21:47:25 +02:00
Lennart Poettering
bbc7328308
pam: set XDG_SEAT and XDG_VTNR when logging in
2011-07-26 23:09:34 +02:00
Lennart Poettering
add30678a1
sd-login: add new call sd_seat_can_multi_session()
2011-07-26 23:09:09 +02:00
Lennart Poettering
64559e8b4e
logind: rename can_activate_sessions to can_multi_session
2011-07-26 21:49:29 +02:00
Lennart Poettering
40cbb26f3b
udev: fix copy/paste error when applying sysctl to network devices
2011-07-26 21:45:18 +02:00
Lennart Poettering
0843f2d65e
selinux: check PID 1 label instead of /selinux mount point to figure out if selinux is already initialized
2011-07-25 21:59:05 +02:00
Lennart Poettering
871e580949
selinux: log how much time it takes to load the SELinux policy and database
2011-07-25 21:22:57 +02:00
Lennart Poettering
41e4d6e9ac
sysctl: apply network specific sysctls to each network card as they appear
2011-07-25 20:25:49 +02:00
Lennart Poettering
8d41a963d6
machine-id: be nice and generate compliant v4 UUIDs
...
Newly generated machine IDs now qualify as randomized v4 UUIds. This is
trivial to do and hopefully increases adoption of the ID for various
purposes.
2011-07-25 19:32:43 +02:00
Kay Sievers
fb922d4f82
seat: add another 'Plugable' device id
2011-07-25 14:35:33 +02:00
Lennart Poettering
729e3769c3
systemctl: hook up new install logic
...
This adds a number of new options to systemctl, for presets, reenabling,
masking/unmask, and runtime operations.
2011-07-25 04:58:02 +02:00
Lennart Poettering
4b7a6af440
nspawn: mount a new /proc instance in the container so that we don't see the hosts' PID tree
...
This partially reverts f5c1b9eeb9
.
2011-07-23 15:54:52 +02:00
Lennart Poettering
e1ea662c33
systemctl: remove monitor command since it is mostly useless
2011-07-23 04:21:47 +02:00
Lennart Poettering
34c4b47b7f
systemctl: split --help into multiple sections
2011-07-23 04:20:22 +02:00
Lennart Poettering
253ee27a0c
manager: add log control via RT signals
2011-07-23 04:15:38 +02:00
Lennart Poettering
c0576cd6d6
bus: expose installer functions
2011-07-23 03:44:47 +02:00
Lennart Poettering
5780425ea7
login: drop unused variables
2011-07-23 01:18:20 +02:00
Lennart Poettering
4b67834e9f
util: make use of get_user_creds() and get_group_creds() wherever applicable
2011-07-23 01:17:59 +02:00
Lennart Poettering
e6a6b40679
install: don't choke on dead links
2011-07-23 00:49:32 +02:00
Lennart Poettering
3d7d60c822
uaccess: port over to using sd-login
2011-07-23 00:48:11 +02:00
Lennart Poettering
4bf2bbb6fb
lookup: fix NUL termination of search path array
2011-07-23 00:47:50 +02:00
Lennart Poettering
ddd8876392
util: user parse_uid() wherever applicable
2011-07-23 00:47:17 +02:00
Lennart Poettering
034a2a52ac
sd-login: beef up login api, to add monitoring and enumerating
2011-07-22 21:01:15 +02:00
Lennart Poettering
bccc1d8859
shutdown: untabify
2011-07-22 04:32:22 +02:00
Harald Hoyer
2006d9acb1
shutdown: initialize the controlling terminal
...
Thanks Kay Sievers!
2011-07-22 04:31:21 +02:00
Harald Hoyer
3b8a1f3fee
shutdown: remove close_nointr_nofail after make_stdio call
...
make_stdio itsselves closes the fd already
2011-07-22 04:31:21 +02:00
Lennart Poettering
f782b8d031
util: use readdir_r() instead of readdir()
2011-07-22 04:31:21 +02:00
Lennart Poettering
830964834f
install: add new installer implementation
...
This new installer will replace the current code of "systemctl enable"
but also be available via D-Bus. It adds a couple of new features:
- Mask/Unmask calls
- Reenable call
- Preset call
- Support for enabling units temporarily (i.e. in /run/systemd instead
of /etc/systemd)
- Enumeration of installed units
- Support for out-of-search-path units
systemctl and D-Bus are not hooked up with this yet
2011-07-22 04:31:21 +02:00
Lennart Poettering
09adcdf71d
systemctl: fix indenting
2011-07-22 04:31:21 +02:00
Lennart Poettering
f437d5d203
path-lookup: add both the configured and the fixed search paths in
2011-07-22 04:31:20 +02:00
Lennart Poettering
c800e48374
path-lookup: make inclusion of user private units optional
2011-07-22 04:31:20 +02:00