← Back to team overview

touch-packages team mailing list archive

[Bug 1532553] Re: /etc/halt.local has become /usr/sbin/halt.local

 

Before the introduction of systemd in Debian and Ubuntu, /etc/halt.local was not supported at all.
Neither sysvinit nor upstart executed that file/script. So I'm mildly suprised, when you say "it always worked".

We decided to not introduce support for this legacy, sysv specific
service, which after a bit of research seems to be Redhat
(/sbin/halt.local) and SuSE (/etc/init.d/halt.local) specific.

Adding /etc/halt.local to the mix would only confuse things.
It's much better to create a native service file with systemd, and it's much easier.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1532553

Title:
  /etc/halt.local has become /usr/sbin/halt.local

Status in systemd package in Ubuntu:
  Fix Committed

Bug description:
  Ubuntu 15.10, amd64
  systemd-225-1ubuntu9

  /etc/halt.local seems to have moved to /usr/sbin/halt.local which IMO
  is bad for a couple of reasons.

  1) This is not where it's supposed to be
  2) Locally modified (non-dpkg managed) scripts under /usr is bad

  I have not been able to find anywhere documenting this as a decided
  change, so it seems like a bug to me.

  Please let me know if you need more info from me

  /Thomas

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1532553/+subscriptions