[systemd-devel] systemd-run returns with 'Failed to start transient scope unit: Unit run-13034.scope already exists.'

Petr Horacek phoracek at redhat.com
Thu Oct 15 06:54:00 PDT 2015


Sorry, I was referring to this issue:
[1] https://github.com/systemd/systemd/issues/1351
Which refers to: https://bugs.freedesktop.org/show_bug.cgi?id=86520
(Bug 86520 - Race condition on systemd-run --scope)

We run systemd-219-18.el7.x86_64 on the failing test server.

Regards,
Petr

2015-10-15 15:39 GMT+02:00 Petr Horacek <phoracek at redhat.com>:

> That's the link, yes.
>
> We run systemd-219-18.el7.x86_64 on the test server.
>
> Petr
>
> 2015-10-15 15:09 GMT+02:00 Dan Kenigsberg <danken at redhat.com>:
>
>> On Thu, Oct 15, 2015 at 01:25:55PM +0200, Petr Horacek wrote:
>> > Hello,
>> >
>> > recently we encountered strange systemd problem on automated tests of
>> > networking
>> > part of oVirt VDSM project.
>> >
>> > Sometimes this happens:
>> > $ /usr/sbin/ifdown enp1s0f1
>> > $ /usr/bin/systemd-run --scope --slice=vdsm-dhclient /usr/sbin/ifup
>> enp1s0f1
>> > Failed to start transient scope unit: Unit run-13034.scope already
>> exists.
>> >
>> > systemd-run should create a new scope every time it's called, should not
>> > it? Could it be
>> > a racefull bug in systemd?
>> >
>> > I found recently added issue [1] which describes similar problem, but
>> with
>> > --unit instead
>> > of --slice. Note that our machine which reproduced it has systemd older
>> > than v220.
>> >
>> > Is it possible, that this is the same case as described in [1] and
>> > therefore it should be
>> > fixed in systemd 220?
>> >
>> > Is it possible to backport [1]'s fix to EL7?
>>
>> I think Petr refers to
>>
>>     [1] https://bugs.freedesktop.org/show_bug.cgi?id=86520
>>     Bug 86520 - Race condition on systemd-run --scope
>>
>> Petr, can you provide the precise systemd build with which we see
>> our Bug 1259468 - Setupnetworks fails from time to time with error
>> 'Failed to bring interface up'
>>     https://bugzilla.redhat.com/show_bug.cgi?id=1259468
>>
>> Regards,
>> Dan.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151015/b54563fc/attachment.html>


More information about the systemd-devel mailing list