Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699884 - app-admin/sysstat-12.2.0: cron job outputs "set_default_file: Datafile: /var/log/sa/sa11" to stderr every 10 minutes
Summary: app-admin/sysstat-12.2.0: cron job outputs "set_default_file: Datafile: /var/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-11 20:24 UTC by Craig Andrews
Modified: 2019-11-11 20:46 UTC (History)
2 users (show)

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 Craig Andrews gentoo-dev 2019-11-11 20:24:42 UTC
cron sends email whenever a job outputs to stderr so I'm getting email every 10 minutes with this body:
set_default_file: Datafile: /var/log/sa/sa11
set_default_file: Datafile: /var/log/sa/sa11


You can see this by running:
# /usr/lib/sa/sa1 1 1
set_default_file: Datafile: /var/log/sa/sa11
set_default_file: Datafile: /var/log/sa/sa11

That's with version 12.2.0. With version 12.1.7, there is no output.

This new output was added with this commit:
https://github.com/sysstat/sysstat/commit/0cd21e3cdafc6575be2b2779b00e06803fcdf64c#diff-cccb0877d1539c562536a98e0d17428fL246

I believe that the ebuild should set the DEBUG constant to false (or control that constant using the existing "debug" use flag).

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2019-11-11 20:46:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b4b14f78594fdf20ed41efcb38ece623a0e5b72

commit 2b4b14f78594fdf20ed41efcb38ece623a0e5b72
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-11-11 20:43:56 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-11-11 20:46:44 +0000

    app-admin/sysstat: Work around AC_ARG_ENABLE(debuginfo, ...) bug
    
    --[dis|en]able-debuginfo=[yes|no] is always interpreted to enable
    debuginfo, so pass --enable-debuginfo only when USE=debug and nothing
    when USE=-debug.
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Fixes: https://bugs.gentoo.org/show_bug.cgi?id=699884
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 app-admin/sysstat/{sysstat-12.0.6.ebuild => sysstat-12.0.6-r1.ebuild} | 2 +-
 app-admin/sysstat/{sysstat-12.2.0.ebuild => sysstat-12.2.0-r1.ebuild} | 2 +-
 app-admin/sysstat/sysstat-999999.ebuild                               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)