dash does not conform to LSB (-l option, /etc/profile.d)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
Fix Released
|
Low
|
Matthias Klose | ||
Gutsy |
Won't Fix
|
Low
|
Matthias Klose | ||
dash (Ubuntu) |
Fix Released
|
Low
|
Matthias Klose | ||
Gutsy |
Won't Fix
|
Low
|
Matthias Klose | ||
lsb (Ubuntu) |
Invalid
|
Low
|
Unassigned | ||
Gutsy |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: lsb
The specifications of the LSB 3.1 require from the shell (sh, bash) that it sources all *.sh scripts when started as a login shell. See
http://
This is not the case with Ubuntu Linux and Ubuntu is certified as LSB-compliant. I have the "lsb" package installed.
A possible fix is adding
for i in /etc/profile.d/*.sh ; do
if [ -x $i ]; then
. $i
fi
done
unset i
to the end of the file /etc/profile.
Another problem with the shell not being LSB-compliant is the lack of the "-l" option which is required here:
http://
The "-l" option serves for starting the shell as a login shell.
Related branches
Changed in bash: | |
importance: | Undecided → High |
Changed in lsb: | |
importance: | Undecided → High |
Changed in dash: | |
importance: | Undecided → High |
bash supports -l, but dash does not.