[Bug 256488] mail/roundcube: newsyslog file makes little sense
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Jun 2021 18:16:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256488 Bug ID: 256488 Summary: mail/roundcube: newsyslog file makes little sense Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ale@FreeBSD.org Reporter: marko.cupac@mimar.rs Flags: maintainer-feedback?(ale@FreeBSD.org) Assignee: ale@FreeBSD.org Created attachment 225644 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225644&action=edit newsyslog conf file patch Hi, I noticed that roundcube port installs roundcube.conf newsyslog file into /usr/local/etc/newsyslog.conf.d. Content of this file currently makes little sense for new installs and default setups, as neither directory in which logs reside, nor log filenames correspond to defaults. default.inc.php defines log dir as follows: // use this folder to store log files // must be writeable for the user who runs PHP process (Apache user if mod_php is being used) // This is used by the 'file' log driver. $config['log_dir'] = RCUBE_INSTALL_PATH . 'logs/'; Unless overriden in config.inc.php, logs will reside in "/usr/local/www/roundcube/logs", and not in "/usr/local/www/roundcube/roundcube/logs" while roundcube.conf has "/usr/local/www/roundcube/roundcube/logs". default.inc.php states that .log extension will be appended to each log file: // Default extension used for log file name $config['log_file_ext'] = '.log'; Unles overriden in config.inc.php, log filenames will be "errors.log" and "sendmail.log", while roundcube.conf has "errors" and "sendmail" I have attached the patch. I haven't tested, but I would say %%WWWDIR%% here expands to roundcube install dir of /usr/local/www/roundcube, and not FreeBSD's global WWWDIR, /usr/local/www. -- You are receiving this mail because: You are the assignee for the bug.