Bug#589681: Regression with jetty init script

Torsten Werner twerner at debian.org
Tue Jul 20 06:34:43 UTC 2010


Hi,

Am 20.07.2010 07:48, schrieb Michele Renda:
> Yes, the problem is that /var/log/jetty/jetty.log is created as user
> "jetty", and if rotatelogs is launched as user root, it is unable to
> rotate this file.
> 
> Trying to see how other scripts solved the problem (grep -i
> rotatelogs /etc/init.d/*) seem to be jetty is the only init script that
> use rotatelogs.

But the init script runs
  chown -R $JETTY_USER:adm "$LOGDIR"
after rotatelogs.

Cheers,
Torsten





More information about the pkg-java-maintainers mailing list