core: clean up errors for live mounting
authorMike Yuan <me@yhndnzj.com>
Wed, 16 Oct 2024 14:30:10 +0000 (16:30 +0200)
committerMike Yuan <me@yhndnzj.com>
Tue, 22 Oct 2024 17:52:24 +0000 (19:52 +0200)
commitf19afb2177f73cc00b3bdf3a7add1a1abf40f58f
tree802feb084330f5165c9b516bd2953513ab054c81
parentf5b0e4f92e6d746025532fb4c0a085fb4b627264
core: clean up errors for live mounting

* Use SD_BUS_ERROR_NOT_SUPPORTED where appropriate
* Use Service object in service_can_live_mount()
* Include errno in bus error message
src/core/service.c
src/core/unit.c
src/core/unit.h