Re: meta-selinux issues. Depending on what I put in my local.conf, I get boot loops or can't log in.


Brian Hutchinson <b.hutchman@...>
 


imx8mmevk login: root
Last login: Fri May 14 14:05:04 UTC 2021 on ttymxc1
[  102.258579] audit: type=1107 audit(1621001122.465:14): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='avc:  denied  { start } for auid=n/a uid=0 gid=0 path="/lib/systemd/system/user@.service" cmdline="/lib/systemd/sy0
[  102.258579]  exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
Cannot execute /bin/sh: No such f[  102.298664] audit: type=1107 audit(1621001122.481:15): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='avc:  denied  { start } for auid=n/a uid=0 gid=0 path="/run/systemd/transient/ses0

There was an error: Cannot execute /bin/sh: No such file

Would you please check this file in your rootfs ?

You can add "selinux=1 enforcing=0" to your kernel boot cmdline to enable selinux permissive mode. Then you can easy to debug.


//Yi


Hi Yi,

I never could figure out which specific file wasn't found.

I did however pass "selinux=1 enforcing=0" to kernel and can now log in.  But of course selinux isn't in "enforcing" mode.

I do get tons of audit messages.  Does this mean I need to do "policy work" to address these messages and get back to "enforcing" mode?  I guess I still don't understand the issues here ... again new to selinux.

Will copy latest log of booting below.

Thanks,

Brian

local.conf:

