[Bug 299690] Re: shell scripts cannot run from bash

2020-12-09 Thread Launchpad Bug Tracker
[Expired for bash (Ubuntu) because there has been no activity for 60 days.] ** Changed in: bash (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/299690

[Bug 299690] Re: shell scripts cannot run from bash

2020-10-10 Thread Ken Sharp
I would guess that this is now fixed. Anyone still seeing this in a current release? ** Changed in: bash (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 299690] Re: shell scripts cannot run from bash

2009-04-24 Thread Andy Grover
upgraded to jaunty, working for me now. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 299690] Re: shell scripts cannot run from bash

2009-02-16 Thread George
In order to have the same buggy behavior in gnome-terminal, you have to set the option Run command as a login shell in Edit - Profile preferences - Title And Command -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a

[Bug 299690] Re: shell scripts cannot run from bash

2009-02-07 Thread chupachups
Its not just the 64bit version of 8.10 I'm running the 32bit version on intel hardware and can reproduce the problem It exhibits itself when you do the above in ssh, not in terminal ie ssh localhost echo echo hello! hello chmod +x hello ./hello I encountered this problem whilst setting up

[Bug 299690] Re: shell scripts cannot run from bash

2009-02-07 Thread klnusbaum
I'm not sure if this is significant, but it might have something to do with our problem. Whenever I'm sshing to my ubuntu machine, I'm doing it via a tcsh shell. Is any one else who is getting this problem using a tcsh shell when they are sshing to their machine? -- shell scripts cannot run from

[Bug 299690] Re: shell scripts cannot run from bash

2009-02-04 Thread klnusbaum
I would just like to say that I use 64-bit Ubuntu 8.10 and I have this exact same problem. If I ssh to my machine, I can't run a script on my machine unless at the top of that script I put #!/bin/bash. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this

[Bug 299690] Re: shell scripts cannot run from bash

2008-12-01 Thread Alvin Thompson
dugrands, what did you cat that shows binary code? a script is written in text. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 299690] Re: shell scripts cannot run from bash

2008-12-01 Thread Kees Cook
I'm unsetting this as a security issue since it's just related to running scripts that lack a #! header from the login shell. ** Changed in: bash (Ubuntu) Status: Incomplete = Confirmed ** This bug is no longer flagged as a security issue -- shell scripts cannot run from bash

[Bug 299690] Re: shell scripts cannot run from bash

2008-12-01 Thread Alvin Thompson
how is this not a security issue? with the second problem, an unprivileged user can launch a DOS attack by maxing out the CPU. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-26 Thread dugrands
It, says, -bash: /path/to/script no such file or directory. the script is not a link and doing cat even shows the unreadable binary code. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-25 Thread Alvin Thompson
dugrands, what exactly is the error it gives you? -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-25 Thread Alvin Thompson
jesse, how did you recreate that 100% CPU problem? when i uninstalled java and mono, the problem went away for me and doesn't come back even if i reinstall them. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread Alvin Thompson
i think i've provided all of the requested information. should i mark the bug as 'new' again? -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread Kees Cook
I am still unable to reproduce this problem. Do you have a series of steps that will cause it? You mentioned your home 64bit machine does not exhibit the problem? What is the output of ulimit -a on both machines? (Maybe there are resource limits?) -- shell scripts cannot run from bash

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread Alvin Thompson
i think there were actually 2 problems. the original problem on my 64-bit (home) machine is still present. when i try to run the above shell script on the 64-bit machine i get this error: --- malloc: ../bash/dispose_cmd.c:241: assertion botched free: called with unallocated block argument

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread Alvin Thompson
i can add a login for you on my home computer if it will be helpful... -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread Jesse Michael
I can't duplicate this in a gnome-terminal, but if I ssh localhost and run it that way, it hangs for me with 100% cpu also. Here's the stack trace from when I attached to the process with gdb: #0 0x080943f0 in termsig_sighandler () #1 signal handler called #2 0x0806edda in dispose_word () #3

Re: [Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread Kees Cook
In my intrepid VM, ssh'ing in, I see it. Looking at the code, I suspect it's the - in argv[0] and how it is skipping it without regard to possible later use of free(). -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-24 Thread dugrands
Hello, I have an almost similar but different problem. i can't execute any script from the command line at all. ./script will give a no file or directory found. Any Idea? btw. its ubuntu 8.10. thanks. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-21 Thread Alvin Thompson
can you try after SSH-ing off of your 64-bit machine and back to it? the problem might occur only through an SSH connection. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-19 Thread Alvin Thompson
--- $ ls /usr/share/binfmts jar python2.5 --- if i add the line '#!/bin/bash' to the script, it runs fine, so i guess it's not bash. any ideas? ** Changed in: ubuntu Sourcepackagename: bash = None -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-19 Thread Alvin Thompson
it looks like there are 2 problems here. if i remove everything java from my work (32-bit) computer, the problem goes away (no more lockups). that got rid of /usr/share/binfmts/jar, which i assume was the source of the lockups. that's definitely a security issue because an unprivileged user can

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-19 Thread Alvin Thompson
not sure this adds anything, but if i set my login shell to /bin/sh things work fine. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-18 Thread Kees Cook
$ echo echo hello! hello $ cat hello echo hello! $ chmod +x hello $ ./hello hello! I don't seem to be able to reproduce this problem. ** Changed in: bash (Ubuntu) Status: New = Incomplete ** Visibility changed to: Public -- shell scripts cannot run from bash

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-18 Thread Kees Cook
Please also check any output in dmesg. Are you perhaps trying to run shell scripts within a confined AppArmor profile? -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-18 Thread Alvin Thompson
i don't think so; it's a default install. how do i check? i see nothing unusual in dmesg, although it does say 'AppArmor initialized' and 'AppArmor Filesystem Enabled'. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-18 Thread Alvin Thompson
are you using the 64-bit version of 8.10? it seems to be confined to that. -- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 299690] Re: shell scripts cannot run from bash

2008-11-18 Thread Alvin Thompson
actually, it may be related to apparmor and ssh. if i run the script locally on one of my work machines (32-bit), it works fine. if i ssh to the machine and run the script, the terminal locks up with 50% CPU usage. i have to kill the process. i've been trying to run the script through ssh on

Re: [Bug 299690] Re: shell scripts cannot run from bash

2008-11-18 Thread Kees Cook
Yes, I'm doing this with a 64bit 8.10 machine. What do you have in your /usr/share/binfmts directory? Perhaps something strange is in there trying to execute your script prior to bash (your script example lacks a #!... header as the first line, so it's possible that something other than bash is