All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Smalley <sds@tycho.nsa.gov>
To: Devendra Talegaonkar <Devendra.Talegaonkar@kpitcummins.com>
Cc: Daniel J Walsh <dwalsh@redhat.com>, SELinux <selinux@tycho.nsa.gov>
Subject: RE: SELinux query
Date: Wed, 08 Feb 2012 08:33:52 -0500	[thread overview]
Message-ID: <1328708032.19254.23.camel@moss-pluto> (raw)
In-Reply-To: <A2F8C1DC917AEC409BE49BB1E1DEF34D1FDF7253@KCHJEXMB02.kpit.com>

On Wed, 2012-02-08 at 09:50 +0000, Devendra Talegaonkar wrote:
> Hello,
> I am trying to load policy in kernel with  load_policy utility.
> Selinuxfs is mounted on /selinux and there is enough space on the /selinux. But at the time of  mounting it is giving me error as "No space left on device"
> Can you please guide on this?

- Need to know what libselinux you are using, e.g. the upstream one (if
so, what version) or the port to Android.
- Need to know what load_policy you are using, e.g. the one from
policycoreutils (if so, what version), the port to busybox (if so, what
version), or the port to Android toolbox.
- The actual error message would be helpful.
- strace of the failed load_policy would be helpful, if you have a
working strace for that target.
- libselinux was recently changed to mount selinuxfs on /sys/fs/selinux
and look for it there first, falling back to /selinux if it isn't there.
Don't know if that might be making a difference for you.

-- 
Stephen Smalley
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

      parent reply	other threads:[~2012-02-08 13:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <A2F8C1DC917AEC409BE49BB1E1DEF34D1FDF6F78@KCHJEXMB02.kpit.com>
     [not found] ` <4F2FE956.3050403@redhat.com>
     [not found]   ` <A2F8C1DC917AEC409BE49BB1E1DEF34D1FDF7074@KCHJEXMB02.kpit.com>
2012-02-07 17:02     ` SELinux query Daniel J Walsh
2012-02-07 17:37       ` Stephen Smalley
     [not found]         ` <A2F8C1DC917AEC409BE49BB1E1DEF34D1FDF7253@KCHJEXMB02.kpit.com>
2012-02-08 13:33           ` Stephen Smalley [this message]

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=1328708032.19254.23.camel@moss-pluto \
    --to=sds@tycho.nsa.gov \
    --cc=Devendra.Talegaonkar@kpitcummins.com \
    --cc=dwalsh@redhat.com \
    --cc=selinux@tycho.nsa.gov \
    /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.