MACHINE ??= 'imx8mmevk'
DISTRO ?= 'poky'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
DISTRO_FEATURES_remove = " sysvinit"
DISTRO_FEATURES_append += " acl xattr pam selinux systemd"
#PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-minimum"
PREFERRED_PROVIDER_virtual/refpolicy ?= "refpolicy-mcs"
VIRTUAL-RUNTIME_init_manager = "systemd"
#DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
DISTRO_FEATURES_BACKFILL_CONSIDERED = ""
#VIRTUAL-RUNTIME_initscripts = ""
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
#IMAGE_INSTALL_append = " packagegroup-core-selinux"
CORE_IMAGE_EXTRA_INSTALL += " packagegroup-core-selinux"
DISTRO_FEATURES_remove = "3g bluetooth wifi pci pcmcia wayland x11 opengl irda directfb"
IMAGE_FSTYPES += " tar.bz2 ext4 wic.bz2 wic.bmap"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
   STOPTASKS,${TMPDIR},1G,100K \
   STOPTASKS,${DL_DIR},1G,100K \
   STOPTASKS,${SSTATE_DIR},1G,100K \
   STOPTASKS,/tmp,100M,100K \
   ABORT,${TMPDIR},100M,1K \
   ABORT,${DL_DIR},100M,1K \
   ABORT,${SSTATE_DIR},100M,1K \
   ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.114+gf9a9b58ef7cc (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Thu Apr 22 11:48:16 UTC 2021
[    0.000000] Machine model: FSL i.MX8MM EVK board
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options '115200')
[    0.000000] printk: bootconsole [ec_imx6q0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000078000000, size 640 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbdbe0500-0xbdbe1fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000b7ffffff]
[    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000b83fffff]
[    0.000000]   node   0: [mem 0x00000000b8400000-0x00000000bdffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bdffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 24 pages/cpu s58904 r8192 d31208 u98304
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 508032
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200 selinux=1 enforcing=0 rootwait ro root=/dev/mmcblk2p2 rauc.slot=B
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1336216K/2064384K available (16508K kernel code, 1234K rwdata, 6480K rodata, 2880K init, 1038K bss, 72808K reserved, 655360K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 128 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] random: get_random_bytes called from start_kernel+0x2b8/0x43c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000003] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.008456] Console: colour dummy device 80x25
[    0.012581] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=32000)
[    0.022844] pid_max: default: 32768 minimum: 301
[    0.027542] LSM: Security Framework initializing
[    0.032140] SELinux:  Initializing.
[    0.035679] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.043062] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.052065] ASID allocator initialised with 32768 entries
[    0.056439] rcu: Hierarchical SRCU implementation.
[    0.062123] EFI services will not be available.
[    0.065889] smp: Bringing up secondary CPUs ...
[    0.070645] Detected VIPT I-cache on CPU1
[    0.070669] GICv3: CPU1: found redistributor 1 region 0:0x00000000388a0000
[    0.070699] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.071094] Detected VIPT I-cache on CPU2
[    0.071111] GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
[    0.071129] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.071498] Detected VIPT I-cache on CPU3
[    0.071512] GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
[    0.071527] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.071579] smp: Brought up 1 node, 4 CPUs
[    0.126888] SMP: Total of 4 processors activated.
[    0.131607] CPU features: detected: 32-bit EL0 Support
[    0.136781] CPU features: detected: CRC32 instructions
[    0.148799] CPU: All CPU(s) started at EL2
[    0.150070] alternatives: patching kernel code
[    0.155972] devtmpfs: initialized
[    0.163712] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.170666] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.194350] pinctrl core: initialized pinctrl subsystem
[    0.197431] DMI not present or invalid.
[    0.200869] NET: Registered protocol family 16
[    0.212126] DMA: preallocated 256 KiB pool for atomic allocations
[    0.215425] audit: initializing netlink subsys (disabled)
[    0.221074] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.228628] cpuidle: using governor menu
[    0.233081] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.240148] Serial: AMBA PL011 UART driver
[    0.243532] imx mu driver is registered.
[    0.247422] imx rpmsg driver is registered.
[    0.256559] imx8mm-pinctrl 30330000.pinctrl: initialized IMX pinctrl driver
[    0.277795] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.281689] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.288409] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.295145] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.302773] cryptd: max_cpu_qlen set to 1000
[    0.309110] ACPI: Interpreter disabled.
[    0.310834] iommu: Default domain type: Translated  
[    0.315168] vgaarb: loaded
[    0.317981] SCSI subsystem initialized
[    0.321822] usbcore: registered new interface driver usbfs
[    0.327027] usbcore: registered new interface driver hub
[    0.332343] usbcore: registered new device driver usb
[    0.338578] mc: Linux media interface: v0.10
[    0.341707] videodev: Linux video capture interface: v2.00
[    0.347255] pps_core: LinuxPPS API ver. 1 registered
[    0.352184] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@...>
[    0.361379] PTP clock support registered
[    0.365426] EDAC MC: Ver: 3.0.0
[    0.369219] No BMan portals available!
[    0.372429] QMan: Allocated lookup table at (____ptrval____), entry count 65537
[    0.379832] No QMan portals available!
[    0.383713] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[    0.389771] FPGA manager framework
[    0.392851] Advanced Linux Sound Architecture Driver Initialized.
[    0.399282] Bluetooth: Core ver 2.22
[    0.402510] NET: Registered protocol family 31
[    0.406961] Bluetooth: HCI device and connection manager initialized
[    0.413350] Bluetooth: HCI socket layer initialized
[    0.418248] Bluetooth: L2CAP socket layer initialized
[    0.423330] Bluetooth: SCO socket layer initialized
[    0.428975] clocksource: Switched to clocksource arch_sys_counter
[    0.434507] VFS: Disk quotas dquot_6.6.0
[    0.438331] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.445357] pnp: PnP ACPI: disabled
[    0.454274] thermal_sys: Registered thermal governor 'step_wise'
[    0.454279] thermal_sys: Registered thermal governor 'power_allocator'
[    0.457769] NET: Registered protocol family 2
[    0.468700] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.477008] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.485043] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.492505] TCP: Hash tables configured (established 16384 bind 16384)
[    0.498928] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.505618] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.512899] NET: Registered protocol family 1
[    0.517459] RPC: Registered named UNIX socket transport module.
[    0.523088] RPC: Registered udp transport module.
[    0.527803] RPC: Registered tcp transport module.
[    0.532528] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.539385] PCI: CLS 0 bytes, default 64
[    0.543722] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.551061] kvm [1]: IPA Size Limit: 40 bits
[    0.555620] kvm [1]: GICv3: no GICV resource entry
[    0.559830] kvm [1]: disabling GICv2 emulation
[    0.564304] kvm [1]: GIC system register CPU interface enabled
[    0.570207] kvm [1]: vgic interrupt IRQ1
[    0.574184] kvm [1]: Hyp mode initialized successfully
[    0.582033] Initialise system trusted keyrings
[    0.583816] workingset: timestamp_bits=44 max_order=19 bucket_order=0
[    0.595952] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.599542] NFS: Registering the id_resolver key type
[    0.604059] Key type id_resolver registered
[    0.608228] Key type id_legacy registered
[    0.612258] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.618989] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.626441] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
[    0.632909] 9p: Installing v9fs 9p2000 file system support
[    0.651715] Key type asymmetric registered
[    0.652956] Asymmetric key parser 'x509' registered
[    0.657891] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.665301] io scheduler mq-deadline registered
[    0.669849] io scheduler kyber registered
[    0.678038] EINJ: ACPI disabled.
[    0.686739] imx-sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[    0.694396] imx-sdma 302c0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7d.bin
[    0.711570] mxs-dma 33000000.dma-controller: initialized
[    0.715081] Bus freq driver module loaded
[    0.723138] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.728538] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 34, base_baud = 1500000) is a IMX
[    0.735469] printk: console [ttymxc1] enabled
[    0.735469] printk: console [ttymxc1] enabled
[    0.744109] printk: bootconsole [ec_imx6q0] disabled
[    0.744109] printk: bootconsole [ec_imx6q0] disabled
[    0.756061] imx-drm soc@0:bus@32c00000:display-subsystem: no available port
[    0.774364] loop: module loaded
[    0.779430] imx ahci driver is registered.
[    0.786198] spi_imx 30830000.spi: probed
[    0.791030] spi-nor spi3.0: n25q256ax1 (32768 Kbytes)
[    0.796126] 7 fixed-partitions partitions found on MTD device 30bb0000.spi
[    0.803006] Creating 7 MTD partitions on "30bb0000.spi":
[    0.808325] 0x000000000000-0x000000200000 : "U-Boot"
[    0.817665] 0x000000200000-0x000000202000 : "U-Boot Env"
[    0.822995] mtd: partition "U-Boot Env" doesn't end on an erase/write block -- force read-only
[    0.833562] 0x000000202000-0x000000204000 : "U-Boot Env 2"
[    0.839058] mtd: partition "U-Boot Env 2" doesn't start on an erase/write block boundary -- force read-only
[    0.853558] 0x000000204000-0x000000205000 : "boot.scr"
[    0.858708] mtd: partition "boot.scr" doesn't start on an erase/write block boundary -- force read-only
[    0.869560] 0x000000205000-0x000000210000 : "Device Tree Blob"
[    0.875403] mtd: partition "Device Tree Blob" doesn't start on an erase/write block boundary -- force read-only
[    0.889564] 0x000000210000-0x000000e10000 : "Compressed Kernel"
[    0.897581] 0x000000e10000-0x000002000000 : "SquashFS"
[    0.906803] libphy: Fixed MDIO Bus: probed
[    0.911599] tun: Universal TUN/TAP device driver, 1.6
[    0.917348] thunder_xcv, ver 1.0
[    0.920605] thunder_bgx, ver 1.0
[    0.923868] nicpf, ver 1.0
[    0.927790] pps pps0: new PPS source ptp0
[    0.944179] libphy: fec_enet_mii_bus: probed
[    0.948992] fec 30be0000.ethernet eth0: registered PHC device 0
[    0.955460] Freescale FM module, FMD API version 21.1.0
[    0.960912] Freescale FM Ports module
[    0.964580] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[    0.970316] fsl_dpa: FSL DPAA Ethernet driver
[    0.974768] fsl_advanced: FSL DPAA Advanced drivers:
[    0.979737] fsl_proxy: FSL DPAA Proxy initialization driver
[    0.985398] fsl_oh: FSL FMan Offline Parsing port driver
[    0.991478] hclge is initializing
[    0.994802] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    1.002027] hns3: Copyright (c) 2017 Huawei Corporation.
[    1.007388] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    1.014441] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    1.020217] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    1.026053] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.032008] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    1.038977] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.044581] igbvf: Intel(R) Gigabit Virtual Function Network Driver - version 2.4.0-k
[    1.052413] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.058472] sky2: driver version 1.30
[    1.062994] VFIO - User Level meta-driver version: 0.3
[    1.069765] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.076300] ehci-pci: EHCI PCI platform driver
[    1.080817] ehci-platform: EHCI generic platform driver
[    1.086195] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.092398] ohci-pci: OHCI PCI platform driver
[    1.096883] ohci-platform: OHCI generic platform driver
[    1.102594] usbcore: registered new interface driver usb-storage
[    1.108673] usbcore: registered new interface driver usbserial_generic
[    1.115219] usbserial: USB Serial support registered for generic
[    1.121250] usbcore: registered new interface driver ftdi_sio
[    1.127012] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.134346] usbcore: registered new interface driver usb_serial_simple
[    1.140888] usbserial: USB Serial support registered for carelink
[    1.146996] usbserial: USB Serial support registered for zio
[    1.152669] usbserial: USB Serial support registered for funsoft
[    1.158690] usbserial: USB Serial support registered for flashloader
[    1.165062] usbserial: USB Serial support registered for google
[    1.170997] usbserial: USB Serial support registered for libtransistor
[    1.177539] usbserial: USB Serial support registered for vivopay
[    1.183559] usbserial: USB Serial support registered for moto_modem
[    1.189846] usbserial: USB Serial support registered for motorola_tetra
[    1.196480] usbserial: USB Serial support registered for novatel_gps
[    1.202850] usbserial: USB Serial support registered for hp4x
[    1.208613] usbserial: USB Serial support registered for suunto
[    1.214550] usbserial: USB Serial support registered for siemens_mpi
[    1.223273] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc@0/soc@0:bus@30000000/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[    1.238261] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc0
[    1.244525] i2c /dev entries driver
[    1.252482] imx2-wdt 30280000.watchdog: timeout 60 sec (nowayout=0)
[    1.259024] Bluetooth: HCI UART driver ver 2.3
[    1.263482] Bluetooth: HCI UART protocol H4 registered
[    1.268627] Bluetooth: HCI UART protocol BCSP registered
[    1.273975] Bluetooth: HCI UART protocol LL registered
[    1.279119] Bluetooth: HCI UART protocol ATH3K registered
[    1.284536] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    1.290883] Bluetooth: HCI UART protocol Broadcom registered
[    1.296567] Bluetooth: HCI UART protocol QCA registered
[    1.303543] sdhci: Secure Digital Host Controller Interface driver
[    1.309736] sdhci: Copyright(c) Pierre Ossman
[    1.314266] Synopsys Designware Multimedia Card Interface Driver
[    1.320775] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.327179] mmc1: CQHCI version 5.10
[    1.331244] mmc2: CQHCI version 5.10
[    1.366687] mmc2: SDHCI controller on 30b60000.mmc [30b60000.mmc] using ADMA
[    1.375998] ledtrig-cpu: registered to indicate activity on CPUs
[    1.383126] caam 30900000.crypto: device ID = 0x0a16040100000000 (Era 9)
[    1.389897] caam 30900000.crypto: job rings = 3, qi = 0
[    1.405062] caam algorithms registered in /proc/crypto
[    1.410957] caam 30900000.crypto: caam pkc algorithms registered in /proc/crypto
[    1.421068] caam_jr 30901000.jr: registering rng-caam
[    1.430101] caam-snvs 30370000.caam-snvs: can't get snvs clock
[    1.436043] caam-snvs 30370000.caam-snvs: violation handlers armed - non-secure state
[    1.444463] usbcore: registered new interface driver usbhid
[    1.450044] usbhid: USB HID core driver
[    1.455567] No fsl,qman node
[    1.458510] Freescale USDPAA process driver
[    1.462698] fsl-usdpaa: no region found
[    1.466539] Freescale USDPAA process IRQ driver
[    1.474129] optee: probing for conduit method from DT.
[    1.475305] mmc2: Command Queue Engine enabled
[    1.479321] optee: revision 3.2 (6a22e6e8)
[    1.479658] optee: dynamic shared memory is enabled
[    1.483772] mmc2: new HS400 Enhanced strobe MMC card at address 0001
[    1.488029] optee: initialized driver
[    1.493604] mmcblk2: mmc2:0001 DG4016 7.49 GiB  
[    1.501979] wm8524-codec audio-codec: Failed to get mute line: -517
[    1.502950] mmcblk2boot0: mmc2:0001 DG4016 partition 1 4.00 MiB
[    1.507807] OF: /sound-bt-sco/simple-audio-card,cpu: could not get #sound-dai-cells for /soc@0/bus@30000000/sai@30020000
[    1.513720] mmcblk2boot1: mmc2:0001 DG4016 partition 2 4.00 MiB
[    1.519517] asoc-simple-card sound-bt-sco: parse error -22
[    1.530510] mmcblk2gp0: mmc2:0001 DG4016 partition 4 3.52 GiB
[    1.536315] asoc-simple-card: probe of sound-bt-sco failed with error -22
[    1.542169] mmcblk2rpmb: mmc2:0001 DG4016 partition 3 4.00 MiB, chardev (237:0)
[    1.561481] pktgen: Packet Generator for packet performance testing. Version: 2.75
[    1.564417]  mmcblk2: p1 p2
[    1.572849] NET: Registered protocol family 26
[    1.574516]  mmcblk2gp0: p1 p2
[    1.577793] NET: Registered protocol family 10
[    1.585567] Segment Routing with IPv6
[    1.589288] NET: Registered protocol family 17
[    1.594157] Bluetooth: RFCOMM TTY layer initialized
[    1.599050] Bluetooth: RFCOMM socket layer initialized
[    1.604216] Bluetooth: RFCOMM ver 1.11
[    1.607979] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.613296] Bluetooth: BNEP filters: protocol multicast
[    1.618527] Bluetooth: BNEP socket layer initialized
[    1.623496] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.629422] Bluetooth: HIDP socket layer initialized
[    1.634425] 8021q: 802.1Q VLAN Support v1.8
[    1.638627] lib80211: common routines for IEEE802.11 drivers
[    1.644399] 9pnet: Installing 9P2000 support
[    1.648700] tsn generic netlink module v1 init...
[    1.653467] Key type dns_resolver registered
[    1.658548] registered taskstats version 1
[    1.662659] Loading compiled-in X.509 certificates
[    1.690319] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[    1.699097] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[    1.768167] random: fast init done
[    1.777959] LDO6: supplied by regulator-dummy
[    1.782459] i2c i2c-0: IMX I2C adapter registered
[    1.788173] i2c i2c-1: IMX I2C adapter registered
[    1.794032] i2c i2c-2: IMX I2C adapter registered
[    1.799548] i2c i2c-3: IMX I2C adapter registered
[    1.804568] imx-cpufreq-dt imx-cpufreq-dt: cpu speed grade 2 mkt segment 2 supported-hw 0x4 0x4
[    1.817070] mmc1: CQHCI version 5.10
[    1.820686] sdhci-esdhc-imx 30b50000.mmc: Got CD GPIO
[    1.857690] mmc1: SDHCI controller on 30b50000.mmc [30b50000.mmc] using ADMA
[    1.866383] imx8mm-pinctrl 30330000.pinctrl: pin MX8MM_IOMUXC_I2C4_SDA already requested by 30a50000.i2c; cannot claim for audio-codec
[    1.878499] imx8mm-pinctrl 30330000.pinctrl: pin-140 (audio-codec) status -22
[    1.885659] imx8mm-pinctrl 30330000.pinctrl: could not request pin 140 (MX8MM_IOMUXC_I2C4_SDA) from group gpiowlfgrp  on device 30330000.pinctrl
[    1.898619] wm8524-codec audio-codec: Error applying setting, reverse things back
[    1.906118] wm8524-codec: probe of audio-codec failed with error -22
[    1.920810] input: bd718xx-pwrkey as /devices/platform/soc@0/soc@0:bus@30800000/30a20000.i2c/i2c-0/0-004b/gpio-keys.1.auto/input/input1
[    1.934862] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 2021-05-17T19:16:30 UTC (1621278990)
[    1.945050] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.956079] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.962679] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.967851] ALSA device list:
[    1.971304] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    1.974275]   No soundcards found.
[    1.992312] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.000462] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.007931] devtmpfs: mounted
[    2.011691] Freeing unused kernel memory: 2880K
[    2.029603] Run /sbin/init as init process
[    2.215985] SELinux:  Permission watch in class filesystem not defined in policy.
[    2.223579] SELinux:  Permission watch in class file not defined in policy.
[    2.230546] SELinux:  Permission watch_mount in class file not defined in policy.
[    2.238041] SELinux:  Permission watch_sb in class file not defined in policy.
[    2.245264] SELinux:  Permission watch_with_perm in class file not defined in policy.
[    2.253104] SELinux:  Permission watch_reads in class file not defined in policy.
[    2.260596] SELinux:  Permission watch in class dir not defined in policy.
[    2.267481] SELinux:  Permission watch_mount in class dir not defined in policy.
[    2.274878] SELinux:  Permission watch_sb in class dir not defined in policy.
[    2.282023] SELinux:  Permission watch_with_perm in class dir not defined in policy.
[    2.289767] SELinux:  Permission watch_reads in class dir not defined in policy.
[    2.297197] SELinux:  Permission watch in class lnk_file not defined in policy.
[    2.304506] SELinux:  Permission watch_mount in class lnk_file not defined in policy.
[    2.312346] SELinux:  Permission watch_sb in class lnk_file not defined in policy.
[    2.319917] SELinux:  Permission watch_with_perm in class lnk_file not defined in policy.
[    2.328103] SELinux:  Permission watch_reads in class lnk_file not defined in policy.
[    2.335945] SELinux:  Permission watch in class chr_file not defined in policy.
[    2.343263] SELinux:  Permission watch_mount in class chr_file not defined in policy.
[    2.351094] SELinux:  Permission watch_sb in class chr_file not defined in policy.
[    2.358673] SELinux:  Permission watch_with_perm in class chr_file not defined in policy.
[    2.366851] SELinux:  Permission watch_reads in class chr_file not defined in policy.
[    2.374700] SELinux:  Permission watch in class blk_file not defined in policy.
[    2.382010] SELinux:  Permission watch_mount in class blk_file not defined in policy.
[    2.389849] SELinux:  Permission watch_sb in class blk_file not defined in policy.
[    2.397420] SELinux:  Permission watch_with_perm in class blk_file not defined in policy.
[    2.405604] SELinux:  Permission watch_reads in class blk_file not defined in policy.
[    2.413442] SELinux:  Permission watch in class sock_file not defined in policy.
[    2.420848] SELinux:  Permission watch_mount in class sock_file not defined in policy.
[    2.428765] SELinux:  Permission watch_sb in class sock_file not defined in policy.
[    2.436432] SELinux:  Permission watch_with_perm in class sock_file not defined in policy.
[    2.444697] SELinux:  Permission watch_reads in class sock_file not defined in policy.
[    2.452629] SELinux:  Permission watch in class fifo_file not defined in policy.
[    2.460026] SELinux:  Permission watch_mount in class fifo_file not defined in policy.
[    2.467952] SELinux:  Permission watch_sb in class fifo_file not defined in policy.
[    2.475609] SELinux:  Permission watch_with_perm in class fifo_file not defined in policy.
[    2.483883] SELinux:  Permission watch_reads in class fifo_file not defined in policy.
[    2.492124] SELinux: the above unknown classes and permissions will be allowed
[    2.499365] SELinux:  policy capability network_peer_controls=1
[    2.505286] SELinux:  policy capability open_perms=1
[    2.510257] SELinux:  policy capability extended_socket_class=1
[    2.516178] SELinux:  policy capability always_check_network=0
[    2.522020] SELinux:  policy capability cgroup_seclabel=1
[    2.527419] SELinux:  policy capability nnp_nosuid_transition=1
[    2.568189] audit: type=1403 audit(1621278991.128:2): auid=4294967295 ses=4294967295 lsm=selinux res=1
[    2.575086] systemd[1]: Successfully loaded SELinux policy in 470.187ms.
[    2.679441] systemd[1]: Relabelled /dev, /dev/shm, /run, /sys/fs/cgroup in 67.430ms.
[    2.698739] systemd[1]: systemd 244.5+ running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    2.720751] systemd[1]: Detected architecture arm64.

