Am 14.07.2013 09:42, schrieb lee: > Joe Zeff <joe@xxxxxxx> writes: >> On 07/13/2013 03:51 PM, lee wrote: >>> Automatic updates? I'd rather not do that since it sometimes seems >>> advisable to reboot after an update. >> >> If you want to be sure, run needs-restarting in a terminal, as >> root. About the only thing it doesn't list that I've seen is the >> kernel, but for most other stuff, it will let you know what programs >> need to be restarted because something they use has been updated. > > That sounds very interesting. It doesn't restart or reboot anything and > only tells you what you should restart? That would be really useful. look below after "yum reinstall php\*" you see pretty clear that you should restart apache you achive nearly the same with "lsof" and filter of deleted, open files [root@srv-rhsoft:~]$ needs-restarting 4215 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND 3416 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND 3417 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND 3415 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND 9584 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND 3327 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND 3419 : /usr/sbin/httpd -D srv-rhsoft -D FOREGROUND ______________________________________________________ [root@srv-rhsoft:~]$ lsof | grep DEL | grep /usr httpd 3327 root DEL REG 9,1 525967 /usr/lib64/php/modules/uploadprogress.so httpd 3327 root DEL REG 9,1 524783 /usr/lib64/php/modules/zip.so httpd 3327 root DEL REG 9,1 525775 /usr/lib64/php/modules/tidy.so httpd 3327 root DEL REG 9,1 526916 /usr/lib64/php/modules/soap.so httpd 3327 root DEL REG 9,1 526065 /usr/lib64/php/modules/mysqli.so httpd 3327 root DEL REG 9,1 526908 /usr/lib64/php/modules/mcrypt.so httpd 3327 root DEL REG 9,1 524737 /usr/lib64/php/modules/json.so httpd 3327 root DEL REG 9,1 525447 /usr/lib64/php/modules/imap.so httpd 3327 root DEL REG 9,1 527368 /usr/lib64/php/modules/imagick.so
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org