>>>>> "Simon" == Simon McVittie <s...@debian.org> writes:

    Simon> On 14/11/14 03:50, Sam Hartman wrote:
    >> # Automatically added by dh_installinit if [ -x
    >> "/etc/init.d/syslog-ng" ]; then update-rc.d syslog-ng defaults 10
    >> 90 >/dev/null || exit $?  fi # End automatically added section

    Simon> That should be enough to enable "syslog-ng.service", because
    Simon> Debian's update-rc.d knows that /etc/init.d/foo in sysvinit
    Simon> corresponds to foo.service in systemd, and keeps their
    Simon> enabledness states in sync.

In my experience, that's not enough to enable a unit.
I had to add explicit enables for the krb5-kdc.service unit in the
krb5-kdc package (similar for krb5-admin-server); update-rc.d didn't do
the trick.

I agree that update-rc.d foo enable|disable does also seem to deal with
the unit.
I agree that it sometimes prints messages about how it's keeping things
in sync.
However, I've never seen evidence that update-rc.d foo defaults actually
does the right thing with the unit.

--Sam


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to