Unverified Commit 7cc567d2 authored by Björn Esser's avatar Björn Esser
Browse files

Fix claiming DBus service name (rhbz#1428379)

parent 6547aba4
......@@ -19,11 +19,16 @@ After=rc-local.service plymouth-start.service systemd-user-sessions.service live
# We need DBus to be present.
Requires=dbus.service
# We need the DBus socket and user slice to be present.
Wants=dbus.socket user.slice
After=dbus.socket user.slice
# LighDM takes responsibility for stopping plymouth, so if it fails
# for any reason, make sure plymouth still stops.
OnFailure=plymouth-quit.service
[Service]
Type=dbus
ExecStart=/usr/sbin/lightdm
Restart=always
IgnoreSIGPIPE=no
......
......@@ -7,7 +7,7 @@
Name: lightdm
Summary: A cross-desktop Display Manager
Version: 1.25.1
Release: 1%{?dist}
Release: 2%{?dist}
# library/bindings are LGPLv2 or LGPLv3, the rest GPLv3+
License: (LGPLv2 or LGPLv3) and GPLv3+
......@@ -72,6 +72,7 @@ Requires: %{name}-greeter = 1.2
%{?systemd_requires}
Requires(pre): shadow-utils
Requires(post): psmisc
# needed for anaconda to boot into runlevel 5 after install
Provides: service(graphical-login) = %{name}
......@@ -220,6 +221,9 @@ exit 0
%post
if [ $1 = 1 ] ; then
%{_bindir}/killall -HUP dbus-daemon 2>&1 > /dev/null
fi
%{?systemd_post:%systemd_post %{name}.service}
......@@ -322,6 +326,9 @@ exit 0
%changelog
* Fri Jan 19 2018 Björn Esser <besser82@fedoraproject.org> - 1.25.1-2
- Fix claiming DBus service name (rhbz#1428379)
* Thu Jan 18 2018 Björn Esser <besser82@fedoraproject.org> - 1.25.1-1
- lightdm-1.25.1 (rhbz#1535730)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment