[systemd-devel] "Failed to enable unit: Access denied"?

Barry barry at barrys-emacs.org
Fri Jun 14 08:12:59 UTC 2024



> On 13 Jun 2024, at 15:26, Divine Eguzouwa <divine.eguzouwa at gmail.com> wrote:
> 
> $ systemctl --user daemon-reload
> 
> $ systemctl --user enable test.service
> Failed to enable unit: Unit file test.service does not exist.

Does systemctl cat —user test.service work?
Are there any error messages in jounalctl —user about test.service?

Not sure there is a default.target for systemd user. But I have not checked.

Barry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240614/58ed1e06/attachment.htm>


More information about the systemd-devel mailing list