XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Oops! We removed busybox

    Scheduled Pinned Locked Moved XCP-ng
    5 Posts 4 Posters 335 Views 3 Watching
    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.
    • L Offline
      lbalding
      last edited by

      Hey gang,

      We have a security trainee that we directed to remove busybox from one of our xcp-ng servers and now the server will not not bring up any xcp-ng services. When we run xsconsole we are getting a

      Traceback (most recent call last):
      File "/usr/lib64/xsconsole/XSConsole.py", line 21, in <module>
      from XSConsoleLang import *
      File "/usr/lib64/xsconsole/XSConsoleLang.py", line 19, in <module>
      import XenAPI # For XenAPI.Failure
      ImportError: No module named XenAPI

      We've attempted to install busybox back on the machine but it still gives us this error. 8.2 has been working really great for us so we don't have a lot of experience digging around on the server trying to fix things.

      Any help would be appreciated.

      1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team
        last edited by

        Your best option is probably to "upgrade" the existing install using the ISO.

        1 Reply Last reply Reply Quote 0
        • A Offline
          andyhhp Xen Guru
          last edited by

          I suggest using this as a learning opportunity. Look at the RPM log and see what depends on busybox, and therefore what (else) got uninstalled in order to keep the dependencies satisfied.

          (Hint: you uninstalled all of Xapi, hence why nothing works)

          1 Reply Last reply Reply Quote 1
          • L Offline
            lbalding
            last edited by lbalding

            Thanks for the feedback folks. I upgraded using the installation media and it worked like a charm but, I suspect this machine was fated to EOL. As soon as we got the machine back up the raid volume corrupted. I'll take a look as suggested about how busybox is related to the xapi. The vulnerability scanners are screaming about the cve's associated with the the package so we've been removing the package from other machines it's not required on. This was simply an administrative faux pas on our part for sure. We've been very happy with xcp-ng and still consider it a rock solid solution.

            Thanks again for responding!

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Interpreting vulnerability scanners is a hard task. They are often screaming for "common cases", but remember XCP-ng is an appliance, so there are many cases where things do not apply. Happy to help you further via our pro support to answer in details your concerns 🙂

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