Marcus Meissner
28dd57258d
- Update to release 204: + systemd-nspawn creates etc/resolv.conf in container if needed. + systemd-nspawn will store metadata about container in container cgroup including its root directory. + cgroup hierarchy has been reworked, all objects are now suffxed (with .session for user sessions, .user for users, .nspawn for containers). All cgroup names are now escaped to preven collision of object names. + systemctl list-dependencies gained --plain, --reverse, --after and --before switches. + systemd-inhibit shows processes name taking inhibitor lock. + nss-myhostname will now resolve "localhost" implicitly. + .include is not allowed recursively anymore and only in unit files. Drop-in files should be favored in most cases. + systemd-analyze gained "critical-chain" command, to get slowest chain of units run during boot-up. + systemd-nspawn@.service has been added to easily run nspawn container for system services. Just start "systemd-nspawn@foobar.service" and container from /var/lib/container/foobar" will be booted. + systemd-cgls has new --machine parameter to list processes from one container. + ConditionSecurity= can now check for apparmor and SMACK. + /etc/systemd/sleep.conf has been introduced to configure which kernel operation will be execute when "suspend", "hibernate" or "hybrid-sleep" is requrested. It allow new kernel "freeze" state to be used too. (This setting won't have any effect if pm-utils is installed). + ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape passed argument if applicable. OBS-URL: https://build.opensuse.org/request/show/176957 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=388
28 lines
765 B
Diff
28 lines
765 B
Diff
From 9541fe6adff9941e487084c718ff2d46ed2929c6 Mon Sep 17 00:00:00 2001
|
|
From: Auke Kok <auke-jan.h.kok@intel.com>
|
|
Date: Thu, 9 May 2013 09:39:15 -0700
|
|
Subject: [PATCH] systemctl does not expand %u, so revert back to %I
|
|
|
|
The description field is only displayed by systemctl, and
|
|
it can't expand %u properly (it will always display "root").
|
|
---
|
|
units/user@.service.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/units/user@.service.in b/units/user@.service.in
|
|
index 3cf1347..ece671d 100644
|
|
--- a/units/user@.service.in
|
|
+++ b/units/user@.service.in
|
|
@@ -6,7 +6,7 @@
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
-Description=User Manager for %u
|
|
+Description=User Manager for %I
|
|
After=systemd-user-sessions.service
|
|
|
|
[Service]
|
|
--
|
|
1.8.1.4
|
|
|