[systemd-devel] [systemd-commits] src/bus-proxyd test/bus-policy
Daniel Mack
daniel at zonque.org
Fri Sep 26 05:12:39 PDT 2014
On 09/26/2014 01:16 PM, Zbigniew Jędrzejewski-Szmek wrote:
> On Fri, Sep 26, 2014 at 10:24:25AM +0200, Daniel Mack wrote:
>> On 09/26/2014 05:05 AM, Zbigniew Jędrzejewski-Szmek wrote:
>>> Hi,
>>> test-bus-policy fails intermittently in 'make distcheck'
>>>
>>> FAIL: test-bus-policy
>>> =====================
>>>
>>> Assertion 'policy_check_own(&p, &ucred, "org.test.test1") == true' failed at ../src/bus-proxyd/test-bus-policy.c:58,
>>> function main(). Aborting.
>>
>> Hmm. I don't see this here. What kind of setup are you running this on?
>> We make certain assumptions on existing users/groups on the target
>> system, and I'm not sure whether we should do that. Are uid/gid 1 valid
>> on your system?
> It only seems to fail inside distcheck, so it might be some race
> condition.
Hmm, no. I see it now. It's because distcheck calls test-bus-policy with
a relative path, and hence the policy file load fails.
I'm working on a fix for this.
Thanks,
Daniel
More information about the systemd-devel
mailing list