#
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "11")
-SET(VERSION_PATCH "36")
+SET(VERSION_PATCH "37")
-# LAST RELEASED: 1.11.36
+# LAST RELEASED: 1.11.37
#=======
-------------------------------------------------------------------
+Thu Sep 24 15:11:01 CEST 2015 - ma@suse.de
+
+- zypper.conf: new option commit/psCheckAccessDeleted to avoid 'lsof'
+ call after commit. 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. (bsc#945169)
+- version 1.11.37
+
+-------------------------------------------------------------------
+Thu Sep 17 01:16:20 CEST 2015 - ma@suse.de
+
+- Update sle-zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Thu Sep 17 01:14:43 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
+Sun Sep 13 01:14:21 CEST 2015 - ma@suse.de
+
+- Update zypper-po.tar.bz2
+
+-------------------------------------------------------------------
Wed Sep 9 16:31:23 CEST 2015 - ma@suse.de
- patch --updatestack-only: Install only patches which affect
SOLVER_INSTALL_RECOMMENDS,
SOLVER_FORCE_RESOLUTION_COMMANDS,
+ COMMIT_PS_CHECK_ACCESS_DELETED,
+
COLOR_USE_COLORS,
COLOR_RESULT,
COLOR_MSG_STATUS,
{ "solver/installRecommends", ConfigOption::SOLVER_INSTALL_RECOMMENDS },
{ "solver/forceResolutionCommands", ConfigOption::SOLVER_FORCE_RESOLUTION_COMMANDS },
+ { "commit/psCheckAccessDeleted", ConfigOption::COMMIT_PS_CHECK_ACCESS_DELETED },
+
{ "color/useColors", ConfigOption::COLOR_USE_COLORS },
//"color/background" LEGACY
{ "color/result", ConfigOption::COLOR_RESULT },
Config::Config()
: repo_list_columns("anr")
, solver_installRecommends(!ZConfig::instance().solver_onlyRequires())
+ , psCheckAccessDeleted(true)
, do_colors (false)
, color_useColors ("autodetect")
, color_result (namedColor("default"))
solver_forceResolutionCommands.insert(ZypperCommand(str::trim(*c)));
}
+ // ---------------[ commit ]------------------------------------------------
+
+ s = augeas.getOption(asString( ConfigOption::COMMIT_PS_CHECK_ACCESS_DELETED ));
+ if ( ! s.empty() )
+ psCheckAccessDeleted = str::strToBool( s, psCheckAccessDeleted );
// ---------------[ colors ]------------------------------------------------
bool solver_installRecommends;
std::set<ZypperCommand> solver_forceResolutionCommands;
+ bool psCheckAccessDeleted; ///< do post commit 'zypper ps' check?
+
/**
* Whether to colorize the output. This is evaluated according to
* color_useColors and has_colors()
*/
static void notify_processes_using_deleted_files(Zypper & zypper)
{
+ if ( ! zypper.config().psCheckAccessDeleted )
+ {
+ zypper.out().info( str::form(_("Check for running processes using deleted libraries is disabled in zypper.conf. Run '%s' to check manually."),
+ "zypper ps" ) );
+ return; // disabled in config
+ }
+
zypper.out().info(
_("Checking for running processes using deleted libraries..."), Out::HIGH);
zypp::CheckAccessDeleted checker(false); // wait for explicit call to check()
## Default value: remove
# forceResolutionCommands = remove
+[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
[color]