Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
djscribble
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2005
Posts: 116

PostPosted: Wed Jan 25, 2006 5:14 pm    Post subject: update question Reply with quote

Greetings,

After i do an emerge -uD --newuse world and a security vunerability is fixed, does portage automatically stop and restart the service so that the new files take effect??
Back to top
View user's profile Send private message
thoughtform
l33t
l33t


Joined: 24 May 2004
Posts: 600

PostPosted: Wed Jan 25, 2006 5:28 pm    Post subject: Reply with quote

no.
if for instance you upgrade apache, you'd need to:
/etc/init.d/apache restart
after a major update i prefer to just reboot.
Back to top
View user's profile Send private message
djscribble
Tux's lil' helper
Tux's lil' helper


Joined: 03 Aug 2005
Posts: 116

PostPosted: Wed Jan 25, 2006 5:34 pm    Post subject: Reply with quote

how hard would it be to add it into the portage/ebuild system?

I ask mostly because there is never any mention of "please restart apache so the updated version takes effect" or anything like that, so i wonder how many newer users think they are fully patched and secure, but havn't rebooted in x (high number) days.
Back to top
View user's profile Send private message
diilbert
n00b
n00b


Joined: 05 Sep 2005
Posts: 52

PostPosted: Wed Jan 25, 2006 5:40 pm    Post subject: Reply with quote

Good point. Personally I do not like to reboot unless I am rebuilding the kernel since I am running Gentoo on a server. The problem is that it would actually need to know what services are depending on the updated package in order to restart them correctly. It would be interesting to see this work.
Back to top
View user's profile Send private message
Rcomian
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 174
Location: Uk, Northwest

PostPosted: Fri Feb 10, 2006 1:36 pm    Post subject: Reply with quote

This is something that's just kept coming up for me, so I've started a script to do the basics. I intend to add more features - ie, reasons to restart a script.

It's fairly straightforward and includes blacklists and whitelists to prevent certain services restarting.

Let me know if you find it helpful.
https://forums.gentoo.org/viewtopic-t-432223-highlight-.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum