Search This Blog

2025/02/27

debian systemd-sysv-generator[7216]: SysV service '/etc/init.d/gdomap' lacks a native systemd unit file

Problem Statement:
Debian 12 boot error saying debian systemd-sysv-generator[7216]: SysV
service '/etc/init.d/gdomap' lacks a native systemd unit file.

Verify the error:
journalctl --pager

Output(Only Part Concerned):
Feb 27 10:13:03 debian systemd-sysv-generator[7216]: SysV service '/etc/init.d/gdomap' lacks
a native systemd unit file, automatically generating a unit file for compatibility.
Feb 27 10:13:03 debian systemd-sysv-generator[7216]: Please update package to include a
native systemd unit file.
Feb 27 10:13:03 debian systemd-sysv-generator[7216]: ! This compatibility logic is deprecated,
expect removal soon. !

Probable Solution:
First check the shell script gdomap exist at desired location.In our case '/etc/init.d'

Run(Shell Terminal Commands):
cd /etc/init.d
ls | grep gdomap

If you find gdomap file & its not empty then only systemctl service from init.d may
have failed to start somehow.

Lets try to start that service manually.
Start the gdomap.service & verify the status

sudo systemctl status gdomap.service
sudo systemctl enable gdomap.service
sudo systemctl start gdomap.service
sudo systemctl status gdomap.service

No comments:

Post a Comment