Welcome to Poky (Yocto Project Reference Distro) 3.1.7 (dunfell)!

[    2.770395] systemd[1]: Set hostname to <imx8mmevk>.
[    2.987359] random: systemd: uninitialized urandom read (16 bytes read)
[    2.994151] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    3.006508] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    3.017228] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    3.041142] random: systemd: uninitialized urandom read (16 bytes read)
[    3.049106] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    3.073967] random: systemd: uninitialized urandom read (16 bytes read)
[    3.081927] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    3.105772] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password ��…ts to Console Directory Watch.
[    3.129703] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R��…uests to Wall Directory Watch.
[    3.153228] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    3.173117] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    3.197804] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    3.218106] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    3.243169] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[    3.265157] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[    3.290401] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    3.310084] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    3.335182] systemd[1]: Listening on Journal Audit Socket.
[    3.335316] audit: type=1400 audit(1621278991.896:3): avc:  denied  { audit_read } for  pid=1 comm="systemd" capability=37  scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1
[  OK  ] Listening on Journal Audit Socket.
[    3.377935] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    3.402765] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.421967] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[    3.447923] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    3.469692] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.497585] systemd[1]: Mounting Huge Pages File System...
        Mounting Huge Pages File System...
[    3.521067] systemd[1]: Mounting POSIX Message Queue File System...
        Mounting POSIX Message Queue File System...
