diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2018-12-12 12:10:44 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-12-17 06:45:46 +0000 |
commit | f0c46df09fe542d6a365adc0c544ba460598501c (patch) | |
tree | 0e51987d8d39d3481986c830feeaa45748c867e9 /xlators/mgmt/glusterd/src/glusterd-volume-set.c | |
parent | 152907d438bf8bb571e43ec278ec7b01da2431a6 (diff) | |
download | glusterfs-f0c46df09fe542d6a365adc0c544ba460598501c.tar.gz glusterfs-f0c46df09fe542d6a365adc0c544ba460598501c.tar.xz glusterfs-f0c46df09fe542d6a365adc0c544ba460598501c.zip |
selinux/glusterd : add "features.selinux" to glusterd-volume-set.c
Fixes: bz#1659868
Change-Id: I38675ba4d47c8ba7f94cfb4734692683ddb3dcfd
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 39e31a295d..755c13ed29 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -2850,6 +2850,15 @@ struct volopt_map_entry glusterd_volopt_map[] = { .voltype = "cluster/replicate", .op_version = GD_OP_VERSION_3_11_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, + {.key = VKEY_FEATURES_SELINUX, + .voltype = "features/selinux", + .type = NO_DOC, + .value = "on", + .op_version = GD_OP_VERSION_3_11_0, + .description = "Convert security.selinux xattrs to " + "trusted.gluster.selinux on the bricks. Recommended " + "to have enabled when clients and/or bricks support " + "SELinux."}, {.key = GLUSTERD_LOCALTIME_LOGGING_KEY, .voltype = "mgmt/glusterd", .type = GLOBAL_DOC, |