Software⏱️ 3 min read📅 2026-06-11

How to Fix: "Missing LSB tags and overrides" error on /etc/init.d script

Error fixing missing LSB tags and overrides in /etc/init.d script on Raspberry Pi.

Quick Answer: Fix by adding LSB tags and overrides to the script, and ensuring correct permissions.

The 'Missing LSB tags and overrides' error occurs when a system initialization script fails to include necessary Linux System Base (LSB) tags and overrides, which are required for proper system booting. This error typically affects users who have modified or created custom scripts that don't adhere to the standard LSB conventions.

This issue can be frustrating as it may cause boot issues, display problems, or even prevent the system from booting altogether. In this guide, we will walk you through the steps to identify and resolve the 'Missing LSB tags and overrides' error on your /etc/init.d script.

🔍 Why This Happens

  • The primary reason for this error is when a script fails to include the required LSB tags and overrides, which are necessary for system booting. This can happen due to a lack of understanding or incorrect implementation of the LSB standards in the script.
  • An alternative cause could be if the script has been modified to remove or alter these tags and overrides, which would also result in the error.

🚀 How to Resolve This Issue

Restoring Default Permissions

  1. Step 1: Change the current permissions of the /etc/init.d directory back to their default values using the command `chmod -R 755 /etc/init.d` This will ensure that the scripts are executed with the correct permissions.
  2. Step 2: Verify that the script is not modified and that no additional changes have been made to the LSB tags and overrides. If necessary, revert any changes made to the script.
  3. Step 3: Test the system again by running the command `insserv /etc/init.d/asplashscreen` to ensure that the error has been resolved.

Repairing LSB Tags and Overrides

  1. Step 1: Identify the specific lines in the script where the LSB tags and overrides are missing. These lines typically start with `# LSB_INIT` or `# LSB_PRESTART`.
  2. Step 2: Add the necessary LSB tags and overrides to these lines, ensuring that they follow the standard LSB conventions. For example, if a line starts with `# LSB_INIT`, add `# LSB_INIT: ` followed by any required arguments.
  3. Step 3: Test the system again by running the command `insserv /etc/init.d/asplashscreen` to ensure that the error has been resolved.

💡 Conclusion

To resolve the 'Missing LSB tags and overrides' error, it's recommended to first restore default permissions or repair the script itself. By following these steps, you should be able to identify and fix the issue, ensuring a smooth system boot process.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions