Issue Installing initscripts and chkconfig on Azure Linux VM

He, Erchuang/何 二创 141 Reputation points
2024-11-21T06:52:18.6633333+00:00

We have created a Linux virtual machine on Microsoft Azure and are planning to install our product on it. During the installation process, we encountered an issue and would appreciate your assistance.

Before installing our product, we need to install the initscripts package and its dependency chkconfig. However, when executing the yum install initscripts command, the system indicates that initscripts was installed successfully, but chkconfig failed to install. The error message is: /etc/init.d;673d8b5a: cpio: File from package already exists as a directory in system.

Upon inspection, we found that the /etc/init.d directory contains two files: AzureNetworkWatcherAgent and azuremonitoragent. We would like to understand the purpose of these files and seek your advice on resolving this installation conflict.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,056 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.