Gentoo Archives: gentoo-amd64

From: Tonko Mulder <tonko.mulder@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Unable to execute binary files on CLI
Date: Thu, 13 Nov 2008 11:22:34
Message-Id: 43ba12950811130322s6dc03f46x5d191c7403f9f86f@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Unable to execute binary files on CLI by Tonko Mulder
1 I think I just found my own answer...
2 My fstab option for my extra swap file had an option noexec in it,
3 just removed it and rebooted and it works now :)
4
5 On Thu, Nov 13, 2008 at 12:18 PM, Tonko Mulder <tonko.mulder@×××××.com> wrote:
6 > First my fstab:
7 > /dev/sda4 / xfs noatime 0 1
8 > /dev/data/home /home xfs defaults 0 2
9 > /dev/sda3 none swap sw 0 0
10 > /home/swap.img none swap sw 0 0
11 > /home/OOO.org /tmp xfs defaults,nodev,nosuid,loop 0 0
12 > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
13 > # POSIX shared memory (shm_open, shm_unlink).
14 > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
15 > # use almost no memory if not populated with files)
16 > shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
17 >
18 > about the support for 32bit exes in my kernel
19 > grep IA32 /usr/src/linux/.config
20 > CONFIG_IA32_EMULATION=y
21 > CONFIG_IA32_AOUT=y
22 >
23 >
24 >
25 > On Thu, Nov 13, 2008 at 11:52 AM, Volker Armin Hemmann
26 > <volker.armin.hemmann@××××××××××××.de> wrote:
27 >> On Thursday 13 November 2008, Tonko Mulder wrote:
28 >>> Hello list,
29 >>>
30 >>> for some reason I'm unable to execute binary files and script files
31 >>> (e.g. bash/sh/python).
32 >>> If I put the interpreter in front of the shell script then I'm able to
33 >>> execute the file, but I'm unable to run it as one would normal run it.
34 >>>
35 >>> tonko@Gaius ~/ib2007/bin $ file ib2007ux
36 >>> ib2007ux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
37 >>> dynamically linked (uses shared libs), for GNU/Linux 2.0.0, stripped
38 >>> tonko@Gaius ~/ib2007/bin $ ./ib2007ux
39 >>> -bash: ./ib2007ux: Access denied
40 >>>
41 >> do you have support for 32bit exes in your kernel?
42 >>
43 >>
44 >
45 >
46 >
47 > --
48 > Tonko
49 >
50
51
52
53 --
54 Tonko

Replies

Subject Author
[gentoo-amd64] Re: Unable to execute binary files on CLI Duncan <1i5t5.duncan@×××.net>