touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #129482
[Bug 1532553] Re: /etc/halt.local has become /usr/sbin/halt.local
Add a native service file and hook it up in the shutdown.target. That's
the cleanest solution.
/etc/systemd/system/foo.service
[Unit]
Description=Run service on shutdown
[Service]
ExecStart=/bin/true
[Install]
WantedBy=shutdown.target
--
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