From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: Re: [PATCH 1/7] tools/hotplug: remove SELinux options from var-lib-xenstored.mount Date: Thu, 10 Sep 2015 14:52:45 +0100 Message-ID: References: <1418988333-5404-1-git-send-email-olaf@aepfle.de> <1418988333-5404-2-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1418988333-5404-2-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Wei Liu , Ian Campbell , Stefano Stabellini , "Luis R. Rodriguez" , Ian Jackson , "xen-devel@lists.xen.org" , M A Young , Anthony PERARD List-Id: xen-devel@lists.xenproject.org On Fri, Dec 19, 2014 at 11:25 AM, Olaf Hering wrote: > Using SELinux mount options per default breaks several systems. > Either the context= mount option is not known at all to the kernel, > as reported for ArchLinux. Or the default value "none" is unknown to > SELinux, as reported for Fedora. In both cases the unit will fail. > > The proper place to specify mount options is /etc/fstab. Appearently > systemd is kind enough to use values from there even if Options= or > What= is specified in a .mount file. For the benefit of someone moonlighting as a CentOS package maintainer, could you tell me how adding such an entry in a package is normally done? Or alternately, how you would recommend a package maintainer to add the appropriate context? -George