Skip to main content

Enabling BEST Linux v7 services after an init.d to systemd OS upgrade

Modern Linux distributions no longer use init.d services, and many users are upgrading their operating systems, switching to the systemd system and service manager.

BEST for Linux agents are not designed to detect this change and automatically reconfigure themselves. You need to perform this action manually. Follow these steps:

Important

This procedure will likely be modified in the future. If you require to perform this task in the future, please check this article for any updates.

  1. Check that following service files exist:

    ls -l /etc/systemd/system/bdsec*
    

    The following files should be present on disk:

    -rw-r--r--. 1 root root 427 Jun 30 17:17 /etc/systemd/system/bdsec-arrakis.service
    -rw-r--r--. 1 root root 568 Jun 30 17:17 /etc/systemd/system/bdsec-daemon.service
    -rw-r--r--. 1 root root 433 Jun 30 17:17 /etc/systemd/system/bdsec-epagng.service
    -rw-r--r--. 1 root root 176 Jun 30 17:17 /etc/systemd/system/bdsec-minidump.service
    -rw-r--r--. 1 root root 150 Jun 30 17:17 /etc/systemd/system/bdsec-minidump.timer
    -rw-r--r--. 1 root root 627 Jun 30 17:17 /etc/systemd/system/bdsec-osqueryd.service
    -rw-r--r--. 1 root root 169 Jun 30 17:17 /etc/systemd/system/bdsec.service
    -rw-r--r--. 1 root root 438 Jun 30 17:17 /etc/systemd/system/bdsec-update.service

    Note

    If any of the above files do not exist, reinstall BEST for Linux.

  2. Check that following folder and symlinks exist:

    ls -l /etc/systemd/system/multi-user.target.wants/bdsec*

    The following files should be present on disk:

    lrwxrwxrwx. 1 root root 33 Jun  9 11:13 /etc/systemd/system/multi-user.target.wants/bdsec.service -> /etc/systemd/system/bdsec.service

    Note

    If any of the above files do not exist, re-enable the bdsec services:

    systemctl enable bdsec bdsec-update bdsec-daemon bdsec-minidump.timer
  3. Check that following folder and symlinks exist:

    ls -l /etc/systemd/system/bdsec.service.wants
    

    The following files should be present on disk:

    /etc/systemd/system/bdsec.service.wants:
    lrwxrwxrwx. 1 root root 40 Jun  9 11:13 bdsec-daemon.service -> /etc/systemd/system/bdsec-daemon.service
    lrwxrwxrwx. 1 root root 40 Jun  9 11:13 bdsec-epagng.service -> /etc/systemd/system/bdsec-epagng.service
    lrwxrwxrwx. 1 root root 40 Jun  9 11:13 bdsec-minidump.timer -> /etc/systemd/system/bdsec-minidump.timer
    lrwxrwxrwx. 1 root root 40 Jun  9 11:13 bdsec-update.service -> /etc/systemd/system/bdsec-update.service

    Note

    If any of the above files do not exist, re-enable the bdsec services:

    systemctl enable bdsec bdsec-update bdsec-daemon bdsec-minidump.timer