[Bug 890094] New: home:szotsaki/Radicale: Enhancement
https://bugzilla.novell.com/show_bug.cgi?id=890094 https://bugzilla.novell.com/show_bug.cgi?id=890094#c0 Summary: home:szotsaki/Radicale: Enhancement Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: 3rd party software AssignedTo: szotsaki@gmail.com ReportedBy: M.Kraft@gmx.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- So it's me again, this time with a few things to think about adding to the RPM: 1) You changed the default authentication method to htpasswd, which I think is sensible, but consider adding a dependency to apache2-utils (which contains the htpasswd2-tool), too. 2) The default config has /etc/radicale/logging as configuration for logging. Consider providing this file. The example from http://radicale.org/user_documentation/#idlogging-configuration-file works, if the file /var/log/radicale has been created and made writable. 3) If you provide logging, don't forget to provide logrotation as well. I am using the following right now, but have yet to see if it does the job: /etc/logrotate.d/radicale: /var/log/radicale { compress dateext maxage 365 rotate 99 size=+4096k notifempty missingok create 640 postrotate systemctl restart radicale endscript } -- makr -- 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=890094 https://bugzilla.novell.com/show_bug.cgi?id=890094#c1 Ákos Szőts <szotsaki@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Ákos Szőts <szotsaki@gmail.com> 2014-08-08 21:07:01 UTC --- Thank you for your enhancements! I built all of it into the package; please check here: - All: https://build.opensuse.org/package/rdiff/home:szotsaki/Radicale?linkrev=base&rev=23 - Logfile fix: https://build.opensuse.org/package/rdiff/home:szotsaki/Radicale?linkrev=base&rev=28 I slightly altered your logrotate script: /var/log/radicale { compress dateext maxage 365 rotate 99 size=+4096k notifempty missingok create 620 root radicale postrotate /usr/bin/systemctl restart radicale.service endscript } It says: reading config file /etc/logrotate.d/radicale Handling 1 logs rotating pattern: /var/log/radicale 4194304 bytes (99 rotations) empty log files are not rotated, old logs are removed considering log /var/log/radicale log needs rotating rotating log /var/log/radicale, log->rotateCount is 99 dateext suffix '-20140808' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' glob finding old rotated logs failed renaming /var/log/radicale to /var/log/radicale-20140808 creating new /var/log/radicale mode = 0644 uid = 0 gid = 0 running postrotate script compressing log with: /bin/gzip It successfully compressed 5,0 GB of my Radicale logs :). Please check if you find the fixes suffice and working well. Thank you for your report. -- 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=890094 https://bugzilla.novell.com/show_bug.cgi?id=890094#c Ákos Szőts <szotsaki@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- 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