Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253552 - app-portage/elogviewer gives misleading error message if user is not in 'portage' group
Summary: app-portage/elogviewer gives misleading error message if user is not in 'port...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Paul Varner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 14:15 UTC by Michael
Modified: 2010-11-09 01:17 UTC (History)
1 user (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 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.