dryang / rpms / systemd

Forked from rpms/systemd a year ago
Clone
923a60
From d550b42ed66ea7e3de9d04b3d472c6c1721a2978 Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Tue, 11 Aug 2015 13:53:47 +0200
923a60
Subject: [PATCH] everything: remove traces of --user
923a60
923a60
Resolves: #1071363
923a60
---
923a60
 man/busctl.xml                        |  6 +--
923a60
 man/journalctl.xml                    | 14 ------
923a60
 man/pam_systemd.xml                   |  7 +--
923a60
 man/systemctl.xml                     | 55 ++++------------------
923a60
 man/systemd-analyze.xml               |  6 ---
923a60
 man/systemd-run.xml                   |  1 -
923a60
 man/systemd-system.conf.xml           |  5 +-
923a60
 man/systemd.device.xml                |  4 +-
923a60
 man/systemd.exec.xml                  | 17 ++-----
923a60
 man/systemd.special.xml               | 46 +------------------
923a60
 man/systemd.unit.xml                  | 66 +--------------------------
923a60
 man/systemd.xml                       | 63 ++++---------------------
923a60
 man/user-system-options.xml           |  9 ----
923a60
 shell-completion/bash/busctl          |  2 +-
923a60
 shell-completion/bash/journalctl      |  5 +-
923a60
 shell-completion/bash/systemctl.in    |  2 +-
923a60
 shell-completion/bash/systemd-analyze | 12 ++---
923a60
 shell-completion/bash/systemd-run     |  4 +-
923a60
 src/analyze/analyze.c                 |  1 -
923a60
 src/core/main.c                       |  1 -
923a60
 src/journal/journalctl.c              |  1 -
923a60
 src/libsystemd/sd-bus/busctl.c        |  1 -
923a60
 src/run/run.c                         |  1 -
923a60
 src/systemctl/systemctl.c             |  1 -
923a60
 24 files changed, 40 insertions(+), 290 deletions(-)
923a60
923a60
diff --git a/man/busctl.xml b/man/busctl.xml
923a60
index 807fc78e8f..0635280ead 100644
923a60
--- a/man/busctl.xml
923a60
+++ b/man/busctl.xml
923a60
@@ -75,9 +75,8 @@
923a60
 
923a60
           <listitem><para>Connect to the bus specified by
923a60
           <replaceable>ADDRESS</replaceable> instead of using suitable
923a60
-          defaults for either the system or user bus (see
923a60
-          <option>--system</option> and <option>--user</option>
923a60
-          options).</para></listitem>
923a60
+          defaults for the system bus (see
923a60
+          <option>--system</option> option).</para></listitem>
923a60
       </varlistentry>
923a60
 
923a60
       <varlistentry>
923a60
@@ -236,7 +235,6 @@
923a60
         </listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <xi:include href="user-system-options.xml" xpointer="user" />
923a60
       <xi:include href="user-system-options.xml" xpointer="system" />
923a60
       <xi:include href="user-system-options.xml" xpointer="host" />
923a60
       <xi:include href="user-system-options.xml" xpointer="machine" />
923a60
diff --git a/man/journalctl.xml b/man/journalctl.xml
923a60
index 08de0ff068..2764f66ed4 100644
923a60
--- a/man/journalctl.xml
923a60
+++ b/man/journalctl.xml
923a60
@@ -469,20 +469,6 @@
923a60
         </listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <varlistentry>
923a60
-        <term><option>--user-unit=</option></term>
923a60
-
923a60
-        <listitem><para>Show messages for the specified user session
923a60
-        unit. This will add a match for messages from the unit
923a60
-        (<literal>_SYSTEMD_USER_UNIT=</literal> and
923a60
-        <literal>_UID=</literal>) and additional matches for messages
923a60
-        from session systemd and messages about coredumps for the
923a60
-        specified unit.</para>
923a60
-
923a60
-        <para>This parameter can be specified multiple times.</para>
923a60
-        </listitem>
923a60
-      </varlistentry>
923a60
-
923a60
       <varlistentry>
923a60
         <term><option>-p</option></term>
923a60
         <term><option>--priority=</option></term>
923a60
diff --git a/man/pam_systemd.xml b/man/pam_systemd.xml
923a60
index b4a3f502b4..a448aed02c 100644
923a60
--- a/man/pam_systemd.xml
923a60
+++ b/man/pam_systemd.xml
923a60
@@ -78,9 +78,7 @@
923a60
       <listitem><para>A new systemd scope unit is created for the
923a60
       session. If this is the first concurrent session of the user, an
923a60
       implicit slice below <filename>user.slice</filename> is
923a60
-      automatically created and the scope placed into it. An instance
923a60
-      of the system service <filename>user@.service</filename>, which
923a60
-      runs the systemd user manager instance, is started.
923a60
+      automatically created and the scope placed into it.
923a60
       </para></listitem>
923a60
     </orderedlist>
923a60
 
923a60
@@ -91,8 +89,7 @@
923a60
       <citerefentry><refentrytitle>logind.conf</refentrytitle>
923a60
       <manvolnum>5</manvolnum></citerefentry>, all processes of the
