Gentoo Archives: gentoo-user

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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Problem starting VM image on QEMU Alexander Kapshuk <alexander.kapshuk@×××××.com>