[systemd-devel] Confused about failed service reporting

Eduardo Tongson propolice at gmail.com
Mon Mar 26 01:20:50 PDT 2012


On Mon, Mar 26, 2012 at 8:19 AM, Eduardo Tongson <propolice at gmail.com> wrote:
> On Mon, Mar 26, 2012 at 7:33 AM, Edward Z. Yang <ezyang at mit.edu> wrote:
>> A few weeks ago, yum-updatesd died due to the following bug
>> https://bugzilla.redhat.com/show_bug.cgi?id=709315
>>
>> This is exactly something that we would like systemd to report
>> us.  However, while interacting with servers with the dead
>> yum-updatesd, we found it didn't show up when we ran
>> systemctl --failed.  When we ran normal diagnostics, we got:
>>
>> [root at better-mousetrap ~]# systemctl status yum-updatesd.service
>> yum-updatesd.service - YUM Package  Update Service
>>      Loaded: loaded (/lib/systemd/system/yum-updatesd.service)
>>      Active: inactive (dead)
>>      CGroup: name=systemd:/system/yum-updatesd.service
>>
>> What's up with that? (Is this yet another "upgrade systemd,
>> and all ye problems will go away?")
>>
>> Edward
>
>
> It loaded so it did not fail. --failed only list failed units it does
> show inactive units.
>
> Check yum-updatesd.service, does it automatically restart the process?

Oops. I meant 'it does not show inactive units.'.


More information about the systemd-devel mailing list