923a60
       session are terminated. If the last concurrent session of a user
923a60
-      ends, the user's systemd instance will be terminated too, and so
923a60
-      will the user's slice unit.</para></listitem>
923a60
+      ends, the user's slice unit will be terminated too.</para></listitem>
923a60
 
923a60
       <listitem><para>If the last concurrent session of a user ends,
923a60
       the <varname>$XDG_RUNTIME_DIR</varname> directory and all its
923a60
diff --git a/man/systemctl.xml b/man/systemctl.xml
923a60
index 6b29b8cd03..c6f5842786 100644
923a60
--- a/man/systemctl.xml
923a60
+++ b/man/systemctl.xml
923a60
@@ -339,7 +339,6 @@
923a60
         </listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <xi:include href="user-system-options.xml" xpointer="user" />
923a60
       <xi:include href="user-system-options.xml" xpointer="system" />
923a60
 
923a60
       
923a60
@@ -356,17 +355,6 @@
923a60
         </listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <varlistentry>
923a60
-        <term><option>--global</option></term>
923a60
-
923a60
-        <listitem>
923a60
-          <para>When used with <command>enable</command> and
923a60
-          <command>disable</command>, operate on the global user
923a60
-          configuration directory, thus enabling or disabling a unit
923a60
-          file globally for all future logins of all users.</para>
923a60
-        </listitem>
923a60
-      </varlistentry>
923a60
-
923a60
       <varlistentry>
923a60
         <term><option>--no-reload</option></term>
923a60
 
923a60
@@ -795,9 +783,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
923a60
             lines to fit in the terminal window. This can be changes
923a60
             with <option>--lines</option> and <option>--full</option>,
923a60
             see above. In addition, <command>journalctl
923a60
-            --unit=<replaceable>NAME</replaceable></command> or
923a60
-            <command>journalctl
923a60
-            --user-unit=<replaceable>NAME</replaceable></command> use
923a60
+            --unit=<replaceable>NAME</replaceable></command> use
923a60
             a similar filter for messages and might be more
923a60
             convenient.
923a60
             </para>
923a60
@@ -973,13 +959,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
923a60
             process (in case of service units), or binds the socket (in
923a60
             case of socket units), and so on.</para>
923a60
 
923a60
-            <para>Depending on whether <option>--system</option>,
923a60
-            <option>--user</option>, <option>--runtime</option>,
923a60
-            or <option>--global</option> is specified, this enables the unit
923a60
-            for the system, for the calling user only, for only this boot of
923a60
-            the system, or for all future logins of all users, or only this
923a60
-            boot.  Note that in the last case, no systemd daemon
923a60
-            configuration is reloaded.</para>
923a60
+            <para> If <option>--runtime</option> is specified, then
923a60
+            this enables the unit only this boot. </para>
923a60
 
923a60
             <para>Using <command>enable</command> on masked units
923a60
             results in an error.</para>
923a60
@@ -1008,10 +989,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
923a60
             output may be suppressed by passing <option>--quiet</option>.
923a60
             </para>
923a60
 
923a60
-            <para>This command honors <option>--system</option>,
923a60
-            <option>--user</option>, <option>--runtime</option> and
923a60
-            <option>--global</option> in a similar way as
923a60
-            <command>enable</command>.</para>
923a60
+            <para>This command honors <option>--runtime</option>
923a60
+            in a similar way as <command>enable</command>.</para>
923a60
           </listitem>
923a60
         </varlistentry>
923a60
 
923a60
@@ -1188,10 +1167,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
923a60
             dependency to the specified <replaceable>TARGET</replaceable> for
923a60
             one or more units. </para>
923a60
 
923a60
-            <para>This command honors <option>--system</option>,
923a60
-            <option>--user</option>, <option>--runtime</option> and
923a60
-            <option>--global</option> in a similar way as
923a60
-            <command>enable</command>.</para>
923a60
+            <para>This command honors <option>--runtime</option>
923a60
+            in a similar way as <command>enable</command>.</para>
923a60
 
923a60
           </listitem>
923a60
         </varlistentry>
923a60
@@ -1204,11 +1181,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
923a60
             <option>--full</option> is specified, to extend or override the
923a60
             specified unit.</para>
923a60
 
923a60
-            <para>Depending on whether <option>--system</option> (the default),
923a60
-            <option>--user</option>, or <option>--global</option> is specified,
923a60
-            this creates a drop-in file for each unit either for the system,
923a60
-            for the calling user or for all futures logins of all users. Then,
923a60
-            the editor (see the "Environment" section below) is invoked on
923a60
+            <para>This creates a drop-in file for a unit.
923a60
+            Then, the editor (see the "Environment" section below) is invoked on
923a60
             temporary files which will be written to the real location if the
923a60
             editor exits successfully.</para>
923a60
 
923a60
@@ -1596,17 +1570,6 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
923a60
           </listitem>
923a60
         </varlistentry>
923a60
 
