jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] zfs access


From: Olivier Sessink
Subject: Re: [Jailkit-users] zfs access
Date: Fri, 11 May 2018 12:05:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 10-05-18 13:58, Member Horvath wrote:
> Hi,
> I see you provide a zfs section in the jk_init file so this must have
> been considered.
> I cannot get zfs to work when running in the jail
> zfs commands fail with 
> The ZFS modules are not loaded.
> Try running '/sbin/modprobe zfs' as root to load them.
>
> Something but I don't know what is missing in the jail to allow this
> to run.
> Any any ideas?
I've no experience at all with zfs, so I can only give you some general
clues:

- possible there is some interface in /sys or /proc that is needed by
these tools?

- possibly these tools need to run as root? (and as root you can easily
escape a jail, so the jk_* tools strip any setuid root bits from
executables)

- have you tried strace to find out what goes wrong? See
https://olivier.sessink.nl/jailkit/howtos_debug_jails.html

Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]