Ask Your Question
1

Startup fails with multiple errors

asked 2016-06-20 08:17:01 -0600

yglodt gravatar image

updated 2016-06-20 09:50:34 -0600

Today I updated my Fedora 24 workstation to the latest packages. The packages upgraded without an error, but on the subsequent reboot, I was left with a non-starting system.

Quite early in the boot process I see:

Failed to start Import network configuration from initramfs.
See `systemctl status fedora-import-state.service` for details.

After, the following services fail:

  • Login Service
  • Accounts Service
  • RealtimeKit Scheduling Policy Service
  • firewalld
  • Avahi mDNS/DNS-SD

Even in rescue mode the same happens, and I am unable to reach a terminal to log in.

So far the only solution I see is booting an USB-Stick with another OS, mount my broken OS with chroot, and fix it.

The question is: Which package broke my system so bad?

Edit: I would like to give more information ... but as of now I have no rescue-system on an USB-stick with me, so I can not even mount the partition and inspect the logs.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-06-21 18:42:15 -0600

ssieb gravatar image

updated 2016-07-13 13:58:05 -0600

When you boot, add enforcing=0 and autorelabel=1 to the kernel command line and remove selinux=0. While starting up, it will relabel the entire filesystem and after that is done, you shouldn't need to disable selinux anymore.

edit flag offensive delete link more
0

answered 2016-06-21 08:54:53 -0600

yglodt gravatar image

updated 2016-06-21 08:55:26 -0600

This error happened because I enabled selinux a while ago, and it hit me on the next reboot.

After adding selinux=0 to the grub commandline I could boot again.

edit flag offensive delete link more

Comments

If you've been using the system with selinux disabled, you will mess up the filesystem labelling. That's why it broke when you turned it back on. You should never need to disable selinux, just set it to permissive mode until you figure out what's wrong. That way, it will still work when turn it back on. See my answer for how to fix the labelling.

ssieb gravatar imagessieb ( 2016-07-13 14:01:22 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-06-20 04:07:55 -0600

Seen: 2,024 times

Last updated: Jul 13 '16