Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Problem starting VM image on QEMU
Date: Fri, 14 Jul 2017 16:55:19
Message-Id: CAJ1xhMXe-OVV5uX7z3QrpseeNZkF-OPiFgyPUhgQZaM8Yno8og@mail.gmail.com
In Reply to: Re: [gentoo-user] Problem starting VM image on QEMU by Mick
1 On Fri, Jul 14, 2017 at 7:43 PM, Mick <michaelkintzios@×××××.com> wrote:
2 > On Friday 14 Jul 2017 19:02:55 Alexander Kapshuk wrote:
3 >> On Fri, Jul 14, 2017 at 6:31 PM, Mick <michaelkintzios@×××××.com> wrote:
4 >
5 >> > Trying to start it gives:
6 >> >
7 >> > $ ./coreos_production_qemu.sh -a /home/michael/.ssh/id_rsa.pub -p 2222 --
8 >> > -
9 >> > curses
10 >> > -bash: ./coreos_production_qemu.sh: Permission denied
11 >
12 >> Try running the script in trace mode as yourself:
13 >> bash -x coreos_production_qemu.sh etc.
14 >>
15 >> See if that reveals anything useful.
16 >
17 > Ha! What do you know? Running it with bash -x in front I was able to execute
18 > it ... hmmm ... OK ... it seems the partition had been mounted as noexec ...
19 >
20 > /dev/sda11 on /data type ext4 (rw,nosuid,nodev,noexec,noatime,data=ordered)
21 > none on /run/user/1000 type tmpfs (rw,relatime,mode=700,uid=1000)
22 >
23 > A clear case of mea culpa!
24 >
25 > Thanks for helping me spot this. :-)
26 >
27 > --
28 > Regards,
29 > Mick
30
31 No worries at all.
32 Good to hear it worked out for you.