Public bug reported:
Summary:
When running commands via 'at', most of the environment is preserved,
but some variables are deleted. LD_LIBRARY_PATH is one of them.
System:
Linux qudit 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
at 3.1.13-1ubuntu Delayed job execution and batch processing
Steps to reproduce:
export LD_LIBRARY_PATH=/opt/intel/mkl/lib
(echo '#!/bin/sh'; echo 'set > log 2>&1') > ./sample.sh
chmod +x ./sample.sh
echo ./sample.sh | at now
sleep 10
grep LD_LIBRARY_PATH log
=> nothing is output
** Affects: at (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Summary:
When running commands via 'at', most of the environment is preserved,
but some variables are deleted. LD_LIBRARY_PATH is one of them.
System:
Linux qudit 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
at 3.1.13-1ubuntu Delayed job execution and batch processing
Steps to reproduce:
- LD_LIBRARY_PATH=/opt/intel/mkl/lib
+ export LD_LIBRARY_PATH=/opt/intel/mkl/lib
(echo '#!/bin/sh'; echo 'set > log 2>&1') > ./sample.sh
chmod +x ./sample.sh
echo ./sample.sh | at now
sleep 10
grep LD_LIBRARY_PATH log
=> nothing is output
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1162721
Title:
at-command does not preserve LD_LIBRARY_PATH
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/at/+bug/1162721/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs