On 05/29/2015 07:19 PM, NeilBrown wrote:
On Fri, 29 May 2015 19:13:38 +0800 XiaoNi <xni@xxxxxxxxxx> wrote:
And it's really the problem about selinux. The patch works after the
command "setenforce 0". It need the patch you gave. Is it right
to setenforce 0 every time? I'll read the doc about selinux.
I know nothing about selinux, and don't really want to.
Presumably selinux needs to be told that mdadm, when run from systemd, can
access all block devices.
If there is something I can add to the system unit file to make this happen
I am happy to, but I would need someone to tell me what.
Glad you are making progress and learning a lot!!
NeilBrown
But it really need the patch you gave several days before. I already
tried without the patch, reshape can be
stuck even selinux is set to Permissive.
And it's a problem with systemd and selinux too. If I run mdadm --grow
--continue /dev/md0, the reshape can start.
If I run systemctl start mdadm-grow-continue@md0.service, it can't
start. I'll look for the answer.
Best Regards
Xiao
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html