-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-12-23 at 18:14 +0700, Constant Brouerius van Nidek wrote:
After my last zypper update I got the message that several running processes were using deleted files. Among others skype, xawtv and others used by me as user. I have always wondered if it would not make sense to stop using all programs before updating with e.g. Yast but never saw anything in this direction. Now it seems reality that active programs are running with deleted files.
This has been known for ages, but it is now that zypper includes a tool to see them. Previously I used "lsof -n | grep -E 'RPMDELETE|;|path inode='" to detect them.
Did Yast have an own solution or is it zypper specific?
AFAIK, only zypper does it. However, you can run "zypper ps" after yast, it works fine.
After leaving KDE with Ctrl Alt Backspace
That's a bit harsh. Simply log out.
and logging in again I ran zypper ps again and found that all programs used by user were okay again but three PID belonging to root were still there. before I start killing PID from files who are anyhow deleted I would like to know what would be the recommended way to solve the case of deleted files.
zypper ps The following running processes use deleted files:
PID | PPID | UID | Login | Command | Service | Files ------+------+-----+-------+---------+---------+--------------------------- 1090 1 0 root kdm /usr/bin/kdm (deleted) /usr/bin/kdm (deleted)
For this one you need to log out (yes, again), then switch to a text console, log in as root, do "init 3"; rerun "zypper ps" to make sure, and then "init 5" and login.
3240 1 0 root polkitd /usr/share/mime/mime.cache
This one I'm not sure which daemon is responsible or if it can be safely restarted, but anyway, mime.cache is not that important. You can, I believe, safely ignore it till next reboot. Don't kill that PID, that could make your system not to work. In general, the procedure is to restart the affected daemons. In this case, ignore it (IMHO). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAksyEIYACgkQtTMYHG2NR9UVQwCeLZlqWYIICiTa/kuvERIXpoDg K9MAni9/BRWkR86cmNZgzGHn9NNCN/tA =2wgp -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org