[Bug 1304882] Review Request: openqa - OS-level automated test framework and web UI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Ludwig Nussel <ludwig.nussel@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ludwig.nussel@xxxxxxx



--- Comment #22 from Ludwig Nussel <ludwig.nussel@xxxxxxx> ---
(In reply to awilliam@xxxxxxxxxx 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
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]