[    3.549444] systemd[1]: Mounting Kernel Debug File System...
        Mounting Kernel Debug File System...
[    3.574370] systemd[1]: Mounting Temporary Directory (/tmp)...
        Mounting Temporary Directory (/tmp)...
[    3.598671] systemd[1]: Starting Create list of static device nodes for the current kernel...
        Starting Create list of st��…odes for the current kernel...
[    3.629139] systemd[1]: Starting Start psplash boot splash screen...
        Starting Start psplash boot splash screen...
[    3.657433] systemd[1]: Starting RPC Bind...
        Starting RPC Bind...
[    3.676514] systemd[1]: Starting SELinux autorelabel service loading...
        Starting SELinux autorelabel service loading...
[    3.701187] systemd[1]: Starting SELinux init for /dev service loading...
        Starting SELinux init for /dev service loading...
[    3.728480] systemd[1]: Starting File System Check on Root Device...
        Starting File System Check on Root Device...
[    3.753988] systemd[1]: Starting Journal Service...
        Starting Journa[    3.761266] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
l Service...
[    3.770534] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
[    3.784068] systemd[1]: Mounting Kernel Configuration File System...
        Mounting Kernel Configuration File System...
[    3.808753] systemd[1]: Starting Apply Kernel Variables...
        Starting Apply Kernel Variables...
