Control: retitle -1 debian-goodies: checkrestart does find correctly the
process of locally installed programs, but not its init script or .service file
Hi again,
just some more hints on this:
Axel Beckert wrote:
> Yvan Taviaud wrote:
> > I've found in the code that all scripts go through dpkg-query --search and
> > that's the issue: as I've compiled hitch software myself, it doesn't belong
> > to any package.
>
> Correct. checkrestart so far only works for packaged files.
The primary problem with this is: How should it find the according
init.d script or .service file if not via the package's file list?
(Granted: Parsing .service files is probably less complicated than
parsing init.d scripts. Still non-trivial.)
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE