Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253552

Summary: app-portage/elogviewer gives misleading error message if user is not in 'portage' group
Product: Gentoo Linux Reporter: Michael <gent.8.madblock>
Component: Current packagesAssignee: Paul Varner (RETIRED) <fuzzyray>
Status: RESOLVED FIXED    
Severity: trivial CC: tools-portage
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael 2009-01-03 14:15:59 UTC
It took me queite some time to figure out: When I tried to run elogviewer it showed the following errormessage:

You need to enable the elog feature by setting at least one of 
	PORTAGE_ELOG_CLASSES="info warn error log"
and
	PORTAGE_ELOG_SYSTEM="save"
in /etc/make.conf

Read /etc/make.conf.example for more information

I checked my make.conf several times and re-organized it because I thought the check-function that parses my make.conf is broken or something. /var/log/portage/elog had all elogs just as I configured it.

Then I realized that the elogs directory rights are set to xx0, so only people in the group 'portage' can read the elogs.

A postinstall message or different errormessage of elogviewer would save other people who are as silly as me some time.

Reproducible: Always
Comment 1 Michael 2009-09-11 12:55:43 UTC
I suggest:

You need to enable the elog feature by setting at least one of 
        PORTAGE_ELOG_CLASSES="info warn error log"
and
        PORTAGE_ELOG_SYSTEM="save"
in /etc/make.conf
and make sure that your user is in the 'portage' group.

Read /etc/make.conf.example for more information
Comment 2 Mathias Laurin 2010-11-07 21:15:57 UTC
Corrected in 0.6.1.
Comment 3 Zac Medico gentoo-dev 2010-11-09 01:17:48 UTC
(In reply to comment #2)
> Corrected in 0.6.1.

0.6.1 is in the tree now.