[    3.832946] systemd[1]: Starting udev Coldplug all Devices...
        Starting udev Coldplug all Devices...
[    3.861756] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[    3.886210] audit: type=1130 audit(1621278992.448:4): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=rpcbind comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    3.886241] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[    3.930060] audit: type=1130 audit(1621278992.492:5): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-journald comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory (/tmp).
[  OK  ] Started Create list of sta��… nodes for the current kernel.
[    4.037555] audit: type=1130 audit(1621278992.600:6): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=kmod-static-nodes comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[FAILED] Failed to start Start psplash boot splash screen.
See 'systemctl status psplash-start.service' for details.
[DEPEND] Dependency failed for Star��…progress communication helper.
[    4.110569] audit: type=1130 audit(1621278992.672:7): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=psplash-start comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
[  OK  ] Started SELinux autorelabel service loading.
[    4.145488] audit: type=1130 audit(1621278992.708:8): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=selinux-autorelabel comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    4.167276] audit: type=1131 audit(1621278992.708:9): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=selinux-autorelabel comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started SELinux init for /dev service loading.
[    4.205515] audit: type=1130 audit(1621278992.768:10): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=selinux-labeldev comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started File System Check on Root Device.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started Apply Kernel Variables.
        Starting Remount Root and Kernel File Systems...
