https://bugzilla.redhat.com/show_bug.cgi?id=1304882

Ludwig Nussel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #22 from Ludwig Nussel <[email protected]> ---
(In reply to [email protected] from comment #20)
> so sadly, just ditching the log file stuff doesn't work, because geekotest
> of course can't create /var/log/openqa (as it doesn't have the necessary
> permissions on /var/log). d'oh. So effectively we have the same issue
> openSUSE has.

It's not a bug, it's a feature :-) Daemon users with full access to the
directory they are logging to hit logrotate badly in the past:
http://openwall.com/lists/oss-security/2011/03/04/16
The safe choice is to have the directory owned by root, so the daemon can only
access it's log file. Therefore one has to create an empty file when installing
the package. If %post+%ghost is undesirable that could be also
achieved with %install and %verify(not md5 size mtime) I guess.

If you prefer logging to the journal ie stdout feel free let your openQA
package do that instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to