Bug#589681: Regression with jetty init script

Michele Renda mic.renda at email.it
Tue Jul 20 05:48:30 UTC 2010


Il giorno mar, 20/07/2010 alle 00.09 +0200, Niels Thykier ha scritto:
> Thanks for reporting it, with this email I have opened a bug for this
> problem on the Debian side.
> 
> It was our intention to remove the sudo usage (the previous versions
> were actually missing a dependency on sudo as you probably read from
> #580639), but definitely not to break the init script while we were at it.
>   Did I understand the Ubuntu bug correctly? Are the logs not properly
> rotated anymore?
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.

Thank you
Michele Renda

 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Apri subito Conto Arancio e ricevi 50 Euro di buoni acquisti da spendere presso Media World!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=10037&d=20-7





More information about the pkg-java-maintainers mailing list