923a60
-        <varlistentry>
923a60
-          <term><command>exit</command></term>
923a60
-
923a60
-          <listitem>
923a60
-            <para>Ask the systemd manager to quit. This is only
923a60
-            supported for user service managers (i.e. in conjunction
923a60
-            with the <option>--user</option> option) and will fail
923a60
-            otherwise.</para>
923a60
-          </listitem>
923a60
-        </varlistentry>
923a60
-
923a60
         <varlistentry>
923a60
           <term><command>switch-root <replaceable>ROOT</replaceable> <optional><replaceable>INIT</replaceable></optional></command></term>
923a60
 
923a60
diff --git a/man/systemd-analyze.xml b/man/systemd-analyze.xml
923a60
index 198315052f..b2e0f42d50 100644
923a60
--- a/man/systemd-analyze.xml
923a60
+++ b/man/systemd-analyze.xml
923a60
@@ -188,12 +188,6 @@
923a60
     <para>The following options are understood:</para>
923a60
 
923a60
     <variablelist>
923a60
-      <varlistentry>
923a60
-        <term><option>--user</option></term>
923a60
-
923a60
-        <listitem><para>Operates on the user systemd
923a60
-        instance.</para></listitem>
923a60
-      </varlistentry>
923a60
 
923a60
       <varlistentry>
923a60
         <term><option>--system</option></term>
923a60
diff --git a/man/systemd-run.xml b/man/systemd-run.xml
923a60
index febcdb0262..f46fc3abf4 100644
923a60
--- a/man/systemd-run.xml
923a60
+++ b/man/systemd-run.xml
923a60
@@ -294,7 +294,6 @@
923a60
         <command>set-property</command> command.</para> </listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <xi:include href="user-system-options.xml" xpointer="user" />
923a60
       <xi:include href="user-system-options.xml" xpointer="system" />
923a60
       <xi:include href="user-system-options.xml" xpointer="host" />
923a60
       <xi:include href="user-system-options.xml" xpointer="machine" />
923a60
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
923a60
index 1b74ed38f7..ca25c93a1f 100644
923a60
--- a/man/systemd-system.conf.xml
923a60
+++ b/man/systemd-system.conf.xml
923a60
@@ -66,10 +66,7 @@
923a60
 
923a60
     <para>When run as a system instance, systemd interprets the
923a60
     configuration file <filename>system.conf</filename> and the files
923a60
-    in <filename>system.conf.d</filename> directories; when run as a
923a60
-    user instance, systemd interprets the configuration file
923a60
-    <filename>user.conf</filename> and the files in
923a60
-    <filename>user.conf.d</filename> directories. These configuration
923a60
+    in <filename>system.conf.d</filename> directories.  These configuration
923a60
     files contain a few settings controlling basic manager
923a60
     operations.</para>
923a60
   </refsect1>
923a60
diff --git a/man/systemd.device.xml b/man/systemd.device.xml
923a60
index ac6deafb18..d6b6a7ce45 100644
923a60
--- a/man/systemd.device.xml
923a60
+++ b/man/systemd.device.xml
923a60
@@ -97,11 +97,9 @@
923a60
     <variablelist class='udev-directives'>
923a60
       <varlistentry>
923a60
         <term><varname>SYSTEMD_WANTS=</varname></term>
923a60
-        <term><varname>SYSTEMD_USER_WANTS=</varname></term>
923a60
         <listitem><para>Adds dependencies of type
923a60
         <varname>Wants</varname> from the device unit to all listed
923a60
-        units. The first form is used by the system systemd instance,
923a60
-        the second by user systemd instances. Those settings may be
923a60
+        units. This settings may be
923a60
         used to activate arbitrary units when a specific device
923a60
         becomes available.</para>
923a60
 
923a60
diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml
923a60
index 5b93aa71ef..6af7c7ae5d 100644
923a60
--- a/man/systemd.exec.xml
923a60
+++ b/man/systemd.exec.xml
923a60
@@ -1148,9 +1148,7 @@
923a60
 
923a60
     <para>Processes started by the system are executed in a clean
923a60
     environment in which select variables listed below are set. System
923a60
-    processes started by systemd do not inherit variables from PID 1,
923a60
-    but processes started by user systemd instances inherit all
923a60
-    environment variables from the user systemd instance.
923a60
+    processes started by systemd do not inherit variables from PID 1.
923a60
     </para>
923a60
 
923a60
     <variablelist class='environment-variables'>
923a60
@@ -1183,8 +1181,7 @@
923a60
 
923a60
         <listitem><para>User name (twice), home directory, and the
923a60
         login shell. The variables are set for the units that have
923a60
-        <varname>User=</varname> set, which includes user
923a60
-        <command>systemd</command> instances. See
923a60
+        <varname>User=</varname> set. See
923a60
         <citerefentry project='die-net'><refentrytitle>passwd</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
923a60
         </para></listitem>
923a60
       </varlistentry>
923a60
@@ -1192,8 +1189,7 @@
923a60
       <varlistentry>
923a60
         <term><varname>$XDG_RUNTIME_DIR</varname></term>
923a60
 
923a60
-        <listitem><para>The directory for volatile state. Set for the
923a60
-        user <command>systemd</command> instance, and also in user
923a60
+        <listitem><para>The directory for volatile state. Set  in user
923a60
         sessions. See
