in cnf/logrotate.d/elog-save-summary: su portage portage is valid option only for >=app-admin/logrotate-3.8.0 https://fedorahosted.org/logrotate/browser/tags/r3-8-0/CHANGES possible fix: --- /usr/portage/sys-apps/portage/portage-2.1.10.6.ebuild.old 2011-07-14 03:59:42.000000000 +0200 +++ /usr/portage/sys-apps/portage/portage-2.1.10.6.ebuild.new 2011-07-14 11:51:54.893258143 +0200 @@ -205,6 +205,9 @@ dosym ..${portage_share_config}/make.globals /etc/make.globals + if has_version "<app-admin/logrotate-3.8.0" ; then + sed -i '/su portage portage/d' "${S}"/cnf/logrotate.d/elog-save-summary + fi insinto /etc/logrotate.d doins "${S}"/cnf/logrotate.d/elog-save-summary || die Reproducible: Always
(In reply to comment #0) > + if has_version "<app-admin/logrotate-3.8.0" ; then > + sed -i '/su portage portage/d' > "${S}"/cnf/logrotate.d/elog-save-summary > + fi If we do that then it's going to break as soon as you upgrade to logrotate-3.8.0 though. If it only results in a warning for now, then perhaps the warning is acceptable until logrotate-3.8.0 is stabilized?
That was the decision in https://bugs.gentoo.org/show_bug.cgi?id=374287 was that the warning is acceptable. 3.8.0 is a security bump, and will go stable very quickly.
In ref to Comment #2, you can likely just type Bug #374287, and Bugzilla will embed the link to reference bugs.gentoo.org URL. See this too and since the portage-2.2.0 are still hard masked, probably best to just sit and wait until logrotate-3.8.0 goes stable. Users with a mail server installed (ie. postfix) and get their local root mail will see this warning as I do -- so unlikely this bug will get buried!
*** Bug 376477 has been marked as a duplicate of this bug. ***
(In reply to bug 376477 comment #1) > Thanks, I've updated the ebuilds in cvs to blocker <logrotate-3.8.0. This blocks portage-2.2 updates on stable systems. IMHO, this is less acceptable than the logrotate warning.
(In reply to comment #5) > (In reply to bug 376477 comment #1) > > Thanks, I've updated the ebuilds in cvs to blocker <logrotate-3.8.0. > > This blocks portage-2.2 updates on stable systems. > > IMHO, this is less acceptable than the logrotate warning. It's not so bad. Just add it to package.accept_keywords: echo =app-admin/logrotate-3.8.0 >> /etc/portage/package.accept_keywords
For the record, it's going stable in bug #372973 right now.