[ovirt-users] Strange permissions on Hosted Engine HA Agent log files
Giuseppe Ragusa
giuseppe.ragusa at hotmail.com
Mon Nov 30 09:26:23 UTC 2015
On Fri, Nov 27, 2015, at 18:15, Simone Tiraboschi wrote:
>
>
> On Wed, Nov 25, 2015 at 11:53 PM, Giuseppe Ragusa <giuseppe.ragusa at hotmail.com> wrote:
>> Hi all,
>> I'm installing oVirt (3.6) in self-hosted mode, hyperconverged with GlusterFS (3.7.6).
>>
>> I'm using the oVirt snapshot generated the night between the 18th and 19th of November, 2015.
>>
>> The (single, at the moment) host and the Engine are both CentOS 7.1 fully up-to-date.
>>
>> After ovirt-hosted-engine-setup successful completion, I found the following (about 3 days after setup completed) "anomalies":
>>
>> 666 1 vdsm kvm - /var/log/ovirt-hosted-engine-ha/agent.log
>> 666 1 vdsm kvm - /var/log/ovirt-hosted-engine-ha/agent.log.2015-11-23
>> 666 1 vdsm kvm - /var/log/ovirt-hosted-engine-ha/broker.log
>> 666 1 vdsm kvm - /var/log/ovirt-hosted-engine-ha/broker.log.2015-11-23
>>
>> The listing above comes from a custom security checking script that gives:
>>
>> "octal permissions" "number of links" "owner" "group" - "absolute pathname"
>>
>> Is the ominous "666" mark actually intended/necessary? ;-)
>
> Thanks for the report Giuseppe, I double checked on one of my test systems.
>
> [root at c71het20151028 ~]# ls -l /var/log/ovirt-hosted-engine-ha/*
> -rw-r--r--. 1 root root 10136 Nov 27 18:08 /var/log/ovirt-hosted-engine-ha/agent.log
> -rw-r--r--. 1 root root 1769029 Oct 29 17:20 /var/log/ovirt-hosted-engine-ha/agent.log.2015-10-28
> -rw-rw-rw-. 1 vdsm kvm 97685 Oct 29 18:21 /var/log/ovirt-hosted-engine-ha/agent.log.2015-10-29
> -rw-r--r--. 1 root root 3620102 Nov 25 12:09 /var/log/ovirt-hosted-engine-ha/agent.log.2015-11-24
> -rw-rw-rw-. 1 vdsm kvm 715086 Nov 25 17:01 /var/log/ovirt-hosted-engine-ha/agent.log.2015-11-25
> -rw-r--r--. 1 root root 13904 Nov 27 18:09 /var/log/ovirt-hosted-engine-ha/broker.log
> -rw-r--r--. 1 root root 9711872 Oct 29 17:20 /var/log/ovirt-hosted-engine-ha/broker.log.2015-10-28
> -rw-rw-rw-. 1 vdsm kvm 468475 Oct 29 18:21 /var/log/ovirt-hosted-engine-ha/broker.log.2015-10-29
> -rw-r--r--. 1 root root 14066693 Nov 25 12:09 /var/log/ovirt-hosted-engine-ha/broker.log.2015-11-24
> -rw-rw-rw-. 1 vdsm kvm 4505277 Nov 25 17:01 /var/log/ovirt-hosted-engine-ha/broker.log.2015-11-25
>
>
> So I've something 644 root:root and something at 666 vdsm:kvm depending from the rotation date (???).
> The directory is 700 vdsm:kvm so it's not really an issue but I think it's still worth to open a bug on that.
Many thanks Simone for your confirmation: bug opened
https://bugzilla.redhat.com/show_bug.cgi?id=1286568
Regards,
Giuseppe
>> Do I need to open a bugzilla notification for this?
>> Many thanks in advance for your attention.
>>
>> Regards,
>> Giuseppe
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list