All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avijit Das <avijitnsec@live.com>
To: "selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>
Subject: File-system is not mounting when I am enabling selinux
Date: Mon, 21 Jul 2014 16:03:42 -0700	[thread overview]
Message-ID: <COL127-W260C753E546A18A707547AB1F00@phx.gbl> (raw)

[-- Attachment #1: Type: text/plain, Size: 2661 bytes --]

Hi,
I am trying to enable SELinux in Android platform. I am getting the following error message:
[   16.331402] init: invalid uid 'fm_radio'[   17.759590] EXT4-fs (mmcblk0p24): mounted filesystem with ordered data mode. Opts: barrier=1[   17.767028] SELinux: (dev mmcblk0p24, type ext4) has no security xattr handler[   17.775651] fs_mgr: __mount(source=/dev/block/bootdevice/by-name/system,target=/system,type=ext4)=-1[   17.783817] fs_mgr: Failed to mount an un-encryptable or wiped partition on/dev/block/bootdevice/by-name/system at /system options: barrier=1 error: Operation not supported on transport endpoint[   17.802215] EXT4-fs (mmcblk0p29): Ignoring removed nomblk_io_submit option[   17.821190] EXT4-fs (mmcblk0p29): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro[   17.830819] SELinux: (dev mmcblk0p29, type ext4) has no security xattr handler[   17.840383] fs_mgr: check_fs(): mount(/dev/block/bootdevice/by-name/userdata,/data,ext4)=-1[   17.847781] fs_mgr: Not running /system/bin/e2fsck on /dev/block/bootdevice/by-name/userdata (executable not in system image)[   17.865028] EXT4-fs (mmcblk0p29): mounted filesystem with ordered data mode. Opts: barrier=1,noauto_da_alloc[   17.873877] SELinux: (dev mmcblk0p29, type ext4) has no security xattr handler[   17.883072] fs_mgr: __mount(source=/dev/block/bootdevice/by-name/userdata,target=/data,type=ext4)=-1[   17.892845] fs_mgr: fs_mgr_mount_all(): possibly an encryptable blkdev /dev/block/bootdevice/by-name/userdata for mount /data type ext4 )[   17.904640] init: fs_mgr_mount_all returned an error[   17.909559] init (273) used greatest stack depth: 12824 bytes left[   17.915496] init: fs_mgr_mount_all returned unexpected error 255[   17.926673] EXT4-fs (mmcblk0p25): mounted filesystem with ordered data mode. Opts: barrier=1[   17.934144] SELinux: (dev mmcblk0p25, type ext4) has no security xattr handler[   17.948220] EXT4-fs (mmcblk0p26): mounted filesystem with ordered data mode. Opts: barrier=1[   17.955632] SELinux: (dev mmcblk0p26, type ext4) has no security xattr handler[   17.964734] SELinux: Could not set context for /persist:  Operation not supported on transport endpoint[   17.983614] SELinux: Could not set context for /cache:  Read-only file system

The device is booting fine to home screen, But executable files inside system/bin is not accessible. It seems system image is not getting mounted properly. And because of that we are not able to do adb shell. Is this a known issue?
I found this fix: http://permalink.gmane.org/gmane.comp.security.selinux/18999

Is this relevant?
Thanks,Avijit







 		 	   		  

[-- Attachment #2: Type: text/html, Size: 3672 bytes --]

             reply	other threads:[~2014-07-21 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21 23:03 Avijit Das [this message]
2014-07-22  4:51 ` File-system is not mounting when I am enabling selinux dE
2014-07-22 12:12 ` Christopher J. PeBenito
2014-07-23  1:40   ` Avijit Das
2014-07-22 12:26 ` Stephen Smalley

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=COL127-W260C753E546A18A707547AB1F00@phx.gbl \
    --to=avijitnsec@live.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.