-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID:
On Sunday, 2013-03-31 at 16:21 -0400, James Knott wrote:
Linda Walsh wrote:
We've already gotten to the point of updates telling us that our system needs to be rebooted for the updates to take effect...
Does that apply to anything other than kernel updates?
Of course it does. For example, glibc. And many others, because the only assured⁽¹⁾ method to restart some system services is a restart (udev, hal, are classic examples).
(1) "assured" as in not needing a long explanation, and a long list of manual things to do. A restart is simply faster to explain and do.
So, let's try a "zypper patch". This is what it wants to do (yep, I don't run it every day): +++············································ Resolving package dependencies... The following NEW patches are going to be installed: openSUSE-2013-251 openSUSE-2013-252 openSUSE-2013-257 openSUSE-2013-263 openSUSE-2013-265 openSUSE-2013-271 openSUSE-2013-289 openSUSE-2013-291 openSUSE-2013-296 openSUSE-2013-298 openSUSE-2013-299 openSUSE-2013-303 openSUSE-2013-307 openSUSE-2013-308 openSUSE-2013-309 The following packages are going to be upgraded: ImageMagick MozillaFirefox MozillaThunderbird apache2 apache2-doc apache2-example-pages apache2-prefork apache2-utils bind bind-chrootenv bind-doc bind-libs bind-utils clamav clamav-db dhcp dhcp-client dhcp-server enigmail libGraphicsMagick++3 libGraphicsMagick3 libMagick++5 libMagickCore5 libMagickWand5 libecpg6 libfreebl3 libfreebl3-32bit libnet1 libpq5 libsoftokn3 libsoftokn3-32bit libxml2 libxml2-32bit libxml2-devel libxslt-devel libxslt1 libxslt1-32bit make mozilla-nspr mozilla-nspr-32bit mozilla-nspr-devel mozilla-nss mozilla-nss-32bit mozilla-nss-certs mozilla-nss-certs-32bit mozilla-nss-devel patch perl-PerlMagick postgresql91 postgresql91-devel postgresql91-server ruby ruby-devel seamonkey seamonkey-dom-inspector seamonkey-irc sysconfig 57 packages to upgrade. Overall download size: 128.8 MiB. After the operation, additional 3.8 MiB will be used. ············································++- After it finishes, a "zypper ps" produces 367 lines of output. I have to restart all these: +++············································ The following running processes use deleted files (many lines removed for simplicity): PID | PPID | UID | Login | Command | Service | Files - ------+-------+------+--------+----------------------------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------- 343 | 20898 | 1000 | cer | threaded-ml | | /usr/lib64/libxml2.so.2.7.8 1964 | 1963 | 0 | root | dovecot-auth | | /usr/lib64/libpq.so.5.4 2046 | 1 | 44 | named | named | named | /usr/lib64/libdns.so.88.1.1 ... 6104 | 1 | 0 | root | upowerd | | /usr/lib64/libxml2.so.2.7.8 14916 | 1 | 1000 | cer | evince | | /usr/lib64/libxml2.so.2.7.8 15417 | 1963 | 0 | root | dovecot-auth | | /usr/lib64/libpq.so.5.4 15593 | 19803 | 30 | wwwrun | httpd2-prefork | | /usr/lib64/apache2/mod_authz_default.so ... 15595 | 19803 | 30 | wwwrun | httpd2-prefork | | /usr/lib64/apache2/mod_authz_default.so ... 15596 | 19803 | 30 | wwwrun | httpd2-prefork | | /usr/lib64/apache2/mod_authz_default.so ... 19761 | 1 | 1000 | cer | xfrun4 | | /usr/lib64/libxml2.so.2.7.8 19803 | 1 | 0 | root | httpd2-prefork | | /usr/lib64/apache2/mod_authz_default.so ... 20897 | 20881 | 1000 | cer | Thunar | | /usr/lib64/libxml2.so.2.7.8 20898 | 20881 | 1000 | cer | xfce4-panel | | /usr/lib64/libxml2.so.2.7.8 20900 | 1 | 1000 | cer | xfsettingsd | | /usr/lib64/libxml2.so.2.7.8 20901 | 20881 | 1000 | cer | xfdesktop | | /usr/lib64/libxml2.so.2.7.8 20927 | 20898 | 1000 | cer | wrapper | | /usr/lib64/libxml2.so.2.7.8 21056 | 1 | 1000 | cer | gvfs-afc-volume-monitor | | /usr/lib64/libxml2.so.2.7.8 21068 | 1 | 1000 | cer | evolution-alarm-notify | | /usr/lib64/libnssutil3.so ... 21088 | 1 | 1000 | cer | pk-update-icon | | /usr/lib64/libxml2.so.2.7.8 21092 | 1 | 1000 | cer | nm-applet | | /usr/lib64/libnssutil3.so ... 21110 | 1 | 1000 | cer | tracker-miner-fs | | /usr/lib64/libnssutil3.so ... 21112 | 1 | 1000 | cer | bluetooth-applet | | /usr/lib64/libxml2.so.2.7.8 21124 | 1 | 1000 | cer | e-calendar-factory | | /usr/lib64/libnssutil3.so ... 21139 | 1 | 1000 | cer | xfce4-volumed | | /usr/lib64/libxml2.so.2.7.8 21170 | 1 | 1000 | cer | e-addressbook-factory | | /usr/lib64/libnssutil3.so ... 21174 | 1 | 1000 | cer | goa-daemon | | /usr/lib64/libxslt.so.1.1.26 | | | | | | /usr/lib64/libxml2.so.2.7.8 21210 | 1 | 1000 | cer | task0 | | /usr/lib64/libxml2.so.2.7.8 22247 | 1 | 1000 | cer | gvfsd-http | | /usr/lib64/libxml2.so.2.7.8 22842 | 22841 | 1000 | cer | klauncher | | /usr/lib64/libxml2.so.2.7.8 29902 | 0 | 1000 | cer | mozStorage | | /usr/lib64/libnss3.so ... 30072 | 0 | 1000 | cer | JS | | /usr/lib64/libsmime3.so ... 30241 | 30072 | 1000 | cer | plugin-container (deleted) | | /usr/lib64/libsmime3.so ... 31908 | 1 | 1000 | cer | amarok | | /usr/lib64/libxml2.so.2.7.8 31925 | 1 | 1000 | cer | kglobalaccel | | /usr/lib64/libxml2.so.2.7.8 31951 | 22841 | 1000 | cer | kdeinit4 | | /usr/lib64/libxml2.so.2.7.8 32038 | 1 | 1000 | cer | knotify4 | | /usr/lib64/libxml2.so.2.7.8 You may wish to restart these processes. See 'man zypper' for information about the meaning of values in the above table. ············································++- There are some client applications, like evince, that I should restart. But there are many that have to be restarted by the desktop, like "kglobalaccel", nm-applet, xfce4-panel... so I have to at least log out/in. After doing that, "zypper ps" still shows 244 lines. I have to manually restart some services: +++············································ rcapache2 restart rcnamed restart rcdovecot restart ············································++- After doing that, all is not yet done, see: +++············································ Telcontar:~ # zypper ps The following running processes use deleted files: PID | PPID | UID | Login | Command | Service | Files - ------+------+------+-------+----------+---------+---------------------------- 6104 | 1 | 0 | root | upowerd | | /usr/lib64/libxml2.so.2.7.8 31951 | 1 | 1000 | cer | kdeinit4 | | /usr/lib64/libxml2.so.2.7.8 You may wish to restart these processes. See 'man zypper' for information about the meaning of values in the above table. Telcontar:~ # ············································++- How do I restart "upowerd"? There is no rc script, I don't know what started it. kdeinit might be restarted by doing an "init 3", but it doesn't. I'm running runlevel 3 right now. So the next step, before doing a reboot, is an "init 1". And that finally worked. Back on runlevel 5 again. A reboot was not required, but almost so: an "init 1" closes all services. If I had users using shared folders, printers, mail clients,, whatever... they would had been disrupted. (All that was using 12.1 and systemv. I don't know yet what the equivalent commands in systemd are, specially to get to runlevel 1 and back...) Probably a reboot would have been faster :-) - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEUEARECAAYFAlFfNoIACgkQtTMYHG2NR9Xm4wCYqm9WqG/zXzt9aCzUxsfOnYnQ oQCgjX11URHp3MNmN+J2b4oYvLeGVUI= =0DGe -----END PGP SIGNATURE-----