diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-06-22 12:57:41 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-06-22 12:57:41 +0000 |
commit | 64b2c8afce029d04cb1de1f4377fe64eb546826f (patch) | |
tree | eb8f4053e8261ae4fca59965cb0962217cfcbfc6 | |
parent | 181c0e1c589f8b826bc603c1a471cfb50ffc6b5e (diff) | |
download | portage-64b2c8afce029d04cb1de1f4377fe64eb546826f.tar.gz portage-64b2c8afce029d04cb1de1f4377fe64eb546826f.tar.bz2 portage-64b2c8afce029d04cb1de1f4377fe64eb546826f.zip |
Add a note about potential for config mixups in elog finalizers.
svn path=/main/trunk/; revision=6952
-rw-r--r-- | pym/portage/elog/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/portage/elog/__init__.py b/pym/portage/elog/__init__.py index 5b8ac44c3..1cf4dd8b8 100644 --- a/pym/portage/elog/__init__.py +++ b/pym/portage/elog/__init__.py @@ -95,6 +95,11 @@ def elog_process(cpv, mysettings): m.process(mysettings, str(key), mod_logentries, mod_fulllog) finally: signal.alarm(0) + # FIXME: when installing to more than one $ROOT, the finalizer + # will only be registered with a config instance from one of + # the roots (randomly). With PORTAGE_CONFIGROOT, the config + # instances can have completely different settings, so + # logs can end up in the wrong PORT_LOGDIR for example. if hasattr(m, "finalize") and not m.finalize in _elog_atexit_handlers: _elog_atexit_handlers.append(m.finalize) atexit_register(m.finalize, mysettings) |