Public bug reported:

[ Impact ]

Reports have come in regarding the Xsetup script in sddm crashing with
the following error since the previous patch in LP: #1998254:

 ./Xsetup.O: 15: Syntax error: word unexpected (expecting ")")

This was due to an array being set, which was not supported by sh.
However, the script was developed for bash, but the shebang was still
for sh.

Once changed to #!/bin/bash, it was good to go.

[ Test Case ]

Run /usr/share/sddm/scripts/Xsetup from a terminal
Script will fail with ./Xsetup.O: 15: Syntax error: word unexpected (expecting 
")")

Additionally, bug fixed in LP: #1998254 will not be fixed.

[ Where things could go wrong ]

Apparently, things that could go wrong in the bug that was supposed to
be fixed in #1998254 did go wrong (fix was ineffective), but with the
correct script handler (bash), this should be fixed. However, I do
concede that even then, after much testing, things could still not work
quite right.

[ Other Information ]

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: sddm 0.19.0-3ubuntu2
ProcVersionSignature: Ubuntu 5.19.0-1012.13-lowlatency 5.19.7
Uname: Linux 5.19.0-1012-lowlatency x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
ApportVersion: 2.26.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Thu Mar  2 11:32:33 2023
InstallationDate: Installed on 2021-03-20 (711 days ago)
InstallationMedia: Ubuntu-Studio 21.04 "Hirsute Hippo" - Alpha amd64 (20210320)
SourcePackage: sddm
UpgradeStatus: Upgraded to lunar on 2022-12-18 (74 days ago)

** Affects: sddm (Ubuntu)
     Importance: Critical
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress

** Affects: sddm (Ubuntu Jammy)
     Importance: Critical
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress

** Affects: sddm (Ubuntu Kinetic)
     Importance: Critical
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress

** Affects: sddm (Ubuntu Lunar)
     Importance: Critical
     Assignee: Erich Eickmeyer (eeickmeyer)
         Status: In Progress


** Tags: amd64 apport-bug lunar regression-update

** Also affects: sddm (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: sddm (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: sddm (Ubuntu Lunar)
   Importance: Undecided
     Assignee: Erich Eickmeyer (eeickmeyer)
       Status: In Progress

** Changed in: sddm (Ubuntu Jammy)
       Status: New => In Progress

** Changed in: sddm (Ubuntu Kinetic)
       Status: New => In Progress

** Changed in: sddm (Ubuntu Jammy)
     Assignee: (unassigned) => Erich Eickmeyer (eeickmeyer)

** Changed in: sddm (Ubuntu Kinetic)
     Assignee: (unassigned) => Erich Eickmeyer (eeickmeyer)

** Changed in: sddm (Ubuntu Jammy)
   Importance: Undecided => Critical

** Changed in: sddm (Ubuntu Kinetic)
   Importance: Undecided => Critical

** Changed in: sddm (Ubuntu Lunar)
   Importance: Undecided => Critical

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to sddm in Ubuntu.
https://bugs.launchpad.net/bugs/2009074

Title:
  [SRU Regression] SDDM display inset patch crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/2009074/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to