Giter Site home page Giter Site logo

Comments (4)

fabianishere avatar fabianishere commented on July 29, 2024 1

That should indeed not be happening. I'll try to address this soon.

from udm-kernel-tools.

TheJulianJES avatar TheJulianJES commented on July 29, 2024 1

Just got around to trying this again (with the same original version of udm-kernel/udm-kernel-tools I installed where I remember having this issue previously): It didn't happen again.
I only experienced this issue once where I entered unifi-os restart and the whole system rebooted (got the "Starting..." circle thing on the display of the UDMP twice (as expected when doing a full restart with a custom kernel)) and also had routing temporarily "disabled".
Since then, I always avoided unifi-os restart.

But as I was also unable to reproduce this issue now, I'll close it. Seems to work as expected.
Perhaps it was user error of some sort? (Thanks for trying to debug this!)

from udm-kernel-tools.

fabianishere avatar fabianishere commented on July 29, 2024

Hmm, I can't seem to reproduce the issue. As far as I know, it should not reboot if it detects that it is already running a custom kernel.

See the following code:

if ssh-proxy "test -f /.udm-kernel-tools"; then
echo "Successfully booted into custom kernel.."
# Remove mark to indicate that we are booting into a custom kernel
rm -f /mnt/persistent/.udm-boot-mark
exit 0
elif [ -f /mnt/persistent/.udm-boot-mark ]; then
echo "Custom kernel boot seems to have failed. Aborting..."
exit 1
else
touch /mnt/persistent/.udm-boot-mark
bootctl_boot
fi

from udm-kernel-tools.

TheJulianJES avatar TheJulianJES commented on July 29, 2024

Huh, that seems weird. I'm pretty sure my system "double restarts" when doing unifi-os restart. I'm still running the initial version though. I'll try to reproduce it later and also upgrade.

Not sure if that's related, but I enabled the auto restart thing that kexec gives you at installation (wasn't mentioned in the guide and I thought it might be needed for the auto restart to work).

from udm-kernel-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.