[Bug 790726] New: server:http/nginx: root:root ownership of the logs directory breaks log rotation
https://bugzilla.novell.com/show_bug.cgi?id=790726 https://bugzilla.novell.com/show_bug.cgi?id=790726#c0 Summary: server:http/nginx: root:root ownership of the logs directory breaks log rotation Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All URL: https://build.opensuse.org/package/rdiff?linkrev=base& package=nginx&project=home%3Avjt%3Aifad&rev=5 OS/Version: openSUSE 12.2 Status: NEW Keywords: easy_fix, patch Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: suse@ammler.ch ReportedBy: ifaddevteam@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com CC: schubi@suse.com, crrodriguez@opensuse.org Found By: Community User Blocker: No Hi, the current nginx.spec file defines the "/var/log/nginx" directory as owned by root:root with 750 permissions. This makes nginx unable to reopen its log files when logrotate instructs it so, as nginx runs as the "nginx" user. I have applied this change on the package branch I maintain: https://build.opensuse.org/package/rdiff?linkrev=base&package=nginx&project=home%3Avjt%3Aifad&rev=5 Unfortunately I cannot send you a submit request as our package is customized to our needs, it's not the general-purpose package that you must provide. Thanks, ~Marcello -- 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=790726
https://bugzilla.novell.com/show_bug.cgi?id=790726#c1
--- Comment #1 from Marcel Gmür
https://bugzilla.novell.com/show_bug.cgi?id=790726
https://bugzilla.novell.com/show_bug.cgi?id=790726#c2
--- Comment #2 from Marcel Gmür
https://bugzilla.novell.com/show_bug.cgi?id=790726
https://bugzilla.novell.com/show_bug.cgi?id=790726#c3
--- Comment #3 from IFAD Infrastructure Team
https://bugzilla.novell.com/show_bug.cgi?id=790726
https://bugzilla.novell.com/show_bug.cgi?id=790726#c4
--- Comment #4 from Marcel Gmür
https://bugzilla.novell.com/show_bug.cgi?id=790726
https://bugzilla.novell.com/show_bug.cgi?id=790726#c5
--- Comment #5 from IFAD Infrastructure Team
https://bugzilla.novell.com/show_bug.cgi?id=790726
https://bugzilla.novell.com/show_bug.cgi?id=790726#c6
Marcel Gmür
participants (1)
-
bugzilla_noreply@novell.com