Suggested by Zbyszek on IRC.
[zj: /run/nologin is used with PAM. systemd-user-session is independent
of logind.]
systemd-sleep \
systemd-bus-proxyd \
systemd-socket-proxyd \
systemd-sleep \
systemd-bus-proxyd \
systemd-socket-proxyd \
+ systemd-update-done \
+ systemd-user-sessions
if HAVE_UTMP
rootlibexec_PROGRAMS += \
if HAVE_UTMP
rootlibexec_PROGRAMS += \
units/initrd-udevadm-cleanup-db.service \
units/initrd-switch-root.service \
units/systemd-nspawn@.service \
units/initrd-udevadm-cleanup-db.service \
units/initrd-switch-root.service \
units/systemd-nspawn@.service \
- units/systemd-update-done.service
+ units/systemd-update-done.service \
+ units/systemd-user-sessions.service
if HAVE_UTMP
nodist_systemunit_DATA += \
if HAVE_UTMP
nodist_systemunit_DATA += \
units/initrd-udevadm-cleanup-db.service.in \
units/initrd-switch-root.service.in \
units/systemd-nspawn@.service.in \
units/initrd-udevadm-cleanup-db.service.in \
units/initrd-switch-root.service.in \
units/systemd-nspawn@.service.in \
- units/systemd-update-done.service.in
+ units/systemd-update-done.service.in \
+ units/systemd-user-sessions.service.in
CLEANFILES += \
units/console-shell.service.m4 \
CLEANFILES += \
units/console-shell.service.m4 \
libsystemd-label.la \
libsystemd-shared.la
libsystemd-label.la \
libsystemd-shared.la
+# ------------------------------------------------------------------------------
+systemd_user_sessions_SOURCES = \
+ src/user-sessions/user-sessions.c
+
+systemd_user_sessions_LDADD = \
+ libsystemd-shared.la
+
# ------------------------------------------------------------------------------
systemd_shutdownd_SOURCES = \
src/shutdownd/shutdownd.c
# ------------------------------------------------------------------------------
systemd_shutdownd_SOURCES = \
src/shutdownd/shutdownd.c
noinst_LTLIBRARIES += \
libsystemd-logind-core.la
noinst_LTLIBRARIES += \
libsystemd-logind-core.la
-systemd_user_sessions_SOURCES = \
- src/login/user-sessions.c
-
-systemd_user_sessions_LDADD = \
- libsystemd-shared.la
-
rootlibexec_PROGRAMS += \
rootlibexec_PROGRAMS += \
- systemd-logind \
- systemd-user-sessions
loginctl_SOURCES = \
src/login/loginctl.c \
loginctl_SOURCES = \
src/login/loginctl.c \
endif
nodist_systemunit_DATA += \
endif
nodist_systemunit_DATA += \
- units/systemd-logind.service \
- units/systemd-user-sessions.service
+ units/systemd-logind.service
dist_systemunit_DATA += \
units/user.slice
dist_systemunit_DATA += \
units/user.slice
$(systemdstatedir)
MULTI_USER_TARGET_WANTS += \
$(systemdstatedir)
MULTI_USER_TARGET_WANTS += \
- systemd-logind.service \
- systemd-user-sessions.service
SYSTEM_UNIT_ALIASES += \
systemd-logind.service dbus-org.freedesktop.login1.service
SYSTEM_UNIT_ALIASES += \
systemd-logind.service dbus-org.freedesktop.login1.service
src/login/logind-gperf.gperf \
src/login/71-seat.rules.in \
src/login/73-seat-late.rules.in \
src/login/logind-gperf.gperf \
src/login/71-seat.rules.in \
src/login/73-seat-late.rules.in \
- units/systemd-logind.service.in \
- units/systemd-user-sessions.service.in
+ units/systemd-logind.service.in
# ------------------------------------------------------------------------------
if HAVE_PYTHON_DEVEL
# ------------------------------------------------------------------------------
if HAVE_PYTHON_DEVEL
MULTI_USER_TARGET_WANTS += \
getty.target \
MULTI_USER_TARGET_WANTS += \
getty.target \
- systemd-ask-password-wall.path
+ systemd-ask-password-wall.path \
+ systemd-user-sessions.service
SYSINIT_TARGET_WANTS += \
dev-hugepages.mount \
SYSINIT_TARGET_WANTS += \
dev-hugepages.mount \
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
-->
You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see <http://www.gnu.org/licenses/>.
-->
-<refentry id="systemd-user-sessions.service" conditional='HAVE_PAM'>
+<refentry id="systemd-user-sessions.service">
<refentryinfo>
<title>systemd-user-sessions.service</title>
<refentryinfo>
<title>systemd-user-sessions.service</title>
--- /dev/null
+../Makefile
\ No newline at end of file