[    4.302025] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
[  OK  ] Started Remount Root and Kernel File Systems.
        Starting Flush Journal to Persistent Storage...
[    4.346937] systemd-journald[288]: Received client request to flush runtime journal.
        Starting Create Static Device Nodes in /dev...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
        Mounting /var/volatile...
        Starting udev Kernel Device Manager...
[  OK  ] Mounted /var/volatile.
[  OK  ] Started udev Coldplug all Devices.
        Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
        Starting SELinux init service loading...
        Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started SELinux init service loading.
        Starting Network Service...
[  OK  ] Started Create Volatile Files and Directories.
        Starting Network Time Synchronization...
        Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Network Service.
        Starting Network Name Resolution...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started System Logging Service.
[  OK  ] Started D-Bus System Message Bus.
        Starting Login Service...
[  OK  ] Started Network Name Resolution.
[    5.194342] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[    5.205098] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    5.225428] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Reached target Network.
[  OK  ] Reached target Host and Network Name Lookups.
        Starting Avahi mDNS/DNS-SD Stack...
        Starting Permit User Sessions...
[  OK  ] Started Permit User Sessions.
[    5.418209] kauditd_printk_skb: 20 callbacks suppressed
[    5.418216] audit: type=1130 audit(1621278993.980:31): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-user-sessions comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Login Service.
[    5.477678] audit: type=1130 audit(1621278994.040:32): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-logind comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[    5.517984] audit: type=1130 audit(1621278994.080:33): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=avahi-daemon comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Getty on tty1.
[    5.558400] audit: type=1130 audit(1621278994.120:34): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=getty@tty1 comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Started Serial Getty on ttymxc1.
[    5.598228] audit: type=1130 audit(1621278994.160:35): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=serial-getty@ttymxc1 comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
        Starting Update UTMP about System Runlevel Changes...
