rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.45k stars 657 forks source link

ZFS binaies #2057

Open zimme opened 7 years ago

zimme commented 7 years ago

RancherOS Version: 1.0.4

Where are you running RancherOS? baremetal

From zfsonlinux 0.7.0 release notes.

Non-privileged users are allowed to run zpool list, zpool iostat, zpool status, zpool get, zfs list, and zfs get. These commands no longer need to be added to the /etc/sudoers file.

I'm not sure if we add zpool and zfs from bin to sbin or if we just copy them from sbin to sbin after the build script has run and we run zfs-tools. But as sudo shouldn't be needed for these commands any longer we should maybe look into adding these binaries to bin instead of sbin.

SvenDowideit commented 7 years ago

ugh. we basically can't do that - we don't copy/link the commands into the console container, instead we "wonka.sh" them - so they get called with system-docker exec -it zfstools zpool

zimme commented 7 years ago

Aaah ok, well... Should this issue be kept open in hopes a solution could be found in the future?

SvenDowideit commented 7 years ago

definitely :D