Tests fail: osutil.so: failed to map segment from shared object: Operation not permitted

anatoly techtonik techtonik at gmail.com
Thu Jun 19 04:51:35 CDT 2014


On Thu, Jun 19, 2014 at 10:31 AM, Julien Cristau <julien.cristau at logilab.fr>
wrote:

> On Thu, Jun 19, 2014 at 08:32:18 +0300, anatoly techtonik wrote:
>
> > What exactly is broken? Then it is broken for all services that run on
> > drone.io
> >
> > Could it be that in some Linux contexts execution from /tmp is forbidden.
> > SELinux or something?
>
> or your /tmp is mounted noexec.
>

How to check? `mount` output from drone doesn't show anything.

$ mount
overlayfs on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
devpts on /dev/lxc/console type devpts
(rw,noexec,nosuid,relatime,gid=5,mode=620,ptmxmode=000)
devpts on /dev/lxc/tty1 type devpts
(rw,noexec,nosuid,relatime,gid=5,mode=620,ptmxmode=000)
devpts on /dev/lxc/tty2 type devpts
(rw,noexec,nosuid,relatime,gid=5,mode=620,ptmxmode=000)
devpts on /dev/lxc/tty3 type devpts
(rw,noexec,nosuid,relatime,gid=5,mode=620,ptmxmode=000)
devpts on /dev/lxc/tty4 type devpts
(rw,noexec,nosuid,relatime,gid=5,mode=620,ptmxmode=000)
devpts on /dev/ptmx type devpts (rw,relatime,mode=600,ptmxmode=666)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)

https://drone.io/bitbucket.org/techtonik/hg/4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140619/f611d066/attachment.html>


More information about the Mercurial-devel mailing list