923a60
         <citerefentry><refentrytitle>pam_systemd</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
923a60
         </para></listitem>
923a60
@@ -1220,13 +1216,6 @@
923a60
         <varname>ExecReload=</varname> and similar. </para></listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <varlistentry>
923a60
-        <term><varname>$MANAGERPID</varname></term>
923a60
-
923a60
-        <listitem><para>The PID of the user <command>systemd</command>
923a60
-        instance, set for processes spawned by it. </para></listitem>
923a60
-      </varlistentry>
923a60
-
923a60
       <varlistentry>
923a60
         <term><varname>$LISTEN_FDS</varname></term>
923a60
         <term><varname>$LISTEN_PID</varname></term>
923a60
diff --git a/man/systemd.special.xml b/man/systemd.special.xml
923a60
index cf76aaf607..553197d66e 100644
923a60
--- a/man/systemd.special.xml
923a60
+++ b/man/systemd.special.xml
923a60
@@ -772,47 +772,6 @@
923a60
     </variablelist>
923a60
   </refsect1>
923a60
 
923a60
-  <refsect1>
923a60
-    <title>Special User Units</title>
923a60
-
923a60
-    <para>When systemd runs as a user instance, the following special
923a60
-    units are available, which have similar definitions as their
923a60
-    system counterparts:
923a60
-    <filename>default.target</filename>,
923a60
-    <filename>shutdown.target</filename>,
923a60
-    <filename>sockets.target</filename>,
923a60
-    <filename>timers.target</filename>,
923a60
-    <filename>paths.target</filename>,
923a60
-    <filename>bluetooth.target</filename>,
923a60
-    <filename>printer.target</filename>,
923a60
-    <filename>smartcard.target</filename>,
923a60
-    <filename>sound.target</filename>.</para>
923a60
-
923a60
-    <para>In addition, the following special unit is understood only
923a60
-    when systemd runs as service instance:</para>
923a60
-
923a60
-    <variablelist>
923a60
-      <varlistentry>
923a60
-        <term><filename>exit.target</filename></term>
923a60
-        <listitem>
923a60
-          <para>A special service unit for shutting down the user
923a60
-          service manager.</para>
923a60
-
923a60
-          <para>Applications wanting to terminate the user service
923a60
-          manager should start this unit. If systemd receives
923a60
-          <constant>SIGTERM</constant> or <constant>SIGINT</constant>
923a60
-          when running as user service daemon, it will start this
923a60
-          unit.</para>
923a60
-
923a60
-          <para>Normally, this pulls in
923a60
-          <filename>shutdown.target</filename> which in turn should be
923a60
-          conflicted by all units that want to be shut down on user
923a60
-          service manager exit.</para>
923a60
-        </listitem>
923a60
-      </varlistentry>
923a60
-    </variablelist>
923a60
-  </refsect1>
923a60
-
923a60
   <refsect1>
923a60
     <title>Special Slice Units</title>
923a60
 
923a60
@@ -841,9 +800,8 @@
923a60
       <varlistentry>
923a60
         <term><filename>user.slice</filename></term>
923a60
         <listitem>
923a60
-          <para>By default, all user processes and services started on
923a60
-          behalf of the user, including the per-user systemd instance
923a60
-          are found in this slice.</para>
923a60
+          <para>By default, all user processes started on
923a60
+          behalf of the user are found in this slice.</para>
923a60
         </listitem>
923a60
       </varlistentry>
923a60
 
923a60
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
923a60
index c2e374a94e..414749bae9 100644
923a60
--- a/man/systemd.unit.xml
923a60
+++ b/man/systemd.unit.xml
923a60
@@ -263,14 +263,6 @@
923a60
     in directories listed earlier override files with the same name in
923a60
     directories lower in the list.</para>
923a60
 
923a60
-    <para>When systemd is running in user mode
923a60
-    (<option>--user</option>) and the variable
923a60
-    <varname>$SYSTEMD_UNIT_PATH</varname> is set, the contents of this
923a60
-    variable overrides the unit load path. If
923a60
-    <varname>$SYSTEMD_UNIT_PATH</varname> ends with an empty component
923a60
-    (<literal>:</literal>), the usual unit load path will be appended
923a60
-    to the contents of the variable.</para>
923a60
-
923a60
     
923a60
       <title>
923a60
         Load path when running in system mode (<option>--system</option>).
923a60
@@ -302,57 +294,6 @@
923a60
       </tgroup>
923a60
     
923a60
 
