All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Chadwick <brianchad@westnet.com.au>
To: linux-f2fs-devel@lists.sourceforge.net
Subject: SELinux context not working
Date: Thu, 19 Jun 2014 20:32:43 +1000	[thread overview]
Message-ID: <53A2BC4B.9040203@westnet.com.au> (raw)

Hi

I cant get file contexts to work with F2FS. I have tried a variety of 
kernels up to the latest 3.16rc1 with the Security Labels option 
selected in the config. I am using the latest git of f2fs-tools.

But when I try to set a security context I get the following:

chcon: failed to change context of ‘/mnt/f2fs/sig’ to 
‘system_u:--reference=/home/brian/sig:unlabeled_t:s0’: Operation not 
supported

cp -a also seems unable to set the correct context.

Is there a bug or am I missing something?

mount details are:

/dev/sda6 on /mnt/f2fs type f2fs 
(rw,relatime,background_gc=on,user_xattr,acl,active_logs=6)

Kind regards

Brian Chadwick

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems

             reply	other threads:[~2014-06-19 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-19 10:32 Brian Chadwick [this message]
2014-06-19 11:27 ` SELinux context not working Jaegeuk Kim
     [not found]   ` <53A2D41E.1080807@westnet.com.au>
2014-06-19 15:33     ` Jaegeuk Kim
2014-06-19 17:54       ` JP Abgrall
     [not found]       ` <53A3879A.8030104@westnet.com.au>
2014-06-20  5:00         ` Jaegeuk Kim
     [not found]           ` <53A3C385.8070902@westnet.com.au>
2014-06-20  6:21             ` Jaegeuk Kim
     [not found]               ` <53A42E13.6080309@westnet.com.au>
2014-06-22 11:20                 ` Jaegeuk Kim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53A2BC4B.9040203@westnet.com.au \
    --to=brianchad@westnet.com.au \
    --cc=linux-f2fs-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.