[Yum-devel] Syslogging chrooted installs

seth vidal skvidal at linux.duke.edu
Tue Jun 20 20:30:01 UTC 2006


On Tue, 2006-06-20 at 16:08 -0400, Konstantin Ryabitsev wrote:
> (this is a side-effect of mock builds)
> 
> I have noticed that yum will log all mock-related package installs in
> /var/log/messages, even though technically those aren't applied to the
> system -- only to a chrooted environment. Is that the expected
> behaviour, or would it make more sense to syslog only actions that are
> related to non-chroot installs?
> 

so we need to check if --installroot is not / and if so not include the
syslog logger path.

that would make sense to me.

-sv





More information about the Yum-devel mailing list