From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 1/5] tools/hotplug: move XENSTORED_MOUNT_CTX to sysconfig.xencommons Date: Fri, 5 Dec 2014 16:51:49 +0100 Message-ID: <20141205155149.GA3065@aepfle.de> References: <1417781152-9926-1-git-send-email-olaf@aepfle.de> <1417781152-9926-2-git-send-email-olaf@aepfle.de> <20141205153500.GP1617@perard.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20141205153500.GP1617@perard.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Anthony PERARD Cc: Ian Jackson , Stefano Stabellini , Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, Dec 05, Anthony PERARD wrote: > On Fri, Dec 05, 2014 at 01:05:48PM +0100, Olaf Hering wrote: > > On a non-SELinux system the mount option "context=none" works fine. > > That's not true. I've tested 'context=none' on ArchLinux which have no > support (or limited) for selinux, and the option give this error: > "tmpfs: Bad mount option context" Appears to work for me, at least on SLE12. No idea how much SELinux they put in there. My old 11.4 behaves the same. Perhaps your kernel lacks certain functionality? I assome the error msg comes from the kernel. root@bax:~ # mount -vt tmpfs xxx -o context=foo /mnt/ mount: xxx mounted on /mnt. root@bax:~ # grep mnt /proc/mounts xxx /mnt tmpfs rw,relatime 0 0 Olaf