Re: what has 'yum update' done?

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

 



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
[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