← Back to team overview

desktop-packages team mailing list archive

[Bug 1451098] Re: hardcoded bash dependency

 

On 2015-05-03 21:43, god wrote:
> Ironically the bug you're referring to was introduced exactly by
> some bashism dropped into place where it did not belong to.

Yeah, you are right. The bashism which originally motivated the bug is
now valid code.

But to summarize: lightdm now runs /usr/sbin/lightdm-session under bash.
It means that some files for session configuration, such as ~/.profile
or /etc/profile.d/*.sh, accept bashisms, which some users appreciate.
But more importantly: It allows for a decent exception handling if a
user makes a mistake when adding code to those configuration files.

While you say it's "strange" or "odd", the setup does not really prevent
you from using some other shell but bash or else prevents you from doing
anything, right?

I'd like to close this bug report. Would it be ok with you?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/1451098

Title:
  hardcoded bash dependency

Status in lightdm package in Ubuntu:
  Incomplete

Bug description:
  lightdm has hardcoded dependency on  bash (>= 4.3) which is very
  strange - I expect DM to work regardless of which shell is installed
  in my system. The dependency should be changed to dash and all the
  bashisms in source code (if any) should be eliminated to improve
  portability.

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


References