Bug 321341 - upd-instroot yum actions wind up in system syslog
Summary: upd-instroot yum actions wind up in system syslog
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 373461 426069 (view as bug list)
Depends On:
Blocks: F8Target
TreeView+ depends on / blocked
 
Reported: 2007-10-06 14:42 UTC by Jesse Keating
Modified: 2014-01-21 22:59 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-06 19:28:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.