Dependency failed for reboot

Issues related to applications and software problems and general support
Post Reply
tomydevasia
Posts: 2
Joined: 2020/05/18 04:15:56

Dependency failed for reboot

Post by tomydevasia » 2020/05/18 05:09:33

I have installed CentOS8 with separate partition for /var. I am getting the following error on reboot,

[FAILED] Failed unmounting /var.
[OK] Stopped target Local File Systems (pre).
[OK] Stopped Remount Root and Kernel File Systems.
[OK] Stopped Create Static Device Nodes in /dev.
[OK] Stopped Cryptographic Setup for luks-244f6866-e27a-4193-919e-b4e792b152f1.
[OK] Reached target Unmount All Filesystems.
[OK] Removed slice system-systemd\x2dcryptsetup.slice.
[OK] Reached target Shutdown.
[OK] Reached target Final Step.
Starting Reboot...
[FAILED] Failed to start Reboot.
See 'systemctl status systemd-reboot.service' for details
[DEPEND] Dependency failed for Reboot.

What will be the reason for the same. I tried stopped the journald service prior rebooting, but still the same error.

User avatar
jlehtone
Posts: 2774
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Dependency failed for reboot

Post by jlehtone » 2020/05/18 09:33:44

tomydevasia wrote:
2020/05/18 05:09:33
I have installed CentOS8 with separate partition for /var.
https://access.redhat.com/documentation ... -reference writes:
If /usr or /var is partitioned separately from the rest of the root volume, the boot process becomes much more complex because these directories contain boot-critical components. In some situations, such as when these directories are placed on an iSCSI drive or an FCoE location, the system may either be unable to boot, or it may hang with a Device is busy error when powering off or rebooting.

This limitation only applies to /usr or /var, not to directories below them. For example, a separate partition for /var/www will work without issues.
Apparently the complications affect reboot too.

tomydevasia
Posts: 2
Joined: 2020/05/18 04:15:56

Re: Dependency failed for reboot

Post by tomydevasia » 2020/05/19 03:12:19

I have done the changes to stop the services which are using /var and now /var is un-mouting successfully

But still the reboot is not working with same Dependency error. Is there a way to find the dependency which is failed during reboot.

Post Reply

Return to “CentOS 8 - General Support”