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