Package: at
Version: 3.1.13-2
Severity: important

Dear Maintainer,

After applying the shellshock updates for Bash, we can no longer use at. 
We use the Lmod[1] system for Environment modules. This program output bash
script code. It works by exporting a function and this no longer works in `at`. 
It does still work in a regular bash shell. 

If you try to run anything with `at`, you get:
sh: line 76: syntax error near unexpected token `$'=\\(\\)\\ {\\ \\ eval\\ 
\\$\\(\\$LMOD_CMD\\ bash\\ \\"\\$@\\"\\)\\;"\n"\\ [\\ \\$\\?\\ =\\ 0\\ ]\\ 
\\&\\&\\ eval\\ \\$\\(\\${LMOD_SETTARG_CMD:-:}\\ -s\\ sh\\)"\n"}''
sh: line 76: `"}; export BASH_FUNC_module()'

This error can be remove if you delete line 57 in the following file:
https://github.com/TACC/Lmod/blob/master/init/bash.in#L57

However, this makes that Lmod no longer functions 100%. This used to work prior
to the shellshock updates and still works fine on Fedora based systems 
(at-3.1.13-13).


[1] https://github.com/TACC/Lmod


-- System Information:
Debian Release: 7.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages at depends on:
ii  libc6           2.13-38+deb7u4
ii  libpam-runtime  1.1.3-7.1
ii  libpam0g        1.1.3-7.1
ii  lsb-base        4.1+Debian8+deb7u1

Versions of packages at recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.80-7

at suggests no packages.

-- Configuration Files:
/etc/at.deny [Errno 13] Permission denied: u'/etc/at.deny'

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to