Your message dated Fri, 07 Aug 2026 15:07:16 +0200
with message-id <[email protected]>
and subject line purging removes dangling 
/etc/systemd/system/display-manager.service symlink
has caused the Debian Bug report #848936,
regarding sddm: purging leaves leaves dangling 
/etc/systemd/system/display-manager.service symlink
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
848936: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848936
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: init-system-helpers
Version: 1.22
Severity: important
User: [email protected]
Usertags: piuparts
Control: affects -1 + gdm3 lightdm sddm xdm
Control: found -1 sddm/0.13.0-1
Control: found -1 xdm/1:1.1.11-3

Hi,

during tests with piuparts I noticed the same behavior in 4 packages
providing a display-manager service: a dangling symlink is left after
purge. Some have individual bugs filed (lightdm: #775385, gdm3:
#771085), but this is more likely a bug somewhere in the helpers being
used. Notice, that after purge no other package providing a
display-manager service was installed any more.


1m16.3s ERROR: FAIL: Package purging left files on system:
  /etc/systemd/system/display-manager.service -> 
/lib/systemd/system/xdm.service         not owned

3m8.3s ERROR: FAIL: Package purging left files on system:
  /etc/systemd/system/display-manager.service -> 
/lib/systemd/system/sddm.service        not owned

2m46.0s ERROR: FAIL: Package purging left files on system:
  /etc/systemd/system/display-manager.service -> 
/lib/systemd/system/gdm3.service        not owned

1m23.3s ERROR: FAIL: Package purging left files on system:
  /etc/systemd/system/display-manager.service -> 
/lib/systemd/system/lightdm.service     not owned


Andreas

Attachment: xdm_1:1.1.11-3.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Version: 0.19.0-3

Hey,

sddm handles the dangling symlink since 0.14.0-2. The puiparts logs also don't 
show any traces that this symlink is dangling. Unfortunately  Andreas Beckmann 
did not add any notice why they reopened this bugreport.
Let's close this bug report for the oldest version where I can see puipart 
logs.

The relevant part of postrm file, that handles the symlink:

DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
DEFAULT_SERVICE=/etc/systemd/system/display-manager.service
case "$1" in
    purge)
        [...]
        if [ ! -e "$DEFAULT_DISPLAY_MANAGER_FILE" ] &&
            [ -h "$DEFAULT_SERVICE" ] && [ ! -e "$DEFAULT_SERVICE" ]; then
            # Dangling symlink, no other display-manager installed
            rm "$DEFAULT_SERVICE"
        fi
        ;;


Best regards,

hefee

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to