Re: failed systemctl services?

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

 



On Mon, 4 May 2015 11:51:08 -0400
Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote:

> Actually, *systemd* is that process. That's one of its huge features
> missing in the old init system. Take a look at the man page for
> systemd.service — search for "Restart=".
> 
> However, we don't configure most things that way out of the box...
> yet. There was discussion about this three years ago, reopened a year
> ago...
> 
> https://fedorahosted.org/fpc/ticket/191
> 
> and the current guidelines 
> 
> https://fedoraproject.org/wiki/Packaging:Systemd?rd=Packaging:Guidelines:Systemd#Automatic_restarting
> 
> but as far as I know there hasn't been a big effort to bring existing
> services in line. (Seems like a worthwhile project if anyone's
> interested.)

Those were interesting reads.  It seems the infrastructure is in place
to deal with the problem of service failure, but operational inertia is
slowing adoption.  In other words, just a normal human system.  :-)

The one thing I didn't see addressed was the comment requesting some
notification if a service became a chronic (ab)user of the restart
feature, so remedial action could be taken or requested.

It should be a simple matter for the OP to put the recommended
Restart=on-failure command into the service file under the [Service]
section for the failing services and see what happens.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux