On 27/12/2018 23.52, Michael Fischer wrote:
Inspired by a post here (somewhere), out of curiosity I ran `sudo zypper ps` and was surprised to find that it had *any* output, but even more surprised to see an awful lot of important-looking libraries listed.
How the heck could this state have been acheived, and how scared should I be to reboot, etc.?
After updating packages using rpm, zypper, or yast, files that were in use can't be actually deleted and remain in use. Thus you have to restart the affected applications or services - but some of them can not be easily restarted, so instead it is easier to reboot. If you don't, well, the security update that you did is not in fact applied and you are still running the vulnerable versions. On some cases, you may have in memory inconsistent libraries (one updated, one old), I list below the actions you can do instead of rebooting.
The following running processes use deleted files:
PID | PPID | UID | User | Command | Service | Files ------+-------+------+---------+-----------------+-----------------+-------------------------------------- 1 | 0 | 0 | root | systemd | | /lib64/libpam.so.0.84.2
reboot.
781 | 1 | 0 | root | ModemManager | ModemManager | /usr/lib64/libgmodule-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgio-2.0.so.0.5400.3 | | | | | | /usr/lib64/libglib-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgobject-2.0.so.0.5400.3
Ignore. Maybe restart network manager would do the trick.
782 | 1 | 0 | root | irqbalance | irqbalance | /usr/lib64/libglib-2.0.so.0.5400.3
Dunno.
792 | 1 | 0 | root | cupsd | cups | /lib64/libpam.so.0.84.2
systemctl restart cupsd
857 | 1 | 0 | root | bluetoothd | bluetooth | /usr/lib64/libglib-2.0.so.0.5400.3
dunno.
873 | 1 | 469 | polkitd | polkitd | polkit | /usr/lib64/libgio-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgobject-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgmodule-2.0.so.0.5400.3 | | | | | | /usr/lib64/libglib-2.0.so.0.5400.3
dunno.
1335 | 1 | 0 | root | sshd | sshd | /lib64/libpam.so.0.84.2
systemctl restart sshd
1405 | 1 | 0 | root | lightdm | display-manager | /usr/lib64/libgobject-2.0.so.0.5400.3 | | | | | | /usr/lib64/libglib-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgmodule-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgio-2.0.so.0.5400.3 | | | | | | /lib64/libpam.so.0.84.2
log out init 3 init 5
1413 | 1 | 0 | root | accounts-daemon | accounts-daemon | /usr/lib64/libgio-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgobject-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgmodule-2.0.so.0.5400.3 | | | | | | /usr/lib64/libglib-2.0.so.0.5400.3
dunno
1496 | 1 | 0 | root | cron | cron | /lib64/libpam.so.0.84.2
systemctl restart cron
6798 | 1 | 0 | root | upowerd | upower | /usr/lib64/libgio-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgobject-2.0.so.0.5400.3 | | | | | | /usr/lib64/libgmodule-2.0.so.0.5400.3 | | | | | | /usr/lib64/libglib-2.0.so.0.5400.3
Dunno
24659 | 24658 | 1000 | myuser | systemd | | /lib64/libpam.so.0.84.2
Unsure. Only that tiny list? :-p Just reboot when feasible. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)