923a60
-    
923a60
-      <title>
923a60
-        Load path when running in user mode (<option>--user</option>).
923a60
-      </title>
923a60
-
923a60
-      <tgroup cols='2'>
923a60
-        <colspec colname='path' />
923a60
-        <colspec colname='expl' />
923a60
-        
923a60
-          <row>
923a60
-      <entry>Path</entry>
923a60
-      <entry>Description</entry>
923a60
-          </row>
923a60
-        
923a60
-        
923a60
-          <row>
923a60
-      <entry><filename>$XDG_CONFIG_HOME/systemd/user</filename></entry>
923a60
-      <entry>User configuration (only used when $XDG_CONFIG_HOME is set)</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>$HOME/.config/systemd/user</filename></entry>
923a60
-      <entry>User configuration (only used when $XDG_CONFIG_HOME is not set)</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>/etc/systemd/user</filename></entry>
923a60
-      <entry>Local configuration</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>$XDG_RUNTIME_DIR/systemd/user</filename></entry>
923a60
-      <entry>Runtime units (only used when $XDG_RUNTIME_DIR is set)</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>/run/systemd/user</filename></entry>
923a60
-      <entry>Runtime units</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>$XDG_DATA_HOME/systemd/user</filename></entry>
923a60
-      <entry>Units of packages that have been installed in the home directory (only used when $XDG_DATA_HOME is set)</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>$HOME/.local/share/systemd/user</filename></entry>
923a60
-      <entry>Units of packages that have been installed in the home directory (only used when $XDG_DATA_HOME is not set)</entry>
923a60
-          </row>
923a60
-          <row>
923a60
-      <entry><filename>/usr/lib/systemd/user</filename></entry>
923a60
-      <entry>Units of packages that have been installed system-wide</entry>
923a60
-          </row>
923a60
-        
923a60
-      </tgroup>
923a60
-    
923a60
-
923a60
     <para>Additional units might be loaded into systemd ("linked")
923a60
     from directories not on the unit load path. See the
923a60
     <command>link</command> command for
923a60
@@ -1271,8 +1212,7 @@
923a60
     when systemd is running in system mode. PID 1 cannot query the
923a60
     user account database for information, so the specifiers only work
923a60
     as shortcuts for things which are already specified in a different
923a60
-    way in the unit file. They are fully functional when systemd is
923a60
-    running in <option>--user</option> mode.</para>
923a60
+    way in the unit file.</para>
923a60
   </refsect1>
923a60
 
923a60
   <refsect1>
923a60
@@ -1338,10 +1278,6 @@ ExecStart=/usr/sbin/foo-daemon
923a60
       to first clear the list before re-adding all entries except the
923a60
       one that is to be removed. See below for an example.</para>
923a60
 
923a60
-      <para>This also applies for user instances of systemd, but with
923a60
-      different locations for the unit files. See the section on unit
923a60
-      load paths for further details.</para>
923a60
-
923a60
       <para>Suppose there is a vendor-supplied unit
923a60
       <filename>/usr/lib/systemd/system/httpd.service</filename> with
923a60
       the following contents:</para>
923a60
diff --git a/man/systemd.xml b/man/systemd.xml
923a60
index d006b0bb99..eb289f03b7 100644
923a60
--- a/man/systemd.xml
923a60
+++ b/man/systemd.xml
923a60
@@ -77,10 +77,7 @@
923a60
 
923a60
     <para>When run as a system instance, systemd interprets the
923a60
     configuration file <filename>system.conf</filename> and the files
923a60
-    in <filename>system.conf.d</filename> directories; when run as a
923a60
-    user instance, systemd interprets the configuration file
923a60
-    <filename>user.conf</filename> and the files in
923a60
-    <filename>user.conf.d</filename> directories. See
923a60
+    in <filename>system.conf.d</filename> directories. See
923a60
     <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
923a60
     for more information.</para>
923a60
   </refsect1>
923a60
@@ -113,15 +110,12 @@
923a60
       </varlistentry>
923a60
       <varlistentry>
923a60
         <term><option>--system</option></term>
923a60
-        <term><option>--user</option></term>
923a60
 
923a60
-        <listitem><para>For <option>--system</option>, tell systemd to
923a60
+        <listitem><para><option>--system</option>, tell systemd to
923a60
         run a system instance, even if the process ID is not 1, i.e.
923a60
-        systemd is not run as init process. <option>--user</option>
923a60
-        does the opposite, running a user instance even if the process
923a60
-        ID is 1. Normally it should not be necessary to pass these
923a60
+        systemd is not run as init process. Normally it should not be necessary to pass this
923a60
         options, as systemd automatically detects the mode it is
923a60
-        started in. These options are hence of little use except for
923a60
+        started in. This option is hence of little use except for
923a60
         debugging. Note that it is not supported booting and
923a60
         maintaining a full system with systemd running in
923a60
         <option>--system</option> mode, but PID not 1. In practice,
923a60
@@ -131,29 +125,25 @@
923a60
       <varlistentry>
923a60
         <term><option>--dump-core</option></term>
923a60
 
923a60
-        <listitem><para>Dump core on crash. This switch has no effect
923a60
-        when run as user instance.</para></listitem>
923a60
+        <listitem><para>Dump core on crash.</para></listitem>
923a60
       </varlistentry>
923a60
       <varlistentry>
923a60
         <term><option>--crash-shell</option></term>
923a60
 
923a60
         <listitem><para>Run shell on
923a60
-        crash. This switch has no effect when
923a60
-        run as user
923a60
-        instance.</para></listitem>
923a60
+        crash.</para></listitem>
923a60
       </varlistentry>
923a60
       <varlistentry>
923a60
         <term><option>--confirm-spawn</option></term>
923a60
 
