[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: named.service or bind9.service or both?



On Wed, Jan 18, 2023 at 12:25:03PM +0100, Jesper Dybdal wrote:
> I have now, in order:
> * Disabled bind9.service
> * Corrected /etc/default/named so the named service can start (it was
> missing the chroot)
> * Stopped bind9.service
> * Started named.service and checked that named i actually running
> * Deleted /etc/systemd/system/bind9.service
> * Deleted /etc/default/bind9
> * Run systemctl daemon-reload
> * Checked that "systemctl restart named.service" works
> 
> That leaves one file in the system with the name "bind9.service":
> /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/bind9.service
> Can I safely delete that one (I suspect so)?  Will it be a problem during
> reboot if I leave it?

I've never had to worry about the files in there.  I suspect it'll
get removed when you reboot, if you don't remove it yourself.  In any
case, the files in that directory are all 0 bytes long -- it's just
their names that matter.  So replacing it would be simple, if for some
reason removing it causes an issue.  (Which I seriously doubt it will.)


Reply to: