devd in jail
auryn at zirakzigil.org
auryn at zirakzigil.org
Thu Sep 7 07:45:31 UTC 2017
On 06/09/2017 22:19, Alexander Leidinger wrote:
>
> Quoting Giulio Ferro <auryn at zirakzigil.org> (from Wed, 6 Sep 2017
> 14:13:52 +0200):
>
>> Hi Alexander,
>>
>> I've installed everything after my custom kernel was installed. And as
>> I said, it differs from GENERIC only for the addition of VIMAGE and
>> bridge.
>>
>> What I can try to do is installing your patches so to remove the devd
>> issue, and see if it starts like this.
>>
>> Can you point me to patches for 11.1 stable?
>
> Attached, patch against releng-11.1. Beware, this is not even
> compile-tested. And you need the modifications described in a previous
> mail for /etc/devfs.rules.
>
> Bye,
> Alexander.
>
Hi Alexander,
I've applied the patch, compiled and install the new kernel.
Here's my jail.conf
------------------------------------------------------------
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.clean;
mount.devfs;
devfs_ruleset=1;
allow.kmem_access;
path = "/usr/home/jails/$name";
xx {
host.hostname = "xx.xx.xx";
vnet;
vnet.interface = epair0b, epair1b;
persist;
}
------------------------------------------------------------
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?
More information about the freebsd-hackers
mailing list