[automated-testing] mknod is failing while creating character file
Tirumala Satya Prasad Desala
tdesala at redhat.com
Thu Jun 21 06:22:29 UTC 2018
SELinux blocks mknod file creation if the bricks are not correctly labeled.
Command to list the bricks with label: "ls -ldZ /<brick_path>"
It should have following:
drwxr-xr-x. root root system_u:object_r:glusterd_brick_t:s0 /<brick_path>
On Thu, Jun 21, 2018 at 11:37 AM, Nigel Babu <nigelb at redhat.com> wrote:
> Huh. This is strange. I'll test this out in a machine later today and let
> you know how it goes. This is weird, since you're already running as root.
> On Thu, Jun 21, 2018 at 10:25 AM Mohit Agrawal <moagrawa at redhat.com>
>> Hi Nigel,
>> One of my glusto test case i am getting permission denied error at the
>> time of creating character file by test case, the same test case is working
>> on my vm
>> Can you please confirm could it be specific to infrastructure issue, I
>> have checked
>> log also, in log also it is showing sys_mknod is failing with permission
>> For more please refer below
>> the command is failing
>> mknod /mnt/testvol_distributed-ispersed_glusterfs/special_a c 1 2
>> Mohit Agrawal
> automated-testing mailing list
> automated-testing at gluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the automated-testing