devd in jail

Alexander Leidinger Alexander at leidinger.net
Sat Sep 9 13:03:50 UTC 2017


Quoting Giulio Ferro <auryn at zirakzigil.org> (from Thu, 7 Sep 2017  
08:54:45 +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  
> it 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  
> section, 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  
jail-command source code, it looks like it should work there if it is  
OK in the kernel (no modification to the source of the jail-command  
necessary). This 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  
contain the patch.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander at Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild at FreeBSD.org  : PGP 0x8F31830F9F2772BF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20170909/b9162a6a/attachment.sig>


More information about the freebsd-hackers mailing list