[opensuse-factory] create in /etc/logrotate.d/syslog
HI! Currently /etc/logrotate.d/syslog contains the line create 640 root root which re-creates the log file with given ownership and permission. Is there a compelling reason to do so? Background of my question: I've implemented an ansible role for installing/configuring mtail which uses setfacl on /var/log/messages (one of the log files monitored by mtail) to grant read access to the demon user running mtail. Within this ansible role I do not want to modify the system's logrotate config. When logrotate runs it normally preserves file system ACLs, but not when "create" config option is used. Other mainstream Linux distros like Debian Buster and CentOS 7.7 do not use "create" config option. Ciao, Michael. P.S.: Which source package builds syslog-service which installs /etc/logrotate.d/syslog? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 27/02/2020 19.00, Michael Ströder wrote:
P.S.: Which source package builds syslog-service which installs /etc/logrotate.d/syslog?
cer@minas-tirith:~> rpm -qf /etc/logrotate.d/syslog syslog-service-2.0-lp151.3.3.noarch cer@minas-tirith:~> -- Saludos/Cheers Carlos E. R. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2/27/20 7:00 PM, Michael Ströder wrote:
P.S.: Which source package builds syslog-service which installs /etc/logrotate.d/syslog?
Found it. Here's my suggested change: https://build.opensuse.org/request/show/780003 Ciao, Michael. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 2020-02-27 at 19:00 +0100, Michael Ströder wrote:
P.S.: Which source package builds syslog-service which installs /etc/logrotate.d/syslog?
The easiest way to find out the answer to this question:
zypper info syslog-service
Information for package syslog-service: --------------------------------------- Repository : openSUSE-Tumbleweed-Oss Name : syslog-service Version : 2.0-790.5 Arch : noarch Vendor : openSUSE Installed Size : 3.9 KiB Installed : No Status : not installed Source package : syslogd-1.4.1-790.5.src <---------------- Summary : Syslog service files & scripts Description : The package syslog-service provides the service boot scripts for SysV and the service unit files for systemd. Cheers, Dominique
participants (3)
-
Carlos E.R.
-
Dominique Leuenberger / DimStar
-
Michael Ströder