login impossible because lightdm-session crashes

Bug #1295730 reported by Lorenz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
New
Undecided
Unassigned

Bug Description

If there is a bash script (with bash commands) in /etc/profile.d lightdm-session crashes and the login screen is displayed again.

The problem is that standard shell is dash and sh is linked to dash.
One solution for avoiding this is to change the shebang to #!/bin/bash.
But this may crash with other shells.

Installed versions:
lightdm 1.9.12-0ubunu1
lightdm-kde-greeter 0.3.2.2-0ubuntu1

And script to reproduce the crash (/etc/profile.d/crash.sh):
#!/bin/bash
a=("foo" "bar")
echo ${a[@]}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.