Feature changed by: Michael Loeffler (sprudel24)
Feature #300763, revision 44
Title: Warn about services using old libraries
openSUSE-10.2: Rejected by Edith Parzefall
reject date: 2006-10-02 16:05:01
reject reason: Not enough time for 10.2, rejecting with TPM approval.
Priority
Requester: Desirable
Projectmanager: Desirable
openSUSE-10.3: Rejected by Stanislav Visnovsky
reject date: 2007-07-31 12:35:05
reject reason: Postponing.
Priority
Requester: Important
Projectmanager: Important
openSUSE-11.0: Rejected by Stanislav Visnovsky
reject date: 2007-11-21 12:16:55
reject reason: Out of scope for 11.0
Priority
Requester: Important
openSUSE-11.1: Rejected by Federico Lucifredi
reject date: 2008-08-01 18:25:29
reject reason: Cutting scope to match project schedule.
Priority
Requester: Important
openSUSE-11.2: Evaluation
Priority
Requester: Important
Requested by: Martin Vidner (mvidner)
+ Partner organization: openSUSE.org
Description:
Fou4s has a useful feature: after installing updates, it runs "lsof |
grep RPMDELETE" to see processes that are accessing the old libraries
and recommends to restart them.
Our update stack should do this as well, and notify users of processes
that need to be restarted.
I see this as both a zypper feature and a PK-UI pop-up.
Documentation Impact:
Software management documentaiton needs to be updated.
Discussion:
#5: Stanislav Visnovsky (visnov) (2006-09-06 10:57:53)
Edith, Jiri, feel free to postpone this for 10.3 if out of resources.
#6: Edith Parzefall (emapedl) (2007-07-31 11:49:06)
Sorry, we had no time to look into this. Please reject for 10.3.
#8: Federico Lucifredi (flucifredi) (2008-06-12 20:52:41)
I like this. Stano, Klaus, please sanity-check.
#9: Jiri Srain (jsrain) (2008-07-07 09:03:59)
Jiri, please, add the check into YaST online update (I must admit that
the suggested command didn't work for me, thus some investigation may
be needed).
Duncan, please, assign the applets.
#10: Jiří Suchomel (jsuchome) (2008-07-14 15:55:27)
Uhm, what should be the output of "lsof | grep RPMDELETE" and what
should actually YaST do with the result?
Or, if we use the command from comment 4: what should YaST do with
these results?
#11: Martin Vidner (mvidner) (2008-07-16 09:52:28)
When packages are updated, the effect of the update may not be yet
realized because the system is still using the old files (they are
unlinked but still in use). A well known case is the kernel which needs
a reboot (or kexec or ksplice...). For the apps, we can ask (in zypp
app layer?) about all open files which are already unlinked. Then we
can say "Updates will not take effect until these processes are
restarted: sshd (pid 42), apache2 (pid 31337). If you are unsure,
rebooting will do the job.". There can be a Details button or a
reference to "zypper checkdeleted" (TODO) to show the gory details.
It seems that RPMDELETE no longer works, but there is a simple fix
(http://archives.neohapsis.com/archives/linux/suse/2006-q1/0034.html) for
that.
This thread (http://lists.opensuse.org/opensuse/2002-09/msg00532.html)
shows how fou4s presents the info. Marcus has good points in comment 4
but we can address them when we have a prototype working.
#12: Jiří Suchomel (jsuchome) (2008-07-16 10:04:16) (reply to #11)
IMHO such check belongs to zypp, YaST/zypper/applets should show the
results. Duncan, is it possible to assign this to someone from the zypp
team?
#13: Duncan Mac-Vicar (dmacvicar) (2008-07-30 17:09:22) (reply to #12)
yes, will be done as part of the commit refactoring.
--
openSUSE Feature:
https://features.opensuse.org/?rm=feature_show&id=300763