]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #1034 from poettering/resolved-fixes-2
authorDaniel Mack <github@zonque.org>
Tue, 25 Aug 2015 21:47:30 +0000 (23:47 +0200)
committerDaniel Mack <github@zonque.org>
Tue, 25 Aug 2015 21:47:30 +0000 (23:47 +0200)
various resolved fixes

man/systemd.exec.xml
src/core/dbus-execute.c
src/machine/org.freedesktop.machine1.policy.in
src/shared/bus-util.c

index cb11199ad3f4c38952a157718a420a5e0e7118b4..763394864583e70cf8155da090ed8658557ec4ae 100644 (file)
          effect unless <varname>UtmpIdentifier=</varname> is set
          too. If <literal>init</literal> is set, only an
          <constant>INIT_PROCESS</constant> entry is generated and the
-         invoked process must implement a <command>getty</command>
-         compatible utmp/wtmp logic. If <literal>login</literal> is
-         set, first an <constant>INIT_PROCESS</constant> entry,
-         followed by an <constant>LOGIN_PROCESS</constant> entry is
-         generated. In this case the invoked process must implement a
-         <citerefentry
+         invoked process must implement a
+         <command>getty</command>-compatible utmp/wtmp logic. If
+         <literal>login</literal> is set, first an
+         <constant>INIT_PROCESS</constant> entry, followed by an
+         <constant>LOGIN_PROCESS</constant> entry is generated. In
+         this case the invoked process must implement a <citerefentry
          project='die-net'><refentrytitle>login</refentrytitle><manvolnum>1</manvolnum></citerefentry>-compatible
          utmp/wtmp logic. If <literal>user</literal> is set, first an
          <constant>INIT_PROCESS</constant> entry, then a
index b60025c48a7488220afbb0f087ee99badf9dc455..3c98a0b18626145ae7bd2dd3dddf616121212360 100644 (file)
@@ -965,7 +965,6 @@ int bus_exec_context_set_transient_property(
 
                 return 1;
 
-
         } else if (streq(name, "TTYReset")) {
                 int b;
 
index 6e35c5c04545e9459356b49571ed9a1440db317a..69f78a5c2505e9737d9667e60af6bb156547ffc3 100644 (file)
@@ -60,7 +60,7 @@
 
         <action id="org.freedesktop.machine1.open-pty">
                 <_description>Acquire a pseudo TTY in a local container</_description>
-                <_message>Authentication is acquire a pseudo TTY in a local container.</_message>
+                <_message>Authentication is required to acquire a pseudo TTY in a local container.</_message>
                 <defaults>
                         <allow_any>auth_admin</allow_any>
                         <allow_inactive>auth_admin</allow_inactive>
@@ -70,7 +70,7 @@
 
         <action id="org.freedesktop.machine1.host-open-pty">
                 <_description>Acquire a pseudo TTY on the local host</_description>
-                <_message>Authentication is acquire a pseudo TTY on the local host.</_message>
+                <_message>Authentication is required to acquire a pseudo TTY on the local host.</_message>
                 <defaults>
                         <allow_any>auth_admin</allow_any>
                         <allow_inactive>auth_admin</allow_inactive>
index 0df0594ea3ec42c52285ed7893ea00a4696c17d9..1bcb8903f38ade5c071dfe497ae9dcafa5bf6205 100644 (file)
@@ -1382,7 +1382,8 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
 
         if (STR_IN_SET(field,
                        "CPUAccounting", "MemoryAccounting", "BlockIOAccounting",
-                       "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies")) {
+                       "SendSIGHUP", "SendSIGKILL", "WakeSystem", "DefaultDependencies",
+                       "IgnoreSIGPIPE", "TTYVHangup", "TTYReset", "RemainAfterExit")) {
 
                 r = parse_boolean(eq);
                 if (r < 0) {
@@ -1414,7 +1415,11 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
 
                 r = sd_bus_message_append(m, "v", "t", u);
 
-        } else if (STR_IN_SET(field, "User", "Group", "DevicePolicy", "KillMode"))
+        } else if (STR_IN_SET(field,
+                              "User", "Group", "DevicePolicy", "KillMode",
+                              "UtmpIdentifier", "UtmpMode", "PAMName", "TTYPath",
+                              "StandardInput", "StandardOutput", "StandardError",
+                              "Description", "Slice", "Type"))
                 r = sd_bus_message_append(m, "v", "s", eq);
 
         else if (streq(field, "DeviceAllow")) {