Bug#367337: Re: [Pkg-aide-maintainers] Bug#367337: /var/run/aide.lock
breaks non-root use of aide
Marc Haber
mh+debian-packages at zugschlus.de
Fri May 26 11:51:28 UTC 2006
tags #367337 confirmed pending
thanks
On Mon, May 15, 2006 at 03:40:40AM -0600, Bob Proulx wrote:
> This is leading me to believe that the current package is not going
> the right direction. I think it should go a different direction.
> Previously the aide program was renamed to aide.real so that
> /etc/cron.daily/aide could call it "aide". But 'aide' the program is
> not the sole domain of /etc/cron.daily/aide and that is causing me
> problems. Instead I am thinking that the binary should not be renamed
> nor wrapped with a script. The packaged /etc/cron.daily/aide script
> should instead be calling a wrapper script by a different name. It
> would be much easier for those two scripts to coordinate between each
> other. This would avoid tripping over other uses of the program.
> Between those two scripts all of the semaphoring and modular config
> file processing can be handled without causing problems to other
> unrelated scripts.
>
> Let's see, /etc/cron.daily/aide calls /usr/bin/aiderun which
> concatenates the config file and semaphores the output database to
> protect against cron tasks overrunning themselves. It then calls
> /usr/bin/aide the binary to perform the activity. This avoids any
> conflict with other scripts using aide the binary. That seems like a
> clean approach to me.
>
> What do you think?
Accepted, implemented, and committed to svn. Thanks for being so
persistent and for your striking arguments.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Pkg-aide-maintainers
mailing list