Bug#326891: freeradius: postinst script could be faster

2005-09-07 Thread Guido Trotter
On Wed, Sep 07, 2005 at 01:12:42AM +1000, Paul TBBle Hampson wrote: Nice catch. However, I went with find /var/log/freeradius \( ! -user freerad -o ! -group freerad \) -exec chown freerad:freerad {} \; as otherwise it'll do the exec only in the ! -group freerad case. It'll be in

Bug#326891: freeradius: postinst script could be faster

2005-09-07 Thread Nicolas Baradakis
Guido Trotter wrote: I'm maintaining a stable backport of freeradius and that will help being efficient when I upgrade on the production servers! (I did that because of the fact that the security issues in freeradius described in http://www.freeradius.org/security.html that probably affected

Bug#326891: freeradius: postinst script could be faster

2005-09-06 Thread Guido Trotter
Package: freeradius Version: 1.0.4-2 Severity: wishlist Tags: patch Hi! The freeradius postinst script does a: find /var/log/freeradius -exec chown freerad {} \; -exec chgrp freerad {} \; Which can be slow, especially if there are lots of nas and logs. This small patch makes one less call to

Bug#326891: freeradius: postinst script could be faster

2005-09-06 Thread Paul TBBle Hampson
tags 326891 +fixed-upstream Thankyou Mr Bug Control Robot. On Tue, Sep 06, 2005 at 02:26:11PM +0200, Guido Trotter wrote: - find /var/log/freeradius -exec chown freerad {} \; -exec chgrp freerad {} \; + find /var/log/freeradius ! -user freerad -o ! -group freerad -exec chown