Bug#367333: [Pkg-aide-maintainers] Bug#367333: aide: dotlockfile
presence test incorrect
bob at proulx.com
Mon May 15 08:43:54 UTC 2006
Marc Haber wrote:
> I'll probably remove the check since aide depends on liblockfile1 in
> these days, and thus dotlockfile is guaranteed to be present.
That would be fine. Anything that simplifies the script is a good
thing in my mind.
> Yes, and it also says that using which is an acceptable alternative
> for scripts that don't run early in system startup.
In Debian use of 'which' is fine. (On Debian 'which' is a shell
script with different behavior than traditional systems. On other
systems 'which' is a csh script and has different behavior not
suitable to this task. But on Debian it is fine.)
> I hate that idea. Huge complexity added.
I am okay with the use of 'which' to detect the command. As it was I
was simply following the published guidelines. Avoiding this entirely
and using the package dependency I like better. But since the test
was there in the script I assumed that it was the maintainer's
preference to have a test there.
More information about the Pkg-aide-maintainers