-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coreos-printk-quiet.service always fails after first boot when selinux=0 #1304
Comments
I can't reproduce this in a stock qemu x86_64 config. Do you have SELinux disabled (e.g. My test version is slightly different but still close:
|
Sorry , I forgot to tell that. I disable selinux through coreos-installer. Also while I was trying to deduct my personal info I erased all my ignition file :) Please check again my first post for whole ignition I use. This is my install script: sudo podman run --pull=always \
--privileged \
--rm \
-v /dev:/dev \
-v /run/udev:/run/udev \
-v .:/data -w /data \
quay.io/coreos/coreos-installer:release install /dev/sdb \
--insecure \
--offline \
--ignition-file ignition.ign \
--architecture aarch64 \
--append-karg selinux=0 \
--append-karg rd.driver.blacklist=vc4 \
--image-file fedora-coreos-37.20220918.1.1-metal.aarch64.raw.xz |
Sorry for the offtopic @queeup , but you say you got FCOS working on a RPI3? Can you share somewhere how are you doing it? Maybe here: https://discussion.fedoraproject.org/t/fcos-unusually-slow-on-raspberry-pi-3b/40635 |
This looks like a side-effect of |
@lucab, you are right. I am going to close this issue. [core@coreos ~]$ ls -lZ /etc/
drwxr-xr-x. 2 root root ? 28 Sep 23 13:26 sysctl.d [core@coreos etc]$ ls -lZ
total 1084
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 5169 Sep 23 13:26 DIR_COLORS
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 5251 Sep 23 13:26 DIR_COLORS.lightbgcolor
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 94 Sep 23 13:26 GREP_COLORS
drwxr-xr-x 7 root root ? 134 Sep 23 13:26 NetworkManager
drwxr-xr-x 5 root root ? 51 Sep 23 13:26 X11
-rw-r--r--. 1 root root system_u:object_r:adjtime_t:s0 12 Sep 23 13:26 adjtime
-rw-r--r--. 1 root root system_u:object_r:etc_aliases_t:s0 1529 Sep 23 13:26 aliases
drwxr-xr-x 2 root root ? 4096 Sep 23 13:26 alternatives
drwxr-xr-x 3 root root ? 4096 Sep 23 13:26 authselect
drwxr-xr-x 2 root root ? 38 Sep 23 13:26 bash_completion.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 2638 Sep 23 13:26 bashrc
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 535 Sep 23 13:26 bindresvport.blacklist
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 binfmt.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1371 Sep 23 13:26 chrony.conf
-rw-r-----. 1 root chrony system_u:object_r:chronyd_keys_t:s0 540 Sep 23 13:26 chrony.keys
drwxr-xr-x 2 root root ? 26 Sep 23 13:26 cifs-utils
drwxr-xr-x 2 root root ? 25 Sep 23 13:26 containerd
drwxr-xr-x 6 root root ? 139 Sep 23 13:26 containers
drwxr-xr-x 6 root root ? 81 Sep 23 13:26 crypto-policies
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1401 Sep 23 13:26 csh.cshrc
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1087 Sep 23 13:26 csh.login
drwxr-xr-x 4 root root ? 78 Sep 23 13:26 dbus-1
drwxr-xr-x 3 root root ? 16 Sep 23 13:26 dconf
drwxr-xr-x. 2 root root system_u:object_r:etc_t:s0 39 Sep 23 13:40 default
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 depmod.d
drwxr-xr-x 3 root root ? 24 Sep 23 13:26 dhcp
drwxr-xr-x 3 root root ? 25 Sep 23 13:26 dnf
-rw-r--r--. 1 root root system_u:object_r:dnsmasq_etc_t:s0 27981 Sep 23 13:26 dnsmasq.conf
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 dnsmasq.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 117 Sep 23 13:26 dracut.conf
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 dracut.conf.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 0 Sep 23 13:26 environment
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1362 Sep 23 13:26 ethertypes
-rw-r--r--. 1 root root system_u:object_r:exports_t:s0 0 Sep 23 13:26 exports
lrwxrwxrwx 1 root root ? 25 Sep 23 13:26 fedora-release -> ../usr/lib/fedora-release
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 66 Sep 23 13:26 filesystems
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 38 Sep 23 13:26 fuse.conf
drwxr-xr-x 4 root root ? 134 Sep 23 13:26 fwupd
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 gcrypt
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 gnupg
-rw-r--r--. 1 root root system_u:object_r:passwd_file_t:s0 112 Aug 19 03:00 group
-rw-r--r--. 1 root root system_u:object_r:passwd_file_t:s0 79 Sep 22 01:41 group-
drwx------ 2 root root ? 4096 Sep 23 13:26 grub.d
lrwxrwxrwx 1 root root ? 22 Sep 23 13:26 grub2-efi.cfg -> ../boot/grub2/grub.cfg
lrwxrwxrwx 1 root root ? 22 Sep 23 13:26 grub2.cfg -> ../boot/grub2/grub.cfg
-r--------. 1 root root system_u:object_r:shadow_t:s0 412 Aug 19 03:00 gshadow
-r--------. 1 root root system_u:object_r:shadow_t:s0 391 Sep 22 01:41 gshadow-
drwxr-xr-x 3 root root ? 20 Sep 23 13:26 gss
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 9 Sep 23 13:26 host.conf
-rw-r--r--. 1 root root system_u:object_r:hostname_etc_t:s0 10 Aug 19 03:00 hostname
-rw-r--r--. 1 root root system_u:object_r:net_conf_t:s0 386 Sep 23 13:26 hosts
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 5799 Sep 23 13:26 idmapd.conf
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 490 Sep 23 13:26 inittab
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 943 Sep 23 13:26 inputrc
drwxr-xr-x 2 root root ? 159 Sep 23 13:26 iproute2
drwxr-xr-x 2 root root ? 25 Sep 23 13:26 iscsi
lrwxrwxrwx 1 root root ? 16 Sep 23 13:26 issue -> ../usr/lib/issue
drwxr-xr-x. 2 root root system_u:object_r:etc_t:s0 148 Aug 19 03:00 issue.d
lrwxrwxrwx 1 root root ? 20 Sep 23 13:26 issue.net -> ../usr/lib/issue.net
drwxr-xr-x 4 root root ? 33 Sep 23 13:26 kdump
-rw-r--r--. 1 root root system_u:object_r:kdump_etc_t:s0 8892 Sep 23 13:26 kdump.conf
drwxr-xr-x 3 root root ? 23 Sep 23 13:26 kernel
-rw-r--r--. 1 root root system_u:object_r:krb5_conf_t:s0 880 Sep 23 13:26 krb5.conf
drwxr-xr-x 2 root root ? 57 Sep 23 13:26 krb5.conf.d
-rw-r--r-- 1 root root ? 15887 Aug 19 03:00 ld.so.cache
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 28 Sep 23 13:26 ld.so.conf
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 ld.so.conf.d
-rw-r-----. 1 root root system_u:object_r:etc_t:s0 191 Sep 23 13:26 libaudit.conf
drwxr-xr-x 2 root root ? 4096 Sep 23 13:26 libibverbs.d
drwxr-xr-x 2 root root ? 35 Sep 23 13:26 libnl
drwxr-xr-x 6 root root ? 70 Sep 23 13:26 libreport
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 2393 Sep 23 13:26 libuser.conf
-rw-r--r-- 1 root root ? 81 Jan 1 1970 locale.conf
lrwxrwxrwx. 1 root root system_u:object_r:locale_t:s0 37 Sep 23 13:40 localtime -> ../usr/share/zoneinfo/Europe/Istanbul
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 8676 Sep 23 13:26 login.defs
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 493 Sep 23 13:26 logrotate.conf
drwxr-xr-x 2 root root ? 88 Sep 23 13:26 logrotate.d
drwxr-xr-x 6 root root ? 100 Sep 23 13:26 lvm
-r--r--r-- 1 root root ? 33 Aug 19 03:01 machine-id
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 111 Sep 23 13:26 magic
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 5122 Sep 23 13:26 makedumpfile.conf.sample
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 782 Sep 23 13:26 mke2fs.conf
drwxr-xr-x 2 root root ? 36 Sep 23 13:26 modprobe.d
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 modules-load.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 0 Sep 23 13:26 motd
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 motd.d
lrwxrwxrwx 1 root root ? 19 Sep 23 13:26 mtab -> ../proc/self/mounts
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 multipath
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 11397 Sep 23 13:26 nanorc
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 767 Sep 23 13:26 netconfig
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 58 Sep 23 13:26 networks
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1468 Sep 23 13:26 nfs.conf
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 3604 Sep 23 13:26 nfsmount.conf
drwx------ 3 root root ? 66 Sep 23 13:26 nftables
lrwxrwxrwx 1 root root ? 29 Sep 23 13:26 nsswitch.conf -> /etc/authselect/nsswitch.conf
drwxr-xr-x 2 root root ? 28 Sep 23 13:26 nvme
drwxr-xr-x 3 root root ? 36 Sep 23 13:26 openldap
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 opt
lrwxrwxrwx 1 root root ? 21 Sep 23 13:26 os-release -> ../usr/lib/os-release
drwxr-xr-x 3 root root ? 23 Sep 23 13:26 ostree
drwxr-xr-x 2 root root ? 4096 Sep 23 13:26 pam.d
-rw-r--r--. 1 root root system_u:object_r:passwd_file_t:s0 93 Aug 19 03:00 passwd
-rw-r--r--. 1 root root system_u:object_r:passwd_file_t:s0 93 Aug 19 03:00 passwd-
drwxr-xr-x 3 root root ? 21 Sep 23 13:26 pkcs11
drwxr-xr-x 3 root root ? 27 Sep 23 13:26 pkgconfig
drwxr-xr-x 8 root root ? 95 Sep 23 13:26 pki
drwxr-xr-x 5 root root ? 52 Sep 23 13:26 pm
drwxr-xr-x 5 root root ? 72 Sep 23 13:26 polkit-1
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 popt.d
-rw-r--r--. 1 root root system_u:object_r:cupsd_rw_etc_t:s0 233 Sep 23 13:26 printcap
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1945 Sep 23 13:26 profile
drwxr-xr-x 2 root root ? 4096 Sep 23 13:26 profile.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 6568 Sep 23 13:26 protocols
drwxr-xr-x 3 root root ? 20 Sep 23 13:26 rc.d
lrwxrwxrwx 1 root root ? 14 Sep 23 13:26 redhat-release -> fedora-release
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1787 Sep 23 13:26 request-key.conf
drwxr-xr-x 2 root root ? 77 Sep 23 13:26 request-key.d
lrwxrwxrwx 1 root root ? 39 Sep 23 13:26 resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1634 Sep 23 13:26 rpc
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 rpm
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 443 Sep 23 13:26 rpm-ostreed.conf
-rw-r--r--. 1 root root system_u:object_r:rsync_etc_t:s0 458 Sep 23 13:26 rsyncd.conf
drwxr-xr-x 2 root root ? 35 Sep 23 13:26 rwtab.d
drwxr-xr-x 2 root root ? 61 Sep 23 13:26 samba
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 sasl2
drwxr-xr-x 7 root root ? 4096 Sep 23 13:26 security
drwxr-xr-x 4 root root ? 70 Sep 23 13:26 selinux
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 701745 Sep 23 13:26 services
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 216 Sep 23 13:26 sestatus.conf
-r--------. 1 root root system_u:object_r:shadow_t:s0 495 Aug 19 03:00 shadow
-r--------. 1 root root system_u:object_r:shadow_t:s0 495 Aug 19 03:00 shadow-
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 44 Sep 23 13:26 shells
drwxr-xr-x 2 root root ? 62 Sep 23 13:26 skel
drwxr-xr-x. 4 root root system_u:object_r:etc_t:s0 4096 Sep 23 13:40 ssh
drwxr-xr-x 2 root root ? 91 Sep 23 13:26 ssl
drwx------ 4 root root ? 31 Sep 23 13:26 sssd
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 statetab.d
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 18 Aug 19 03:00 subgid
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 0 Sep 22 01:41 subgid-
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 18 Aug 19 03:00 subuid
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 0 Sep 22 01:41 subuid-
-rw-r-----. 1 root root system_u:object_r:etc_t:s0 4573 Sep 23 13:26 sudo.conf
-r--r-----. 1 root root system_u:object_r:etc_t:s0 4375 Sep 23 13:26 sudoers
drwxr-x--- 2 root root ? 31 Sep 23 13:26 sudoers.d
drwxr-xr-x 3 root root ? 24 Sep 23 13:26 swid
drwxr-xr-x 3 root root ? 4096 Sep 23 13:26 sysconfig
-rw-r--r--. 1 root root system_u:object_r:system_conf_t:s0 449 Sep 23 13:26 sysctl.conf
drwxr-xr-x. 2 root root system_u:object_r:etc_t:s0 28 Sep 23 13:26 sysctl.d
lrwxrwxrwx 1 root root ? 14 Sep 23 13:26 system-release -> fedora-release
lrwxrwxrwx 1 root root ? 29 Sep 23 13:26 system-release-cpe -> ../usr/lib/system-release-cpe
drwxr-xr-x. 6 root root system_u:object_r:etc_t:s0 4096 Sep 23 13:40 systemd
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 terminfo
drwxr-xr-x 2 root root ? 6 Sep 23 13:26 tmpfiles.d
drwxr-xr-x 3 root root ? 51 Sep 23 13:26 tpm2-tss
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 375 Sep 23 13:26 trusted-key.key
drwxr-xr-x 4 root root ? 68 Aug 19 03:00 udev
-rw-r--r--. 1 root root system_u:object_r:locale_t:s0 9 Aug 19 03:00 vconsole.conf
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 1183 Sep 23 13:26 virc
drwx------ 2 root root ? 6 Sep 23 13:26 wireguard
-rw-r--r--. 1 root root system_u:object_r:etc_t:s0 817 Sep 23 13:26 xattr.conf
drwxr-xr-x 4 root root ? 38 Sep 23 13:26 xdg
drwxr-xr-x. 2 root root system_u:object_r:system_conf_t:s0 4096 Sep 23 13:40 yum.repos.d
drwxr-xr-x 3 root root ? 22 Sep 23 13:26 zincati
|
Describe the bug
coreos-printk-quiet.service always fails
Reproduction steps
coreos-printk-quiet.service
statusExpected behavior
coreos-printk-quiet.service should success
Actual behavior
First boot
coreos-printk-quiet.service
success but after that every boot it fails.System details
Ignition config
Additional information
The text was updated successfully, but these errors were encountered: