Bug 1216984 - Login not possible after transactional-update
Summary: Login not possible after transactional-update
Status: NEW
Alias: None
Product: openSUSE Leap Micro
Classification: openSUSE
Component: Transactional Update (show other bugs)
Version: 5.5
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Lubos Kocman
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-09 08:46 UTC by stephane nguyen
Modified: 2023-11-09 08:46 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stephane nguyen 2023-11-09 08:46:49 UTC
Hi

After running a 'transactional-update up/dup' and rebooting the system, I can't login to the system anymore (and NetworkManager doesn't start anymore).

I reboot the previous btrfs snapshot and when looking at the newer snapshot (the one created by the transactional-update), some of the selinux types seem to have been changed to 'unlabeled_t':

---
leapmicro:/.snapshots/3/snapshot # find etc -context *:*:unlabeled_t:* -exec ls -lZ {} +
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0  1693 Oct  6 13:14 etc/default/grub
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0    51 Oct  6 13:13 etc/dracut.conf.d/50-microos-growfs.conf
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0  1300 Nov  7 15:32 etc/fstab
lrwxrwxrwx. 1 root root   system_u:object_r:unlabeled_t:s0    15 Oct  6 13:13 etc/products.d/baseproduct -> Leap-Micro.prod
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   589 Oct  6 13:13 etc/selinux/config
-rw-r-----. 1 root shadow system_u:object_r:unlabeled_t:s0   419 Oct  6 13:13 etc/shadow
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0  1175 Oct  6 13:14 etc/snapper/configs/root
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   496 Oct  6 13:14 etc/sysconfig/bootloader
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0  1223 Oct  6 13:13 etc/sysconfig/proxy
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   124 Oct  6 13:13 etc/sysconfig/snapper
lrwxrwxrwx. 1 root root   system_u:object_r:unlabeled_t:s0    41 Oct  6 13:13 etc/systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target
lrwxrwxrwx. 1 root root   system_u:object_r:unlabeled_t:s0    44 Oct  6 13:13 etc/systemd/system/default.target.wants/iscsi-init-delay.service -> /etc/systemd/system/iscsi-init-delay.service
lrwxrwxrwx. 1 root root   system_u:object_r:unlabeled_t:s0    46 Oct  6 13:13 etc/systemd/system/default.target.wants/jeos-firstboot.service -> /usr/lib/systemd/system/jeos-firstboot.service
lrwxrwxrwx. 1 root root   system_u:object_r:unlabeled_t:s0    45 Oct  6 13:13 etc/systemd/system/default.target.wants/selfinstallreboot.service -> /etc/systemd/system/selfinstallreboot.service
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   445 Oct  6 13:13 etc/systemd/system/iscsi-init-delay.service
lrwxrwxrwx. 1 root root   system_u:object_r:unlabeled_t:s0    39 Oct  6 13:13 etc/systemd/system/multi-user.target.wants/chronyd.service -> /usr/lib/systemd/system/chronyd.service
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   401 Oct  6 13:13 etc/systemd/system/selfinstallreboot.service
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0    19 Oct  6 13:13 etc/vconsole.conf
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   195 Oct  6 13:13 etc/zypp/repos.d/repo-debug.repo
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   193 Oct  6 13:13 etc/zypp/repos.d/repo-main.repo
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   148 Oct  6 13:13 etc/zypp/repos.d/repo-sle-update.repo
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0   197 Oct  6 13:13 etc/zypp/repos.d/repo-source.repo
-rw-r--r--. 1 root root   system_u:object_r:unlabeled_t:s0 22529 Oct  6 13:13 etc/zypp/zypp.conf

---


- Current OS:

leapmicro:~ # cat /etc/os-release 
NAME="openSUSE Leap Micro"
VERSION="5.5"
ID="opensuse-leap-micro"
ID_LIKE="suse opensuse opensuse-leap suse-microos"
VERSION_ID="5.5"
PRETTY_NAME="openSUSE Leap Micro 5.5"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap-micro:5.5"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:LeapMicro"
LOGO="distributor-logo-LeapMicro"

leapmicro:~ # uname -a
Linux leapmicro 5.14.21-150500.55.31-default #1 SMP PREEMPT_DYNAMIC Wed Oct 4 16:52:05 UTC 2023 (5dc23e0) x86_64 x86_64 x86_64 GNU/Linux