• Bug#1101528: xfce4-session: bashism in xflock4 breaks locking screen (a

    From Benjamin Kaduk@21:1/5 to All on Fri Mar 28 21:30:01 2025
    Package: xfce4-session
    Version: 4.20.2-1
    Severity: important
    X-Debbugs-Cc: kaduk@mit.edu


    Upstream's https://gitlab.xfce.org/xfce/xfce4-session/-/commit/584ba9e6aa46e79aa5821d0b34b684f07c85f3db
    ("scripts: Make xflock4 blocking again") set a timeout of MAXINT for the dbus-send call, but used a bashism to compute MAXINT. With a shebang line of /bin/sh and dash providing {,/usr}/bin/sh on my system, this results in an empty expansion and apparently a failed dbus-send call, thus no locked
    screen.


    -- System Information:
    Debian Release: trixie/sid
    APT prefers stable-security
    APT policy: (500, 'stable-security'), (500, 'unstable')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.12.20-amd64 (SMP w/12 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages xfce4-session depends on:
    ii libatk1.0-0t64 2.56.0-3
    ii libc6 2.41-6
    ii libcairo-gobject2 1.18.4-1+b1
    ii libcairo2 1.18.4-1+b1
    ii libgdk-pixbuf-2.0-0 2.42.12+dfsg-2
    ii libglib2.0-0t64 2.84.0-2
    ii libgtk-3-0t64 3.24.49-2
    ii libgtk-layer-shell0 0.9.0-2
    ii libice6 2:1.1.1-1
    ii libpango-1.0-0 1.56.3-1
    ii libpolkit-gobject-1-0 126-2
    ii libsm6 2:1.2.6-1
    ii libx11-6 2:1.8.12-1
    ii libxfce4ui-2-0 4.20.1-1
    ii libxfce4util7 4.20.1-1
    ii libxfce4windowing-0-0 4.20.2-1
    ii libxfconf-0-3 4.20.0-1
    ii x11-xserver-utils 7.7+11
    ii xfce4-settings 4.20.1-1
    ii xfconf 4.20.0-1

    Versions of packages xfce4-session recommends:
    ii dbus-user-session [default-dbus-session-bus] 1.16.2-2
    ii libglib2.0-bin 2.84.0-2
    ii libpam-systemd [logind] 257.4-5
    ii systemd-sysv 257.4-5
    ii upower 1.90.7-1
    ii xfce4-screensaver 4.18.4-1
    ii xfdesktop4 4.20.1-1
    ii xfwm4 4.20.0-1

    Versions of packages xfce4-session suggests:
    pn fortune-mod <none>
    pn sudo <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Benjamin Kaduk@21:1/5 to All on Fri Mar 28 21:40:01 2025
    Note that the upstream change switches back (see #1093378, #1092334,
    #1064099) to calling dbus-send rather than gdbus and so we might be able to drop the recommendation on libglib2.0-bin.

    -Ben

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)