LoginSignup
0
0

More than 5 years have passed since last update.

brillo emulatorを動かして見る

Last updated at Posted at 2015-11-25

動かしてみよう

前回 は、とりあえずbuildしてみましたが、buildしたemulatorを起動してみましょう.

brilloemulator-armを実行してみると。。。

~/work/brillo/out/host/linux-x86/bin$ ./brilloemulator-arm 
Starting emulator with 1024MB memory
./brilloemulator-arm: 行 43: /prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64: そのようなファイルやディレクトリはありません

あれ?行?

中を見てみると、shell script

~/work/brillo/out/host/linux-x86/bin$ cat ./brilloemulator-arm
#!/bin/bash
..snip..
echo Starting emulator with ${MEM}MB memory

${ANDROID_BUILD_TOP}/prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64/qemu-system-aarch64 \
  -M vexpress-a9 \
  -m ${MEM}M \
  -kernel ${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/kernel \
  -append "console=ttyAMA0 ro root=/dev/sda androidboot.hardware=qemu qemu=1 rootwait noinitrd init=/init androidboot.selinux=enforcing" \
  -nographic \
  -device virtio-scsi-device,id=scsi \
  -device scsi-hd,drive=system \
  -drive file="${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/system.img,if=none,id=system,format=raw" \
  -device scsi-hd,drive=userdata \
  -drive file="${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/userdata.img,if=none,id=userdata,format=raw" \
  -redir tcp:5555::5555 \
  -dtb ${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/kernel-dtb

なんか、これそのままたたいたら動かないかな・・・
というわけで、直接動かしてみましょう。。。

うごいた!

~/work/brillo/prebuilts/android-emulator/linux-x86_64/qemu/linux-x86_64$ ./qemu-system-aarch64  \
>   -M vexpress-a9 \
> -m 1024M \
>   -kernel ${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/kernel \
>   -append "console=ttyAMA0 ro root=/dev/sda androidboot.hardware=qemu qemu=1 rootwait noinitrd init=/init androidboot.selinux=enforcing" \
>   -nographic \
>   -device virtio-scsi-device,id=scsi \
>   -device scsi-hd,drive=system \
>   -drive file="${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/system.img,if=none,id=system,format=raw" \
>   -device scsi-hd,drive=userdata \
>   -drive file="${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/userdata.img,if=none,id=userdata,format=raw" \
>   -redir tcp:5555::5555 \
>   -dtb ${ANDROID_BUILD_TOP}/out/target/product/brilloemulator_arm/kernel-dtb
pulseaudio: set_sink_input_volume() failed
pulseaudio: Reason: Invalid argument
pulseaudio: set_sink_input_mute() failed
pulseaudio: Reason: Invalid argument
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Linux version 3.18.0+ (hidenorly@hidenorly-VirtualBox) (gcc version 4.9.x-google 20150123 (prerelease) (GCC) ) #1 SMP Thu Nov 26 00:08:02 JST 2015
CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine model: V2P-CA9
Memory policy: Data cache writeback
CPU: All CPU(s) started in SVC mode.
PERCPU: Embedded 7 pages/cpu @bf7cb000 s8128 r0 d20544 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttyAMA0 ro root=/dev/sda androidboot.hardware=qemu qemu=1 rootwait noinitrd init=/init androidboot.selinux=enforcing
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14864(90%)
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1029676K/1048576K available (6301K kernel code, 229K rwdata, 1120K rodata, 279K init, 189K bss, 18900K reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
      .text : 0x80008000 - 0x8083f438   (8414 kB)
      .init : 0x80900000 - 0x80945fc0   ( 280 kB)
      .data : 0x80a00000 - 0x80a394e0   ( 230 kB)
       .bss : 0x80a394e0 - 0x80a68cb4   ( 190 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
    RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
NR_IRQS:16 nr_irqs:16 16
GIC CPU mask not found - kernel will fail to boot.
GIC CPU mask not found - kernel will fail to boot.
L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
L2C: device tree omits to specify unified cache
L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 dynamic clock gating disabled, standby mode disabled
L2C-310 cache controller enabled, 8 ways, 128 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x46420001
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
Console: colour dummy device 80x30
Calibrating delay loop... 570.16 BogoMIPS (lpj=2850816)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux:  Initializing.
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x6065ea48 - 0x6065eaa0
Brought up 1 CPUs
SMP: Total of 1 processors activated.
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 0
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e0000
of_amba_device_create(): amba_device_add() failed (-19) for /memory-controller@100e1000
of_amba_device_create(): amba_device_add() failed (-19) for /watchdog@100e5000
of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/sysctl@01000
of_amba_device_create(): amba_device_add() failed (-19) for /smb/motherboard/iofpga@7,00000000/wdt@0f000
hw-breakpoint: debug architecture 0x4 unsupported.
Serial: AMBA PL011 UART driver
uart-pl011 10009000.uart: ttyAMA0 at MMIO 0x10009000 (irq = 37, base_baud = 0) is a PL011 rev1
console [ttyAMA0] enabled
uart-pl011 1000a000.uart: ttyAMA1 at MMIO 0x1000a000 (irq = 38, base_baud = 0) is a PL011 rev1
uart-pl011 1000b000.uart: ttyAMA2 at MMIO 0x1000b000 (irq = 39, base_baud = 0) is a PL011 rev1
uart-pl011 1000c000.uart: ttyAMA3 at MMIO 0x1000c000 (irq = 40, base_baud = 0) is a PL011 rev1
3V3: 3300 mV 
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arm,sp804
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 1 counters available
futex hash table entries: 1024 (order: 4, 65536 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.650:1): initialized
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
9p: Installing v9fs 9p2000 file system support
msgmni has been set to 2011
io scheduler noop registered (default)
clcd-pl11x 10020000.clcd: PL111 rev2 at 0x10020000
clcd-pl11x 10020000.clcd: /clcd@10020000 hardware, 1024x768@59 display
Console: switching to colour frame buffer device 128x48
clcd-pl11x 1001f000.clcd: PL111 rev2 at 0x1001f000
clcd-pl11x 1001f000.clcd: /smb/motherboard/iofpga@7,00000000/clcd@1f000 hardware, 640x480@59 display
VD10: at 1000 mV 
VD10_S2: at 1000 mV 
VD10_S3: at 1000 mV 
VCC1V8: at 1800 mV 
DDR2VTT: at 900 mV 
VCC3V3: at 3300 mV 
VIO: at 3300 mV 
scsi host0: Virtio SCSI HBA
scsi 0:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.2. PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.2. PQ: 0 ANSI: 5
scsi 0:0:2:0: CD-ROM            QEMU     QEMU CD-ROM      2.2. PQ: 0 ANSI: 5
40000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
40000000.flash: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000000 Chip ID 0x000000
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
Concatenating MTD devices:
(0): "40000000.flash"
(1): "40000000.flash"
into device "40000000.flash"
sd 0:0:0:0: [sda] 1536000 512-byte logical blocks: (786 MB/750 MiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:1:0: [sdb] 1126400 512-byte logical blocks: (576 MB/550 MiB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
libphy: smsc911x-mdio: probed
 sdb: unknown partition table
sd 0:0:1:0: [sdb] Attached SCSI disk
 sda: unknown partition table
sd 0:0:0:0: [sda] Attached SCSI disk
smsc911x 4e000000.ethernet eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4e000000.etherne:01, irq=-1)
smsc911x 4e000000.ethernet eth0: MAC Address: 52:54:00:12:34:56
nxp-isp1760 4f000000.usb: NXP ISP1760 USB Host Controller
nxp-isp1760 4f000000.usb: new USB bus registered, assigned bus number 1
nxp-isp1760 4f000000.usb: Scratch test failed.
nxp-isp1760 4f000000.usb: can't setup: -19
nxp-isp1760 4f000000.usb: USB bus 1 deregistered
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
rtc-pl031 10017000.rtc: rtc core: registered pl031 as rtc0
mmci-pl18x 10005000.mmci: Got CD GPIO
mmci-pl18x 10005000.mmci: Got WP GPIO
mmci-pl18x 10005000.mmci: No vqmmc regulator found
mmci-pl18x 10005000.mmci: mmc0: PL181 manf 41 rev0 at 0x10005000 irq 41,42 (pio)
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ashmem: initialized
aaci-pl041 10004000.aaci: ARM AC'97 Interface PL041 rev0 at 0x10004000, irq 43
aaci-pl041 10004000.aaci: FIFO 512 entries
oprofile: using arm/armv7-ca9
nf_conntrack version 0.5.0 (16088 buckets, 64352 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
9pnet: Installing 9P2000 support
Registering SWP/SWPB emulation handler
input: AT Raw Set 2 keyboard as /devices/smb/smb:motherboard/smb:motherboard:iofpga@7,00000000/10006000.kmi/serio0/input/input0
rtc-pl031 10017000.rtc: setting system clock to 2015-11-25 15:56:09 UTC (1448466969)
ALSA device list:
  #0: ARM AC'97 Interface PL041 rev0 at 0x10004000, irq 43
input: ImExPS/2 Generic Explorer Mouse as /devices/smb/smb:motherboard/smb:motherboard:iofpga@7,00000000/10007000.kmi/serio1/input/input2
EXT3-fs (sda): error: couldn't mount because of unsupported optional features (40)
EXT2-fs (sda): error: couldn't mount because of unsupported optional features (40)
EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:0.
Freeing unused kernel memory: 276K (80900000 - 80945000)
init: init first stage started!
audit: type=1403 audit(1448466970.340:2): policy loaded auid=4294967295 ses=4294967295
audit: type=1404 audit(1448466970.350:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
init: (Initializing SELinux enforcing took 0.07s.)
init: init second stage started!
init: Running restorecon...
init: waitpid failed: No child processes
init: (Loading properties from /default.prop took 0.00s.)
init: property 'ro.zygote' doesn't exist while expanding '/init.${ro.zygote}.rc'
init: /init.rc: 10: error while expanding import
init: /init.environ.rc: 10: export requires 2 arguments
init: /init.environ.rc: 11: export requires 2 arguments
init: (Parsing /init.environ.rc took 0.00s.)
init: (Parsing /init.usb.rc took 0.00s.)
init: (Parsing /init.qemu.rc took 0.01s.)
init: (Parsing /init.rc took 0.06s.)
init: Starting service 'ueventd'...
init: Waiting for /dev/.coldboot_done...
ueventd: ueventd started!
ueventd: Coldboot took 0.60s.
init: Waiting for /dev/.coldboot_done took 0.67s.
init: /dev/hw_random not found
init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': No such file or directory
init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': No such file or directory
init: write_file: Unable to open '/proc/sys/kernel/sched_compat_yield': No such file or directory
audit: type=1400 audit(1448466971.310:4): avc:  denied  { create } for  pid=1 comm="init" name="cpu.shares" scontext=u:r:init:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=file permissive=0
init: write_file: Unable to open '/dev/cpuctl/cpu.shares': Permission denied
audit: type=1400 audit(1448466971.330:5): avc:  denied  { create } for  pid=1 comm="init" name="cpu.rt_runtime_us" scontext=u:r:init:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=file permissive=0
init: write_file: Unable to open '/dev/cpuctl/cpu.rt_runtime_us': Permission denied
audit: type=1400 audit(1448466971.330:6): avc:  denied  { create } for  pid=1 comm="init" name="cpu.rt_period_us" scontext=u:r:init:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=file permissive=0
init: write_file: Unable to open '/dev/cpuctl/cpu.rt_period_us': Permission denied
audit: type=1400 audit(1448466971.330:7): avc:  denied  { create } for  pid=1 comm="init" name="cpu.shares" scontext=u:r:init:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=file permissive=0
init: write_file: Unable to open '/dev/cpuctl/bg_non_interactive/cpu.shares': Permission denied
audit: type=1400 audit(1448466971.340:8): avc:  denied  { create } for  pid=1 comm="init" name="cpu.rt_runtime_us" scontext=u:r:init:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=file permissive=0
init: write_file: Unable to open '/dev/cpuctl/bg_non_interactive/cpu.rt_runtime_us': Permission denied
audit: type=1400 audit(1448466971.340:9): avc:  denied  { create } for  pid=1 comm="init" name="cpu.rt_period_us" scontext=u:r:init:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=file permissive=0
init: write_file: Unable to open '/dev/cpuctl/bg_non_interactive/cpu.rt_period_us': Permission denied
init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
init: /dev/hw_random not found
EXT4-fs (sdb): Ignoring removed nomblk_io_submit option
EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
fs_mgr: check_fs(): mount(/dev/block/sdb,/data,ext4)=0: Success
fs_mgr: check_fs(): unmount(/data) succeeded
fs_mgr: Not running /system/bin/e2fsck on /dev/block/sdb (executable not in system image)
EXT4-fs (sdb): Ignoring removed nomblk_io_submit option
EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=panic
fs_mgr: __mount(source=/dev/block/sdb,target=/data,type=ext4)=0
init: (Parsing /system/etc/init/avahi-daemon.rc took 0.00s.)
init: (Parsing /system/etc/init/bluetoothtbd.rc took 0.00s.)
init: (Parsing /system/etc/init/brillo.rc took 0.00s.)
init: (Parsing /system/etc/init/crash_reporter.rc took 0.00s.)
init: (Parsing /system/etc/init/firewalld.rc took 0.00s.)
init: (Parsing /system/etc/init/keystore.rc took 0.00s.)
init: (Parsing /system/etc/init/logcatd.rc took 0.00s.)
init: (Parsing /system/etc/init/logd.rc took 0.00s.)
init: (Parsing /system/etc/init/mediaserver.rc took 0.00s.)
init: (Parsing /system/etc/init/metrics_daemon.rc took 0.00s.)
init: (Parsing /system/etc/init/nativepowerman.rc took 0.00s.)
init: (Parsing /system/etc/init/perfprofd.rc took 0.00s.)
init: (Parsing /system/etc/init/sensorservice.rc took 0.00s.)
init: (Parsing /system/etc/init/servicemanager.rc took 0.00s.)
init: (Parsing /system/etc/init/shill.rc took 0.00s.)
init: (Parsing /system/etc/init/tlsdated.rc took 0.00s.)
init: (Parsing /system/etc/init/update_engine.rc took 0.00s.)
init: (Parsing /system/etc/init/weaved.rc took 0.00s.)
init: (Parsing /system/etc/init/webservd.rc took 0.00s.)
init: Starting service 'logd'...
EXT4-fs (sda): re-mounted. Opts: (null)
init: do_start: Service vold not found
init: Not bootcharting.
random: logd urandom read with 64 bits of entropy available
init: cannot find '/system/bin/tzdatacheck' (No such file or directory), disabling 'exec 1 (/system/bin/tzdatacheck)'
init: (Loading properties from /system/build.prop took 0.01s.)
init: (Loading properties from /vendor/build.prop took 0.00s.)
init: (Loading properties from /factory/factory.prop took 0.00s.)
init: (Loading properties from /data/local.prop took 0.00s.)
fs_mgr: Cannot open file /fstab.qemu
init: unable to read fstab /fstab.qemu: No such file or directory
init: Starting service 'logd-reinit'...
audit: type=1400 audit(1448466971.980:10): avc:  denied  { search } for  pid=1039 comm="logd" name="cpuctl" dev="tmpfs" ino=748 scontext=u:r:logd:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=dir permissive=0
init: cannot find '/sbin/healthd' (No such file or directory), disabling 'healthd'
init: Starting service 'wifi-setup'...
init: Starting service 'dbus'...
init: Starting service 'servicemanager'...
init: Starting service 'initnetwork'...
init: Starting service 'firewall-setup'...
init: Starting service 'console'...
init: Starting service 'adbd'...
init: cannot find '/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery'
init: Starting service 'avahi-daemon'...
init: Starting service 'bluetoothtbd'...
init: Starting service 'wpa_supplicant'...
init: Starting service 'keystore'...
init: Starting service 'media'...
init: Starting service 'nativepowerman'...
init: Starting service 'sensorservice'...
init: Starting service 'crash_reporter'...
init: Starting service 'crash_sender'...
init: Starting service 'metrics_daemon'...
init: Starting service 'perfprofd'...
init: Starting service 'shill'...
init: Starting service 'tlsdated'...
init: Starting service 'update_engine'...
init: Starting service 'weaved'...
init: Starting service 'webservd'...
init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory
init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory
init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory
init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
init: Service 'logd-reinit' (pid 1040) exited with status 194
logd.daemon: reinit
logd.auditd: start
logd.klogd: 6149055000
$ random: nonblocking pool is initialized
init: Service 'crash_reporter' (pid 1056) exited with status 0
smsc911x 4e000000.ethernet eth0: SMSC911x/921x identified at 0xc0aa0000, IRQ: 47
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
init: Service 'wifi-setup' (pid 1042) exited with status 0
init: Untracked pid 1096 exited with status 0
init: Service 'initnetwork' (pid 1045) exited with status 0
capability: warning: `wpa_supplicant' uses 32-bit capabilities (legacy support in use)
type=1400 audit(1448466976.510:11): avc: denied { write } for pid=1039 comm="logd" name="property_service" dev="tmpfs" ino=528 scontext=u:r:logd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
type=1400 audit(1448466977.090:12): avc: denied { write } for pid=1039 comm="logd" name="property_service" dev="tmpfs" ino=528 scontext=u:r:logd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
type=1400 audit(1448466977.210:13): avc: denied { write } for pid=1039 comm="logd" name="property_service" dev="tmpfs" ino=528 scontext=u:r:logd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
type=1400 audit(1448466978.490:14): avc: denied { write } for pid=1039 comm="logd" name="property_service" dev="tmpfs" ino=528 scontext=u:r:logd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
type=1400 audit(1448466980.620:15): avc: denied { write } for pid=1060 comm="logd.writer" name="property_service" dev="tmpfs" ino=528 scontext=u:r:logd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
type=1400 audit(1448466980.940:16): avc: denied { write } for pid=1060 comm="logd.writer" name="property_service" dev="tmpfs" ino=528 scontext=u:r:logd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
type=1400 audit(1448466981.500:17): avc: denied { search } for pid=1094 comm="bluetoothtbd" name="cpuctl" dev="tmpfs" ino=748 scontext=u:r:bluetoothtbd:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=dir permissive=0
type=1400 audit(1448466982.270:18): avc: denied { search } for pid=1052 comm="keystore" name="cpuctl" dev="tmpfs" ino=748 scontext=u:r:keystore:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=dir permissive=0
type=1400 audit(1448466982.280:19): avc: denied { search } for pid=1055 comm="Binder_2" name="cpuctl" dev="tmpfs" ino=748 scontext=u:r:sensorservice:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=dir permissive=0
type=1400 audit(1448466982.320:20): avc: denied { sys_nice } for pid=1055 comm="Binder_2" capability=23 scontext=u:r:sensorservice:s0 tcontext=u:r:sensorservice:s0 tclass=capability permissive=0
type=1400 audit(1448466982.320:21): avc: denied { sys_nice } for pid=1098 comm="sensorservice" capability=23 scontext=u:r:sensorservice:s0 tcontext=u:r:sensorservice:s0 tclass=capability permissive=0
type=1400 audit(1448466982.320:22): avc: denied { sys_nice } for pid=1098 comm="Binder_1" capability=23 scontext=u:r:sensorservice:s0 tcontext=u:r:sensorservice:s0 tclass=capability permissive=0
type=1400 audit(1448466982.330:23): avc: denied { sys_nice } for pid=1098 comm="Binder_1" capability=23 scontext=u:r:sensorservice:s0 tcontext=u:r:sensorservice:s0 tclass=capability permissive=0
type=1400 audit(1448466990.980:24): avc: denied { search } for pid=1119 comm="mediaserver" name="cpuctl" dev="tmpfs" ino=748 scontext=u:r:mediaserver:s0 tcontext=u:object_r:cpuctl_device:s0 tclass=dir permissive=0
init: Starting service 'firewalld'...
init: Service 'firewall-setup' (pid 1046) exited with status 0

$ 

をを、動いているようです。
こっコンソール。。。

気になるのは、たくさんselinuxのaudit logで、deniedが出ていること。
これpermissiveにしないとまともに動かないのでは・・・。

つづく。。。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0