[systemd-devel] [PATCH 1/2] shared/install: ignore ENOENT from unit_file_can_install
Lennart Poettering
lennart at poettering.net
Mon Sep 10 15:53:30 PDT 2012
On Mon, 03.09.12 17:13, Dave Reisner (dreisner at archlinux.org) wrote:
> When a service file contains an .include directive with a path that
> doesn't exist, systemctl list-unit-files will simply error out with:
>
> Failed to get unit file list: No such file or directory
Hmm, we probably should log about invalid files and add them in a new
state "invalid" or so to the returned service list, rather than just
excluding this single error condition.
I'll try to cook up a patch for this.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list