daandemeyer / rpms / systemd

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