https://bugzilla.wikimedia.org/show_bug.cgi?id=47980
--- Comment #1 from Antoine "hashar" Musso <[email protected]> --- As root, I could not change the ownership of a log file on the NFS share: $ sudo touch /data/project/logs/logrotatetest.log $ ls -l /data/project/logs/logrotatetest.log $ -rw-rw-r-- 1 root root 0 May 2 08:49 /data/project/logs/logrotatetest.log $ sudo chown udp2log:udp2log logrotatetest.log chown: changing ownership of `logrotatetest.log': Invalid argument $ `copytruncate` would solve that since the file is copied and then its content removed. But that would mean losing some logs sent between the two operations, I dont think this is acceptable for production. `nocreate` would not attempt to recreate the log files. That would only work if HUP signal sent to udp2log actually recreate the file. I believe that is the case since when the files are rotated and recreated by log rotated, the inode changed and thus udp2log must be reopening them, possibly recreating it. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