[    5.682230] audit: type=1107 audit(1621278994.244:36): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='avc:  denied  { status } for auid=n/a uid=0 gid=0 path="/lib/systemd/system/graphical.target" cmdline="" scontext=1
[    5.682230]  exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[    5.720334] audit: type=1129 audit(1621278994.244:37): pid=359 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='old-level=N new-level=3 comm="systemd-update-utmp" exe="/lib/systemd/systemd-update-utmp" hostname=? addr=? term'
[  OK  ] Started Update UTMP about System Runlevel Changes.
[    5.762053] audit: type=1130 audit(1621278994.324:38): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-update-utmp-runlevel comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=succe'
[    5.784757] audit: type=1131 audit(1621278994.324:39): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-update-utmp-runlevel comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=succe'
        Starting Hostname Service...
[  OK  ] Started Hostname Service.
[    8.533683] audit: type=1130 audit(1621278997.096:40): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   10.816995] random: crng init done
[   10.820400] random: 7 urandom warning(s) missed due to ratelimiting
[   10.835345] audit: type=1130 audit(1621278999.396:41): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-random-seed comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Poky (Yocto Project Reference Distro) 3.1.7 imx8mmevk ttymxc1

imx8mmevk login: [   33.841713] WLAN_EN: disabling
[   33.844776] VSD_3V3: disabling
[   38.535696] audit: type=1131 audit(1621279026.463:42): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   62.514167] cfg80211: failed to load regulatory.db
[   62.514409] imx-sdma 302c0000.dma-controller: external firmware not found, using ROM firmware
[   62.517520] imx-sdma 302b0000.dma-controller: external firmware not found, using ROM firmware
[   62.538156] imx-sdma 30bd0000.dma-controller: loaded firmware 4.5

