Kilian,
Could we please get a link to the "ptrace_test" program to which you're
referring? Source or binary is fine...
- Bryan
On Oct 27, 2015 2:18 AM, "Kilian Ries" <[email protected]> wrote:
> Hi Patrick,
>
> thanks to your "mount..." command i got a bit further and the installer
> finished without any error (as far as i can tell).
>
> Now, i can't start the engine and after further investigation there may be
> a problem with ptrace. If i run a ptrace_test binary on the LX-Brand i got
> the following output:
>
> ---
> ./ptrace_test
> parent1
> child1
> child2
> Child exited
> ---
>
> Compared to the expected output on a KVM machine:
>
> ---
> ./ptrace_test
> parent1
> child1
> child2
> parent2
> parent3
> WOA LA
> ---
>
>
> Is there any thing to know about ptrace and LX-Brand?
>
> Thanks
> Regards
> Kilian
>
> ________________________________________
> Von: Patrick Mooney <[email protected]>
> Gesendet: Dienstag, 20. Oktober 2015 15:30
> An: [email protected]
> Betreff: Re: [smartos-discuss] LX Brand: Unsupported Syscalls
>
> Kilian,
> You could try pre-mounting a copy of devfs in the expected location:
> "mount -o bind /dev /var/www/vhosts/chroot/dev/"
> That may be enough to appease the installer so you can move forward.
>
> On 20 October 2015 at 07:59, Kilian Ries <[email protected]> wrote:
> > Hi Jerry, Bryan,
> >
> > thanks for your quick answers.
> >
> > My smartos build is: 20151001T070028Z
> >
> >
> > That's right, the installer wants to setup a chroot environment. Without
> that chroot the installation would not work and there is no option to
> disable it.
> >
> > Then the only way to run this is with KVM.
> >
> > Thanks anyway for your help!
> >
> > Greets,
> > Kilian
> >
> > ________________________________________
> > Von: Bryan Horstmann-Allen <[email protected]>
> > Gesendet: Dienstag, 20. Oktober 2015 14:34
> > An: [email protected]
> > Betreff: Re: [smartos-discuss] LX Brand: Unsupported Syscalls
> >
> >
> +------------------------------------------------------------------------------
> > | On 2015-10-20 06:20:11, Jerry Jelinek wrote:
> > |
> >> > mknod: '/var/www/vhosts/chroot/dev/null': Operation not permitted
> >> > chown: cannot access '/var/www/vhosts/chroot/dev/null': No such file
> or
> >> > directory
> >
> >> > Am i running into unsupported Syscalls or have you another idea what
> could
> >> > be wrong?
> >
> > It looks like the Plesk installer is trying to set up a chroot
> environment,
> > which includes setting up devices inside the chroot it will need. As
> Jerry
> > said, you can't create devices in a zone, so this fails. (And the way to
> harden
> > this would be with privs, arguably, instead of a chroot in the zone.)
> >
> > If there's an option to disable the chroot instantiation on install, you
> might
> > give that a try.
> >
> > Cheers.
> > --
> > bdha
> >
>
>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com