923a60
         <listitem><para>Ask for confirmation when spawning processes.
923a60
-        This switch has no effect when run as user
923a60
-        instance.</para></listitem>
923a60
+        </para></listitem>
923a60
       </varlistentry>
923a60
       <varlistentry>
923a60
         <term><option>--show-status=</option></term>
923a60
 
923a60
         <listitem><para>Show terse service status information while
923a60
-        booting. This switch has no effect when run as user instance.
923a60
+        booting.
923a60
         Takes a boolean argument which may be omitted which is
923a60
         interpreted as <option>true</option>.</para></listitem>
923a60
       </varlistentry>
923a60
@@ -452,30 +442,6 @@
923a60
       </varlistentry>
923a60
     </variablelist>
923a60
 
923a60
-    <variablelist>
923a60
-      <varlistentry>
923a60
-        <term>User unit directories</term>
923a60
-
923a60
-        <listitem><para>Similar rules apply for the user unit
923a60
-        directories. However, here the
923a60
-        <ulink url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
923a60
-        Base Directory specification</ulink> is followed to find
923a60
-        units. Applications should place their unit files in the
923a60
-        directory returned by <command>pkg-config systemd
923a60
-        --variable=systemduserunitdir</command>. Global configuration
923a60
-        is done in the directory reported by <command>pkg-config
923a60
-        systemd --variable=systemduserconfdir</command>. The
923a60
-        <command>enable</command> and <command>disable</command>
923a60
-        commands of the
923a60
-        <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
923a60
-        tool can handle both global (i.e. for all users) and private
923a60
-        (for one user) enabling/disabling of units. Full list of
923a60
-        directories is provided in
923a60
-        <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
923a60
-        </para></listitem>
923a60
-      </varlistentry>
923a60
-    </variablelist>
923a60
-
923a60
     <variablelist>
923a60
       <varlistentry>
923a60
         <term>SysV init scripts directory</term>
923a60
@@ -514,11 +480,7 @@
923a60
         manager serializes its state, reexecutes itself and
923a60
         deserializes the saved state again. This is mostly equivalent
923a60
         to <command>systemctl daemon-reexec</command>.</para>
923a60
-
923a60
-        <para>systemd user managers will start the
923a60
-        <filename>exit.target</filename> unit when this signal is
923a60
-        received. This is mostly equivalent to <command>systemctl
923a60
-        --user start exit.target</command>.</para></listitem>
923a60
+        </listitem>
923a60
       </varlistentry>
923a60
 
923a60
       <varlistentry>
923a60
@@ -706,13 +668,6 @@
923a60
         line.</para></listitem>
923a60
       </varlistentry>
923a60
 
923a60
-      <varlistentry>
923a60
-        <term><constant>SIGRTMIN+24</constant></term>
923a60
-
923a60
-        <listitem><para>Immediately exits the manager (only available
923a60
-        for --user instances).</para></listitem>
923a60
-      </varlistentry>
923a60
-
923a60
       <varlistentry>
923a60
         <term><constant>SIGRTMIN+26</constant></term>
923a60
         <term><constant>SIGRTMIN+27</constant></term>
923a60
diff --git a/man/user-system-options.xml b/man/user-system-options.xml
923a60
index 8616c54249..ae911a975e 100644
923a60
--- a/man/user-system-options.xml
923a60
+++ b/man/user-system-options.xml
923a60
@@ -3,15 +3,6 @@
923a60
           "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
923a60
 
923a60
 <variablelist>
923a60
-  <varlistentry id='user'>
923a60
-    <term><option>--user</option></term>
923a60
-
923a60
-    <listitem id='user-text'>
923a60
-      <para>Talk to the service manager of the calling user,
923a60
-      rather than the service manager of the system.</para>
923a60
-    </listitem>
923a60
-  </varlistentry>
923a60
-
923a60
   <varlistentry id='system'>
923a60
     <term><option>--system</option></term>
923a60
 
