Bug 321341

Summary: upd-instroot yum actions wind up in system syslog
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dcantrell, ffesti, james.antill, jhutar, katzj, orion, pmatilai, rc040203, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-06 19:28:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235704    

Description Jesse Keating 2007-10-06 14:42:22 UTC
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.

Comment 1 Jeremy Katz 2007-10-09 15:46:32 UTC
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

Comment 2 Seth Vidal 2007-10-09 23:33:17 UTC
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.




Comment 3 Jesse Keating 2007-11-09 19:19:09 UTC
*** Bug 373461 has been marked as a duplicate of this bug. ***

Comment 4 Seth Vidal 2007-12-07 03:15:50 UTC
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.

Comment 5 Michael E Brown 2007-12-18 07:27:23 UTC
*** Bug 426069 has been marked as a duplicate of this bug. ***

Comment 6 Michael E Brown 2007-12-18 07:27:55 UTC
Pretty please can we get this one fixed soon?

Comment 7 Seth Vidal 2008-03-12 14:54:55 UTC
YUMBUGDAY

Comment 8 Bug Zapper 2008-05-14 03:20:09 UTC
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

Comment 9 Jan Hutaƙ 2008-08-06 13:31:31 UTC
What about adding "--disable-logging" option?

Comment 10 James Antill 2009-03-06 19:28:57 UTC
 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.