FS#42445 - [lightdm] [sddm] conflicting file

Attached to Project: Community Packages
Opened by kkl2401 (kkl2401) - Sunday, 19 October 2014, 08:37 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 18 August 2015, 08:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andrea Scarpino (BaSh)
Felix Yan (felixonmars)
Maxime Gauduin (Alucryd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: Both packages contain /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf.


Additional info:
lightdm 1:1.12.0-2
sddm-0.10.0-2

Steps to reproduce:
Install lightdm and then run:

$ sudo pacman -S sddm
resolving dependencies...
looking for inter-conflicts...

Packages (1): sddm-0.10.0-2

Total Installed Size: 5.61 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##########################################] 100%
(1/1) checking package integrity [##########################################] 100%
(1/1) loading package files [##########################################] 100%
(1/1) checking for file conflicts [##########################################] 100%
error: failed to commit transaction (conflicting files)
sddm: /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf exists in filesystem
Errors occurred, no packages were upgraded.
$ pacman -Qo /etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf
/etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf is owned by lightdm 1:1.12.0-2
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 18 August 2015, 08:59 GMT
Reason for closing:  Implemented
Additional comments about closing:  sddm 0.11.0-3
lightdm 1:1.14.2-2
Comment by Andrea Scarpino (BaSh) - Sunday, 19 October 2014, 16:33 GMT
I guess we should both provide a virtual 'display-manager' package and conflicts with it.
Comment by Maxime Gauduin (Alucryd) - Monday, 20 October 2014, 09:57 GMT
Agreed, I just pushed lightdm-1:1.12.1-1 with this change.
Comment by Johannes Jordan (FoPref) - Saturday, 18 July 2015, 14:57 GMT
  • Field changed: Percent Complete (100% → 0%)
The conflicting state of lightdm and sddm just because of this file, which is identical, is suboptimal. lightdm includes "dm-tool" which also works with sddm. "dm-tool" is the only tool that I know of that allows to start new greeters in sddm from a plain window manager setup, e.g. fluxbox.
Comment by Maxime Gauduin (Alucryd) - Tuesday, 28 July 2015, 22:21 GMT
It seems debian solved the conflict by renaming "/etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf" to "/etc/dbus-1/system.d/sddm_org.freedesktop.DisplayManager.conf" in their sddm package. I'm not really keen on making a split package just for dm-tool so I suggest we mimic debian here.
Comment by Balló György (City-busz) - Friday, 31 July 2015, 17:23 GMT
+1 for renaming. Until both DMs implement the same D-Bus interface, it shouldn't be a problem.
Comment by Johannes Jordan (FoPref) - Friday, 31 July 2015, 20:59 GMT
As a matter of fact, they do implement the same interface. That's why the files are identical.

Loading...