• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Shutdown after task completion is rebooting client

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    909
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Magnus_CA
      last edited by

      Hi folks,

      Whenever I schedule a task and enable the option to ‘Shutdown after Task Completion’ the client reboots, rather than shuts down. GreenFog and scheduled shutdowns also behave the same way.

      This used to work just fine and the only thing that changed around the time it stopped working was an Ubuntu OS kernel update that I received automatically. I’m pretty sure the kernels fog uses to work with clients are isolated from the OS kernel updates.

      Anyone know of a fix or a method to troubleshoot?

      Thanks in advance for the help.

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        This isn’t a kernel issue at all, as the Services (GreenFOG, TaskReboot, etc…) don’t do anything with the kernel/linux layer of the FOG system.

        The only one that, might possibly, have anything to do with the kernel is the Task scheduling shutdown, but even that I’d be hard pressed to believe.

        I think this issue is more related to the way the shutdown command for the task cycle is read. I don’t know much about 0.32’s init.gz file but it may be trying to see shutdown as either 0 or 1, but the shutdown sent when creating a task is set as shutdown=on. I could be wrong and will take a look for you.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        202

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project