Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350379 - program field in syslog's header missing when applying patches
Summary: program field in syslog's header missing when applying patches
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2011-01-02 14:42 UTC by Kirill Elagin
Modified: 2011-01-03 01:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Elagin 2011-01-02 14:42:37 UTC
When elog is configured to use syslog “program” field in syslog's message header appears only in the first record about patching, not in others.

Reproducible: Always

Steps to Reproduce:
Emerge any ebuild which requires patching
Actual Results:  
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: Package:    net-misc/wget-1.12-r3
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: Repository: gentoo
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: Maintainer: base-system@gentoo.org
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: USE:        amd64 elibc_glibc kernel_linux multilib nls ssl userland_GNU
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: FEATURES:   preserve-libs sandbox
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: prepare: Applying wget-1.12-linking.patch ...
Jan  2 17:28:48 kirServ Applying wget-1.12-sni.patch ...
Jan  2 17:28:48 kirServ Applying wget-1.12-debug-tests.patch ...
Jan  2 17:28:48 kirServ Applying wget-1.12-CVE-2010-2252.patch ...
Jan  2 17:28:48 kirServ Applying wget-1.12-sae.patch ...
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: preinst: The /etc/wget/wgetrc file has been relocated to /etc/wgetrc

Expected Results:  
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: Package:    net-misc/wget-1.12-r3
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: Repository: gentoo
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: Maintainer: base-system@gentoo.org
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: USE:        amd64 elibc_glibc kernel_linux multilib nls ssl userland_GNU
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: setup: FEATURES:   preserve-libs sandbox
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: prepare: Applying wget-1.12-linking.patch ...
Jan  2 17:28:48 kirServ portage[6647]: Applying wget-1.12-sni.patch ...
Jan  2 17:28:48 kirServ portage[6647]: Applying wget-1.12-debug-tests.patch ...
Jan  2 17:28:48 kirServ portage[6647]: Applying wget-1.12-CVE-2010-2252.patch ...
Jan  2 17:28:48 kirServ portage[6647]: Applying wget-1.12-sae.patch ...
Jan  2 17:28:48 kirServ portage[6647]: net-misc/wget-1.12-r3: preinst: The /etc/wget/wgetrc file has been relocated to /etc/wgetrc


make.conf:

PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="syslog"
Comment 2 Kirill Elagin 2011-01-02 23:03:05 UTC
(In reply to comment #1)
> This is fixed in git:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=4a6cfadfde21bdd5a0e67348ef66429f9683c485
> 

Great, thanks.

P.S. That's funny that this big is 1.5 years old. Seems that no one except me uses syslog logging =).
Comment 3 Zac Medico gentoo-dev 2011-01-03 01:06:51 UTC
This is fixed in 2.1.9.28.