systemd cannot generate a service unit for init script, which is a symbolic link to a file in another local partition

Solution In Progress - Updated -

Issue

  • I created a init script in /opt, which is another local partition. And, I created a symbolic link in /etc/init.d to the file.
  • I noticed a bug in Red Hat Enterprise Linux 7.2 of https://access.redhat.com/solutions/2067013. And, I updated the systemd package.
  • But, after reboot, I found that systemd didn't generate a service for my init script.

Environment

Red Hat Enterprise Linux 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content