I'm marking this invalid because it is working as designed. Logs should
be controlled by root and handled by the master process. Worker
processes report anything needing to be logged to the master process.
** Changed in: nginx (Ubuntu)
Status: New => Invalid
--
nginx logrotate conf file s
I use variables in logfiles to and ran into the same issue.
It would be nice if logs were rotated with www-data in tact.
--
nginx logrotate conf file sets wrong owner for the log
https://bugs.launchpad.net/bugs/499494
You received this bug notification because you are a member of Ubuntu
Bugs, whi
I got it.
I'm using nginx with variables in log name. When you do so you must set
log www-data writable.
If you don't make such a change you should leave log permissions as root
adm.
ref: http://wiki.nginx.org/NginxHttpLogModule#access_log
** Changed in: nginx (Ubuntu)
Status: Triaged =>
my or Lucid version is 0.7.65-1ubuntu2, and it's working from start. why
should we change if it's working?
if think that there will be no fix in Karmic, so you need to change
config to make it work as you wish.
--
nginx logrotate conf file sets wrong owner for the log
https://bugs.launchpad.net/
just ignore my last post. The logs work as expected if created as www-
data. So it won't even need to be set as root.
I think that this bug is pretty logic. Just change the conf for
logrotate and submit the package.
--
nginx logrotate conf file sets wrong owner for the log
https://bugs.launchpad
Why mark it as invalid?
The current settings simply make nginx unable to write logs. I can confirm
that the master runs as root and manage logs, since changing logrotate
settings to root root make it work as expected.
On Sat, Mar 13, 2010 at 1:06 PM, Dulmandakh Sukhbaatar wrote:
> on Lucid log
on Lucid log files owned by root and groups is also root, but can write
logs to it. from 'ps aux | grep nginx' I can see that there are 2 nginx
processes on is master and another is worker. worker process is serving
pages and running as a www-data user. but master process is managing
workers and lo
I have not investigated (and apparently do not seem to be affected by
this), but it looks like a major issue.
** Changed in: nginx (Ubuntu)
Status: New => Triaged
** Changed in: nginx (Ubuntu)
Importance: Undecided => High
--
nginx logrotate conf file sets wrong owner for the log
http
strange enough:apache has the same kind of config:
/var/log/apache2/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -f "`. /etc/apache2/envv
Hi,
Thanks for taking time to report this issue and the solution, and help
making Ubuntu better.
Could you please report also this problem to Debian, as it seems that
this part of the package comes from there? You can do that by using
reportbug --bts=debian
Thanks,
Fabrice
--
nginx logrotate c
$ apt-cache policy nginx
nginx:
Installed: 0.7.62-4ubuntu1
Candidate: 0.7.62-4ubuntu1
Version table:
*** 0.7.62-4ubuntu1 0
500 http://us.ec2.archive.ubuntu.com karmic/universe Packages
100 /var/lib/dpkg/status
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ub
11 matches
Mail list logo