[Bug 718168] New: inconsistent logfile permissions, logrotate
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c0 Summary: inconsistent logfile permissions, logrotate Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sweet_f_a@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0 Hi, There are inconsistencies with logfile permissions and logrotate. For example /var/log/localmessages seems to be created at installation time with 0644 root:root But the first log rotation changed this to 0640 and my users complained about that. Note I've posted this issue already on opensuse-factory some time ago including how I would solve it, please read http://comments.gmane.org/gmane.linux.suse.opensuse.devel/34392 cu, Rudi Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c zj jia <zjjia@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@suse.com AssignedTo|bnc-team-screening@forge.pr |puzel@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c Petr Uzel <puzel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|puzel@suse.com |vcizek@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c1 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |vcizek@suse.com --- Comment #1 from Vitezslav Cizek <vcizek@suse.com> 2011-09-20 12:22:23 CEST --- Hi, The file that causes your permission change (/etc/logrotate.d/syslog) is owned by package klogd. In fact, almost all the files in /etc/logrotate.d are owned by different packages, which should handle the permission consistency on themselves. It's not logrotate to blame for this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c2 --- Comment #2 from Ruediger Meier <sweet_f_a@gmx.de> 2011-09-20 10:59:40 UTC --- Exactly that's why I've posted this issue on factory list first to help me solving this issue across all the different packages which put something into /etc/logrotate.d/. Should I report bugs against all these packages? I could also fix all these packages by myself and send many submit requests but I'm almost sure that they would be declined by their maintainers. I think we would need some kind of reference (maybe in packaging guidelines?) to a rule like "never hardcode permissions within logrotate configs". If there would be such reference we could start sending fixes against the single packages and there would be a good chance to get accepted without much more discussions. However I don't know how to go that way. Probably security team and logrotate maintainers should discuss about such rule. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c3 --- Comment #3 from Vitezslav Cizek <vcizek@suse.com> 2011-09-21 13:55:01 CEST --- I'd say, first file a bug or reassign this one to klogd/syslogd, as their permissions differs after installation/rotation. It's not much of a problem, if the packages keep the file permission consistent with the logrotate configs. A packaging guideline will solve this, you can try a feature request in fate. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=718168 https://bugzilla.novell.com/show_bug.cgi?id=718168#c4 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |WONTFIX --- Comment #4 from Vitezslav Cizek <vcizek@suse.com> 2011-10-19 15:21:02 CEST --- I am closing this as I don't have a way to solve it. And it's not a bug in logrotate per se. You should report the localmessages inconsistency against klogd/syslogd. You have good ideas how to proceed with this generally, so feel free to try one of these. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com