imx8mmevk login: root
[   80.318463] audit: type=1107 audit(1621279068.247:43): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='avc:  denied  { start } for auid=n/a uid=0 gid=0 path="/lib/systemd/system/user@.service" cmdline="/lib/systemd/sy1
[   80.318463]  exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[   80.358706] audit: type=1107 audit(1621279068.267:44): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='avc:  denied  { start } for auid=n/a uid=0 gid=0 path="/run/systemd/transient/session-c1.scope" cmdline="/lib/syst1
[   80.358706]  exe="/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[   80.399667] audit: type=1130 audit(1621279068.291:45): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='unit=user-runtime-dir@0 comm="systemd" exe="/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   80.431254] audit: type=1006 audit(1621279068.359:46): pid=377 uid=0 subj=system_u:system_r:kernel_t:s0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[   80.446730] audit: type=1400 audit(1621279068.363:47): avc:  denied  { transition } for  pid=377 comm="(systemd)" path="/lib/systemd/systemd" dev="mmcblk2p2" ino=1477 scontext=system_u:system_r:kernel_t:s0 tcontext=root:sysadm_r:sysadm_t:s0 tclass=proc1
[   80.470544] audit: type=1400 audit(1621279068.363:47): avc:  denied  { entrypoint } for  pid=377 comm="(systemd)" path="/lib/systemd/systemd" dev="mmcblk2p2" ino=1477 scontext=root:sysadm_r:sysadm_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=f1
[   80.494335] audit: type=1400 audit(1621279068.363:47): avc:  denied  { use } for  pid=377 comm="systemd" path="/dev/null" dev="devtmpfs" ino=3079 scontext=root:sysadm_r:sysadm_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=fd permissive=1
[   80.515865] audit: type=1400 audit(1621279068.363:47): avc:  denied  { read write } for  pid=377 comm="systemd" path="socket:[9797]" dev="sockfs" ino=9797 scontext=root:sysadm_r:sysadm_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_stream_sock1
[   80.539544] audit: type=1400 audit(1621279068.363:47): avc:  denied  { execute } for  pid=377 comm="systemd" path="/lib/systemd/systemd" dev="mmcblk2p2" ino=1477 scontext=root:sysadm_r:sysadm_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file p1
[   80.562865] audit: type=1400 audit(1621279068.379:48): avc:  denied  { ioctl } for  pid=377 comm="systemd" path="socket:[9797]" dev="sockfs" ino=9797 ioctlcmd=0x5401 scontext=root:sysadm_r:sysadm_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=unix_1
~ # sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             mcs
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     requested (insecure)
Max kernel policy version:      31
~ #

Join yocto@lists.yoctoproject.org to automatically receive all group messages.