I’ve had two server oses here: alma linux and debian(currently). On both of them, they will hang when I shut them down from cockpit, and they hang at the end of the shutdown.

Also, it takes an hour to a day to have this issue start. if it’s restarted two times in a row quickly, it works perfectly fine for some reason.

What I’ve tried:

  • setting “acpi=off” and “acpi=force” kernel parameters in grub
  • removing my nvidia gpu(i was using nouveau drivers)
  • changing distros

nothing worked. here are some things that both distros had in common with eachother:

  • systemd
  • cockpit
  • libvirt & qemu
  • docker

does anyone have advice? nothing i’ve seen online has worked. thank you for suggestions

  • potentiallynotfelix@lemmy.fishOP
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    can you elaborate on why you suspect this? The cockpit reboot or shutdown button uses the shutdown command directly along with a --reboot or --poweroff flag.

        onSubmit(event) {
            const Dialogs = this.context;
            const arg = this.props.shutdown ? "--poweroff" : "--reboot";
            if (!this.props.shutdown)
                cockpit.hint("restart");
    
            cockpit.spawn(["shutdown", arg, this.state.when, this.state.message], { superuser: "require", err: "message" })
                    .then(this.props.onClose || Dialogs.close)
                    .catch(e => this.setState({ error: e.toString() }));
    
            event.preventDefault();
            return false;
        }
    

    (source)