923a60
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
923a60
index 6a770b1b84..027dfdf678 100644
923a60
--- a/shell-completion/bash/busctl
923a60
+++ b/shell-completion/bash/busctl
923a60
@@ -75,7 +75,7 @@ _busctl() {
923a60
         local i verb comps mode
923a60
         local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
923a60
         local -A OPTS=(
923a60
-               [STANDALONE]='-h --help --version --no-pager --no-legend --system --user
923a60
+               [STANDALONE]='-h --help --version --no-pager --no-legend --system
923a60
                              --show-machine --unique --acquired --activatable --list
923a60
                              --quiet --verbose --expect-reply=no --auto-start=no
923a60
                              --allow-interactive-authorization=yes --augment-creds=no'
923a60
diff --git a/shell-completion/bash/journalctl b/shell-completion/bash/journalctl
923a60
index 1387524a85..91cb369ecd 100644
923a60
--- a/shell-completion/bash/journalctl
923a60
+++ b/shell-completion/bash/journalctl
923a60
@@ -49,7 +49,7 @@ _journalctl() {
923a60
                               --utc -x --catalog --no-full --force --dump-catalog
923a60
                               --flush'
923a60
                        [ARG]='-b --boot --this-boot -D --directory --file -F --field
923a60
-                              -o --output -u --unit --user-unit -p --priority'
923a60
+                              -o --output -u --unit -p --priority'
923a60
                 [ARGUNKNOWN]='-c --cursor --interval -n --lines --since --until
923a60
                               --after-cursor --verify-key --identifier
923a60
                               --root --machine'
923a60
@@ -80,9 +80,6 @@ _journalctl() {
923a60
                         --unit|-u)
923a60
                                 comps=$(journalctl -F '_SYSTEMD_UNIT' 2>/dev/null)
923a60
                         ;;
923a60
-                        --user-unit)
923a60
-                                comps=$(journalctl -F '_SYSTEMD_USER_UNIT' 2>/dev/null)
923a60
-                        ;;
923a60
                         *)
923a60
                                 return 0
923a60
                         ;;
923a60
diff --git a/shell-completion/bash/systemctl.in b/shell-completion/bash/systemctl.in
923a60
index 496c756a43..0a022c4cf4 100644
923a60
--- a/shell-completion/bash/systemctl.in
923a60
+++ b/shell-completion/bash/systemctl.in
923a60
@@ -92,7 +92,7 @@ _systemctl () {
923a60
         local -A OPTS=(
923a60
                [STANDALONE]='--all -a --reverse --after --before --defaults --fail --ignore-dependencies --failed --force -f --full -l --global
923a60
                              --help -h --no-ask-password --no-block --no-legend --no-pager --no-reload --no-wall
923a60
-                             --quiet -q --privileged -P --system --user --version --runtime --recursive -r'
923a60
+                             --quiet -q --privileged -P --system --version --runtime --recursive -r'
923a60
                       [ARG]='--host -H --kill-who --property -p --signal -s --type -t --state --root'
923a60
         )
923a60
 
923a60
diff --git a/shell-completion/bash/systemd-analyze b/shell-completion/bash/systemd-analyze
923a60
index 00947029c6..1c4fe40174 100644
923a60
--- a/shell-completion/bash/systemd-analyze
923a60
+++ b/shell-completion/bash/systemd-analyze
923a60
@@ -35,7 +35,7 @@ _systemd_analyze() {
923a60
         local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
923a60
 
923a60
         local -A OPTS=(
923a60
-               [STANDALONE]='--help --version --system --user --from-pattern --to-pattern --order --require --no-pager'
923a60
+               [STANDALONE]='--help --version --system --from-pattern --to-pattern --order --require --no-pager'
923a60
                       [ARG]='-H --host -M --machine --fuzz --man'
923a60
         )
923a60
 
923a60
@@ -80,29 +80,29 @@ _systemd_analyze() {
923a60
 
923a60
         elif __contains_word "$verb" ${VERBS[STANDALONE]}; then
923a60
                 if [[ $cur = -* ]]; then
923a60
-                        comps='--help --version --system --user'
923a60
+                        comps='--help --version --system '
923a60
                 fi
923a60
 
923a60
         elif __contains_word "$verb" ${VERBS[CRITICAL_CHAIN]}; then
923a60
                 if [[ $cur = -* ]]; then
923a60
-                        comps='--help --version --system --user --fuzz'
923a60
+                        comps='--help --version --system --fuzz'
923a60
                 fi
923a60
 
923a60
         elif __contains_word "$verb" ${VERBS[DOT]}; then
923a60
                 if [[ $cur = -* ]]; then
923a60
-                        comps='--help --version --system --user --from-pattern --to-pattern --order --require'
923a60
+                        comps='--help --version --system --from-pattern --to-pattern --order --require'
923a60
                 fi
923a60
 
923a60
         elif __contains_word "$verb" ${VERBS[LOG_LEVEL]}; then
923a60
                 if [[ $cur = -* ]]; then
923a60
-                        comps='--help --version --system --user'
923a60
+                        comps='--help --version --system'
923a60
                 else
923a60
                         comps='debug info notice warning err crit alert emerg'
923a60
                 fi
923a60
 
923a60
         elif __contains_word "$verb" ${VERBS[VERIFY]}; then
923a60
                 if [[ $cur = -* ]]; then
923a60
-                        comps='--help --version --system --user --no-man'
923a60
+                        comps='--help --version --system --no-man'
923a60
                 else
923a60
                         comps=$( compgen -A file -- "$cur" )
923a60
                         compopt -o filenames
923a60
diff --git a/shell-completion/bash/systemd-run b/shell-completion/bash/systemd-run
923a60
index 712655caf4..5145cd3f29 100644
923a60
--- a/shell-completion/bash/systemd-run
923a60
+++ b/shell-completion/bash/systemd-run
923a60
@@ -32,7 +32,7 @@ __get_machines() {
923a60
 
923a60
 _systemd_run() {
923a60
     local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
923a60
-    local OPTS='-h --help --version --user --system --scope --unit --description --slice
923a60
+    local OPTS='-h --help --version --system --scope --unit --description --slice
923a60
                 -r --remain-after-exit --send-sighup -H --host -M --machine --service-type
923a60
                 --uid --gid --nice --setenv -p --property'
923a60
 
923a60
@@ -45,8 +45,6 @@ _systemd_run() {
923a60
             return
923a60
         fi
923a60
 
923a60
-        [[ ${COMP_WORDS[i]} == "--user" ]] && mode=--user
923a60
-
923a60
         [[ $i -lt $COMP_CWORD && ${COMP_WORDS[i]} == @(--unit|--description|--slice|--service-type|-H|--host|-M|--machine|-p|--property) ]] && ((i++))
923a60
     done
923a60
 
923a60
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
923a60
index 591b4ab14e..ff84f6894f 100644
923a60
--- a/src/analyze/analyze.c
923a60
+++ b/src/analyze/analyze.c
923a60
@@ -1170,7 +1170,6 @@ static void help(void) {
923a60
                "     --version            Show package version\n"
923a60
                "     --no-pager           Do not pipe output into a pager\n"
923a60
                "     --system             Operate on system systemd instance\n"
923a60
-               "     --user               Operate on user systemd instance\n"
923a60
                "  -H --host=[USER@]HOST   Operate on remote host\n"
923a60
                "  -M --machine=CONTAINER  Operate on local container\n"
923a60
                "     --order              Show only order in the graph\n"
923a60
diff --git a/src/core/main.c b/src/core/main.c
923a60
index 1c8d67dac2..2aec40b0bb 100644
923a60
--- a/src/core/main.c
923a60
+++ b/src/core/main.c
923a60
@@ -956,7 +956,6 @@ static int help(void) {
923a60
                "     --dump-configuration-items  Dump understood unit configuration items\n"
923a60
                "     --unit=UNIT                 Set default unit\n"
923a60
                "     --system                    Run a system instance, even if PID != 1\n"
923a60
-               "     --user                      Run a user instance\n"
923a60
                "     --dump-core[=0|1]           Dump core on crash\n"
923a60
                "     --crash-shell[=0|1]         Run shell on crash\n"
923a60
                "     --confirm-spawn[=0|1]       Ask for confirmation when spawning processes\n"
923a60
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
923a60
index c26cc00f51..8236d0810b 100644
923a60
--- a/src/journal/journalctl.c
923a60
+++ b/src/journal/journalctl.c
923a60
@@ -204,7 +204,6 @@ static void help(void) {
923a60
                "     --list-boots          Show terse information about recorded boots\n"
923a60
                "  -k --dmesg               Show kernel message log from the current boot\n"
923a60
                "  -u --unit=UNIT           Show logs from the specified unit\n"
923a60
-               "     --user-unit=UNIT      Show logs from the specified user unit\n"
923a60
                "  -t --identifier=STRING   Show entries with the specified syslog identifier\n"
923a60
                "  -p --priority=RANGE      Show entries with the specified priority\n"
923a60
                "  -e --pager-end           Immediately jump to the end in the pager\n"
923a60
diff --git a/src/libsystemd/sd-bus/busctl.c b/src/libsystemd/sd-bus/busctl.c
923a60
index d3c1772019..bffbf4a0ef 100644
923a60
--- a/src/libsystemd/sd-bus/busctl.c
923a60
+++ b/src/libsystemd/sd-bus/busctl.c
923a60
@@ -1688,7 +1688,6 @@ static int help(void) {
923a60
                "     --no-pager           Do not pipe output into a pager\n"
923a60
                "     --no-legend          Do not show the headers and footers\n"
923a60
                "     --system             Connect to system bus\n"
923a60
-               "     --user               Connect to user bus\n"
923a60
                "  -H --host=[USER@]HOST   Operate on remote host\n"
923a60
                "  -M --machine=CONTAINER  Operate on local container\n"
923a60
                "     --address=ADDRESS    Connect to bus specified by address\n"
923a60
diff --git a/src/run/run.c b/src/run/run.c
923a60
index 0661b3bee9..0e5bde23d2 100644
923a60
--- a/src/run/run.c
923a60
+++ b/src/run/run.c
923a60
@@ -68,7 +68,6 @@ static void help(void) {
923a60
                "specified with --unit option then command can be ommited.\n\n"
923a60
                "  -h --help                       Show this help\n"
923a60
                "     --version                    Show package version\n"
923a60
-               "     --user                       Run as user unit\n"
923a60
                "  -H --host=[USER@]HOST           Operate on remote host\n"
923a60
                "  -M --machine=CONTAINER          Operate on local container\n"
923a60
                "     --scope                      Run this as scope rather than service\n"
923a60
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
923a60
index 9898694d75..89d0b3b399 100644
923a60
--- a/src/systemctl/systemctl.c
923a60
+++ b/src/systemctl/systemctl.c
923a60
@@ -6050,7 +6050,6 @@ static void systemctl_help(void) {
923a60
                "  -h --help           Show this help\n"
923a60
                "     --version        Show package version\n"
923a60
                "     --system         Connect to system manager\n"
923a60
-               "     --user           Connect to user service manager\n"
923a60
                "  -H --host=[USER@]HOST\n"
923a60
                "                      Operate on remote host\n"
923a60
                "  -M --machine=CONTAINER\n"