zypper-1.12.16
==============
'zypper ps' got 2 new options: --short & --print
-------------------------------------------------------------------
ps [options]
List running processes which might still use files and libraries
deleted by recent upgrades.
Command options:
-s, --short Create a short table not showing the
deleted files. Given twice, show only
processes which are associated with a
system service. Given three times, list
the associated system service names only.
--print <format> For each associated system service print
<format> on the standard output, followed
by a newline. Any '%s' directive in
<format> is replaced by the the system
service name.
-------------------------------------------------------------------
To see only those processes associated with a system service:
-------------------------------------------------------------------
$ zypper ps -ss
The following running processes use deleted files:
PID || User | Command | Service
-----++------------+----------------------------+-----------------
329 || root | systemd-journald (deleted) | systemd-journald
439 || root | libvirtd | libvirtd
893 || avahi | avahi-daemon | avahi-daemon
894 || root | gdbus | ModemManager
895 || root | rpcbind | rpcbind
-------------------------------------------------------------------
To get the plain list of affected system service names only:
-------------------------------------------------------------------
$ zypper ps -sss
ModemManager
avahi-daemon
dbus
icecream
libvirtd
lvm2-lvmetad
polkit
postfix
-------------------------------------------------------------------
-------------------------------------------------------------------
$ zypper ps --print 'systemctl status %s'
systemctl status ModemManager
systemctl status avahi-daemon
systemctl status dbus
systemctl status icecream
systemctl status libvirtd
systemctl status lvm2-lvmetad
systemctl status polkit
systemctl status postfix
-------------------------------------------------------------------
zypper-1.12.17
==============
In reports like (bsc#945169) systems suffer from slow running 'lsof' calls.
We added a new section and option commit/psCheckAccessDeleted to turn off the
calls if necessary:
-------------------------------------------------------------------
[commit]
## Post commit check for processes/services using old/deleted files
##
## Like 'zypper ps', the post commit check for processes/services using
## old/deleted files calls 'lsof'. On some systems 'lsof' seems to perform
## very slow, and the check takes up to several minutes. Due to this it's
## possible to disable the automatic check after each commit. Explicit calls
## to 'zypper ps' are not affected by this option.
##
## Valid values: boolean
## Default value: yes
##
# psCheckAccessDeleted = yes
-------------------------------------------------------------------
--
cu,
Michael Andres
+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres SUSE LINUX GmbH, Development, ma(a)suse.com
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 74 053-0
+------------------------------------------------------------------+
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: zypp-devel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: zypp-devel+owner(a)opensuse.org