Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Sep 2017 15:03:35 +0200
From:      Alexander Leidinger <Alexander@leidinger.net>
To:        Giulio Ferro <auryn@zirakzigil.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: devd in jail
Message-ID:  <20170909150335.Horde.wBLIPwBuhV3lyQlBxKud39f@webmail.leidinger.net>
In-Reply-To: <da552407-fb13-677b-f514-c3bfacc83e73@zirakzigil.org>
References:  <e03a6040-1322-c82c-0e96-49c474188d5c@zirakzigil.org> <CAOtMX2g7PR9S7v%2BrUXwBeQUPDFfJy2zZwAvg7q5ze99jDF4hmA@mail.gmail.com> <20170810225439.Horde.1s8Qi_dlNtxgEigsNKbdrer@webmail.leidinger.net> <4a1a99a5-35ea-19c9-7ac8-77875ac6f71f@zirakzigil.org> <20170905151537.Horde.10cHNOX1OVri7mGaUcDeX1l@webmail.leidinger.net> <7ca865ee-b613-2f0c-daf0-d828884b5e74@zirakzigil.org> <1C181EF2-B8B1-4F42-BF80-ABEA0593DD43@dsl-only.net> <c17afdad-6bf0-3c4b-6325-2417fb0d18d7@zirakzigil.org> <20170906122556.Horde.5OdDwtii7HXPNArY77YUyBi@webmail.leidinger.net> <D5C4EF81-BCF7-496E-8CD4-2C053607D20C@zirakzigil.org> <20170906221947.Horde.RITHvdc1wVE9v0-3nBavR0Z@webmail.leidinger.net> <da552407-fb13-677b-f514-c3bfacc83e73@zirakzigil.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format and has been PGP signed.

--=_14Pv1yrjtMyG8jTArdSSw8E
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Quoting Giulio Ferro <auryn@zirakzigil.org> (from Thu, 7 Sep 2017=20=20
08:54:45=20+0200):


> I've applied the patch, compiled and install the new kernel.
>
>
> Here's my jail.conf
[jail.conf]

> But the problem now is that the jail doesn't start, if fact it seems=20=
=20
>=20it doesn't recognise the parameter:
>
>
> # /etc/rc.d/jail start
> Starting jails:jail: wsj: unknown parameter: allow.kmem_access
>
>
> I've tried both putting it in the general section and in the xx jail=20=
=20
>=20section, but same result.
>
>
> Should I put it somewhere else?

I don't use jail.conf, I use ezjail or iocage. From my reading of the=20=20
jail-command=20source code, it looks like it should work there if it is=20=
=20
OK=20in the kernel (no modification to the source of the jail-command=20=20
necessary).=20This suggests it is not really OK in the kernel.

Please run this:
strings /boot/kernel/kernel| grep allow.kmem

If it doesn't print out "allow.kmem_access", then your kernel doesn't=20=20
contain=20the patch.

Bye,
Alexander.

--=20
http://www.Leidinger.net=20Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_14Pv1yrjtMyG8jTArdSSw8E
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJZs+anAAoJEKrxQhqFIICEddoQALdH17E/1rC71z47mAa4wPUc
M3+ITKyLRxxtsj3Ncw29KL2lOCeNqWVWW8cDEEd0lgLICrjPc8ph8tlx2D0qob/k
Aqvk4R6RdBDjAVKCgQazpUbjeB/H03xdIPPCOj8FOF1qguZZyHrbbAkY1dqyFlr9
i3hXCYiM27FvGyELkxM/HuwqAMDUwbVgOUcv25WDKpD4NMbAwngIXOKpK6qlEihJ
uffCUJB+5wsAj6yc8mzF2Xtd/ThwIx3wZcQJpnhRcPadibkSB3Ts6oTAEvv7PxBr
B32AzssewhbpOVQ0EDAxSzZjUbkxh7lPjvDMW/jIcEpBtjj4YN4aWDc60T23rN52
WbnkP7NheOu/UIT8QxwfqmB9e2luR6hpR9SATfi01394LTm4UBN++lfxojGjsBdH
B8AaZLazXqGGZPJpnsy7FSHWxf51wdibVclJ2O5HeG+bRTj+0iHjYeN+phHCJkKa
FbVShwn0zE1Pk4tPhGQzwdkKmuN47ld+rKqYx/J5S+d+0pf3QVpHhuxBBvPTdL0B
lVcD5dVYyIcB1z3A6VwRUiqS+OnyJzB+cNu41/pw1gN6QAcb0BEOHvPSoeOYG22d
TyIBVZslJWPK2kAU66Y6veINJSKo9xIML0oVKZCFXF1xzdRPrPmP4SIz61rZZTNB
/Gxvc33gLPp8K7u68fXq
=73Ri
-----END PGP SIGNATURE-----

--=_14Pv1yrjtMyG8jTArdSSw8E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170909150335.Horde.wBLIPwBuhV3lyQlBxKud39f>