public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: Gentoo Development <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] RFC: pax-utils.eclass, downgrade from elog to einfo to avoid flooding logs
Date: Tue, 03 Apr 2012 09:55:50 -0400	[thread overview]
Message-ID: <4F7B0166.8020003@gentoo.org> (raw)

Hi everyone,

pax-utils.eclass generates a lot of log messages when marking a large 
number of files, for example icedtea-bin.  These messages are not that 
useful, so I propose downgrading all elog's to einfo's to avoid 
flooding.  See bug #407503.  If there are no objections, I'll commit the 
following in a few days:

--- pax-utils.eclass.orig    2012-04-03 09:29:41.000000000 -0400
+++ pax-utils.eclass    2012-04-03 09:30:49.000000000 -0400
@@ -58,8 +58,8 @@
      # Try paxctl, then scanelf.  paxctl is preferred.
      if type -p paxctl>  /dev/null&&  has PT ${PAX_MARKINGS}; then
          # Try paxctl, the upstream supported tool.
-        elog "PT PaX marking -${flags}"
-        _pax_list_files elog "$@"
+        einfo "PT PaX marking -${flags}"
+        _pax_list_files einfo "$@"
          for f in "$@"; do
              # First, try modifying the existing PAX_FLAGS header
              paxctl -q${flags} "${f}"&&  continue
@@ -91,8 +91,8 @@
      elif type -p scanelf>  /dev/null&&  [[ ${PAX_MARKINGS} != "none" ]]; then
          # Try scanelf, the Gentoo swiss-army knife ELF utility
          # Currently this sets PT if it can, no option to control what it does.
-        elog "Fallback PaX marking -${flags}"
-        _pax_list_files elog "$@"
+        einfo "Fallback PaX marking -${flags}"
+        _pax_list_files einfo "$@"
          scanelf -Xxz ${flags} "$@"
      elif [[ ${PAX_MARKINGS} != "none" ]]; then
          # Out of options!



-- 
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail    : blueness@gentoo.org
GnuPG FP  : 8040 5A4D 8709 21B1 1A88  33CE 979C AF40 D045 5535
GnuPG ID  : D0455535




             reply	other threads:[~2012-04-03 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 13:55 Anthony G. Basile [this message]
2012-04-06 17:56 ` [gentoo-dev] RFC: pax-utils.eclass, downgrade from elog to einfo to avoid flooding logs Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7B0166.8020003@gentoo.org \
    --to=blueness@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox