On Sun Jan 27, 2002 at 01:03:26PM +0100, Michael Reinsch wrote:
> /etc/logrotate.d/ldap from current openldap-servers-2.0.21-1mdk contains:
>
> /var/log/ldap/ldap.log {
> [...]
> postrotate
> /sbin/service ldap restart
> [...]
> }
>
> This is bad: If openldap-servers is installed but the server is not
> running, it will be started after rotating logs. It should be imho only
> restarted if it is really running.Thanks, Michael. I'm fixing this now with a few other things. -- MandrakeSoft Security, OpenPGP key available on www.keyserver.net 1024D/FE6F2AFD 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD Current Linux kernel 2.4.8-34.1mdk uptime: 6 days 21 hours 16 minutes.
msg52794/pgp00000.pgp
Description: PGP signature
