Ticket #1175 (closed defect: fixed)
bash: LD_ASSUME_KERNEL: unbound variable with set -u
Reported by: | jweiss | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Precise Release |
Component: | -- | Keywords: | |
Cc: | kenta@… | Fixed in version: | |
Upstream bug: |
Description
The following was reported by kenta on test.dialup which recently took the latest debathena-dotfiles patch
I have
set -u
in my .bashrc, and very recently (in the last two days?) I
have begun seeing a message
bash: LD_ASSUME_KERNEL: unbound variable
every time I start a bash shell (including when creating a
new "screen" in screen).
Change History
comment:1 Changed 12 years ago by jdreed
- Status changed from new to committed
- Milestone changed from The Distant Future to Precise Release
comment:2 Changed 12 years ago by jdreed
Anders points out that we want to fix #1084 at the same time.
comment:4 Changed 12 years ago by jdreed
I have tested this with two test accounts on different machines, and it works. The current dotfiles prevent you from logging in at all graphically if you 'set -u'. I'm going to move this to proposed tomorrow, and then production on Monday, unless someone objects.
Fix committed in r25647. Use -n "${LD_ASSUME_KERNEL+x}" instead of -n "$LD_ASSUME_KERNEL".