Now that yum logs when it installs/removes things to the system log, actions done on behalf of upd-instroot are winding up in the system log. I'm not sure if this should be "fixed" in upd-instroot or if yum should avoid logging if --installroot is used.
There's nothing we can do about it in upd-instroot as it stands. Seth -- does it make sense to just allow disabling the syslogging? Or should we do something more clever
I'd say leave the logging on and just add the option of listing the installroot in the log output if it is NOT '/' I think Icon submitted a patch for something like that a long time back and it just got passed over. so something like: Oct 5 10:57:33 cutter yum: Installed: zsh - 4.3.4-3.fc8.i386 - /my/chroot/ that way they're tracked and easy to distinguish.
*** Bug 373461 has been marked as a duplicate of this bug. ***
After talking about this on yum-devel the rough consensus was 'god this sucks there's no nice answer' and we shelved it for a while. I think the easiest thing might be just to turn off syslog/filelog in certain events.
*** Bug 426069 has been marked as a duplicate of this bug. ***
Pretty please can we get this one fixed soon?
YUMBUGDAY
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
What about adding "--disable-logging" option?
Ok this is now fixed upstream. You can specify a syslog_device as part of YumBase().preconf ... if that doesn't exist, then syslogging isn't setup.