Re: 'Immutable bit' on pools to prevent deletion

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

 



On Thu, Jan 15, 2015 at 9:44 AM, Sage Weil <sweil@xxxxxxxxxx> wrote:
> In addition (or instead of) making the API harder to fat-finger, we could
> also add a mon config option like
>
>  mon allow pool deletion = false
>
> that defaults off.  Then, to delete any pool, you need to update ceph.conf
> and restart mons or inject the config option change (ceph daemon
> mon.`hostname` conig set ... on the leader) or the API will give you
> EPERM.
>
> This offers some protection even for client.admin key users if we prevent
> injectargs for that option (maybe feasible) and they don't have access to
> the actual mon machine.

What would that buy us? Preventing injectargs on it would require mon
restarts, which is unfortunate — and makes it sounds more like a
security feature than a safety blanket.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux