Show warning on upgrade if there are /etc/init/*.override files
Bug #1542025 reported by
Michael
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
While upgrading from 14.04 to 16.04, I noticed that all of my previously disabled services got started again.
I disabled them by putting "manual" in e.g. /etc/init/
tags: | added: rls-x-incoming |
tags: | added: xenial |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Medium |
importance: | Medium → High |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | High → Medium |
tags: | removed: rls-x-incoming |
To post a comment you must log in.
Sorry, we are not going to implement an upstart parser into systemd, and there is not even an 1-to-1 correspondence between upstart jobs and systemd units. So this can only ever be a heuristics, and "working in some cases" is worse (because not predictable) than "upstart overrides don't affect systemd units".
The "right way" to disable something in an init system agnostic way is "update-rc.d myservice disable". This will disable sysv init scripts, upstart jobs, and systemd units. But it's not realistic to expect that upstart and systemd can read each other's configuration files, sorry..