[RFC PATCH 0/6] Allow systemd activation for debuginfod

Mark Wielaard mark@klomp.org
Wed Mar 10 15:37:17 GMT 2021

Hi Frank, Hi Victor,

On Sun, 2021-03-07 at 13:17 -0500, Frank Ch. Eigler wrote:
> > > What about the grooming/scanning cycles?
> > 
> > I was thinking the same thing. This patch series takes care of the web-
> > socket activation part. systemd also provides path-based activation of
> > units [1]. That could maybe be used for the scanning cycles. systemd
> > would then trigger activation when something is dropped into (or
> > removed from) the search directory.
> .... yeah but it's not recursive, not symlink-following-aware, doesn't
> work for all filesystems (NFS!).

But is that important for this use case? A single developer box with a
local dir having some debuginfo for local packages. debuginfod could
just warn (and keep running/scanning) if it detects that dir contains
symlinks, subdirs, etc. on first scan. I don't think path-based
activation means you have to quit once done, just that you might be
reactivated if you do.



More information about the Elfutils-devel mailing list