diff options
author | INSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr> | 2017-02-22 11:38:43 +0900 |
---|---|---|
committer | INSUN PYO <insun.pyo@samsung.com> | 2017-02-22 14:53:46 -0800 |
commit | 7153a31c2fffef7fa451f43084a7f7b93a628d12 (patch) | |
tree | 67936ba74ddd8ebdc6b113566a2dceaea9729fca /packaging/dbus.spec | |
parent | e3dc5da3dfaaed4db588bf07c38b9879c5a464c5 (diff) | |
download | dbus-7153a31c2fffef7fa451f43084a7f7b93a628d12.tar.gz dbus-7153a31c2fffef7fa451f43084a7f7b93a628d12.tar.bz2 dbus-7153a31c2fffef7fa451f43084a7f7b93a628d12.zip |
make link : /usr/lib/systemd/user/dbus.socket ==> /usr/lib/systemd/user/sockets.target.wants/dbus.socketsubmit/tizen/20170223.222428accepted/tizen/wearable/20170224.064806accepted/tizen/tv/20170224.064751accepted/tizen/mobile/20170224.064744accepted/tizen/ivi/20170224.064811accepted/tizen/common/20170227.042931
Until now, dbus.socket of user session was not running in the sockets.target.
dbus.socket has been triggered by dbus.service's dependencies.
The dbus.service is included in basic.target.
Therefore, there are some dependency issues.
If a service runs before dbus.service, the service can not accesses dbus system.
(Since dbus.socket is not yet activated, so you can not make a dbus connection.)
I have modified dbus.service to be explicitly run in sockets.target.
On the session bus, sockets.target is guaranteed to run before all services.
Signed-off-by: INSUN PYO <insun.pyo@ubuntu1604.playinsun.pe.kr>
Change-Id: Ic46f1a46b458e2017b0025c6e564ac1204eb8cc8
(cherry picked from commit 1beb067e73478b3948980eb19e379a8986dc365a)
Diffstat (limited to 'packaging/dbus.spec')
-rw-r--r-- | packaging/dbus.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/dbus.spec b/packaging/dbus.spec index a468e265..431fa56d 100644 --- a/packaging/dbus.spec +++ b/packaging/dbus.spec @@ -149,6 +149,9 @@ install -m 0644 %{SOURCE6} %{buildroot}%{_unitdir_user}/dbus.socket mkdir -p %{buildroot}%{_unitdir_user}/basic.target.wants ln -sf ../dbus.service %{buildroot}%{_unitdir_user}/basic.target.wants/dbus.service +mkdir -p %{buildroot}%{_unitdir_user}/sockets.target.wants +ln -sf ../dbus.service %{buildroot}%{_unitdir_user}/sockets.target.wants/dbus.socket + rm -rf %{buildroot}/%{_libdir}/*.la rm -rf %{buildroot}/%{_bindir}/dbus-launch @@ -211,6 +214,8 @@ rm -fr %{buildroot}/usr/share/installed-tests/dbus %{_unitdir_user}/dbus.socket %dir %{_unitdir_user}/basic.target.wants %{_unitdir_user}/basic.target.wants/dbus.service +%dir %{_unitdir_user}/sockets.target.wants +%{_unitdir_user}/sockets.target.wants/dbus.socket %dir %{_unitdir}/dbus.target.wants %{_unitdir}/dbus.target.wants/dbus.socket %dir %{_unitdir}/multi-user.target.wants |