FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-11-2011, 11:54 PM
Tom Horsley
 
Default problems with DHCP server / systemd problems

On Thu, 11 Aug 2011 19:26:50 -0400
Genes MailLists wrote:

> Better would be to somehow figure out (outside of systemd) which
> services are actually not really running - and restart those.

Unfortunately, most of the services I have problems with appear
to be "really running", they just don't work right unless I restart
them after the boot :-(.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-12-2011, 01:00 AM
Genes MailLists
 
Default problems with DHCP server / systemd problems

On 08/11/2011 07:54 PM, Tom Horsley wrote:
> On Thu, 11 Aug 2011 19:26:50 -0400
> Genes MailLists wrote:
>
>> Better would be to somehow figure out (outside of systemd) which
>> services are actually not really running - and restart those.
>
> Unfortunately, most of the services I have problems with appear
> to be "really running", they just don't work right unless I restart
> them after the boot :-(.


Hmm ok ... how about the restart all desired services - probably what
would happen after a glibc update for example ... maybe systemd has a
restart all systemctl restart All.units or something
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-12-2011, 06:50 AM
"T.C. Hollingsworth"
 
Default problems with DHCP server / systemd problems

On Thu, Aug 11, 2011 at 6:00 PM, Genes MailLists <lists@sapience.com> wrote:
> On 08/11/2011 07:54 PM, Tom Horsley wrote:
>> On Thu, 11 Aug 2011 19:26:50 -0400
>> Genes MailLists wrote:
>>
>>> * Better would be to somehow figure out (outside of systemd) which
>>> services are actually not really running - and restart those.

This little script will check to see if the PID systemd thinks is
supposed to be the main daemon is running and restart it if not:
https://gist.github.com/1141585

>> Unfortunately, most of the services I have problems with appear
>> to be "really running", they just don't work right unless I restart
>> them after the boot :-(.
>
>
> *Hmm ok ... how about the restart all desired services - probably what
> would happen after a glibc update for example ... maybe systemd has a
> restart all systemctl restart All.units or something

Pull a couple conditionals out of the above script, and you can
restart all services:
https://gist.github.com/1141591

(I don't think you want to restart all *units*, as that would entail
unmounting and mounting!)

Of course, ideally you want to figure out what's really gone wrong and
forego all this band-aid nonsense, but it might help you out in the
interim.

-T.C.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 01:54 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org