Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412845 - emerge should display message about the need to etc-update after preserved-libs message
Summary: emerge should display message about the need to etc-update after preserved-li...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 409383
  Show dependency tree
 
Reported: 2012-04-21 00:45 UTC by Alec Meyers
Modified: 2012-04-23 00:01 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 Alec Meyers 2012-04-21 00:45:47 UTC
Today I made a large update which resulted in a lot of preserved libs being made. Not thinking much, I logged out of the root shell only to find that I couldn't log back in because I didn't do etc-update (bug 412721), so I was effectively locked myself out of the system. The problem is that I didn't see it because I would have needed to scroll up. A simple solution is to make the etc-update message after the preserved-libs message, since it's less verbose and usually much more important.

(On a related note, is it possible to get an email sent when I need to etc-update?)

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2012-04-21 01:10:01 UTC
This is fixed in git:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=92a8357ca98d4a42e7747abd2cf4b390381fc6bc

(In reply to comment #0)
> (On a related note, is it possible to get an email sent when I need to
> etc-update?)

Sure we could do that. We already have support for sending mail in the elog mail module.
Comment 2 Alec Meyers 2012-04-21 01:25:28 UTC
That was fast, thanks!

I already have PORTAGE_ELOG_CLASSES="warn error log", and I get messages from packages, but I never got anything telling me if I have configuration files in /etc to update (Sorry if I'm missing something!)
Comment 3 Zac Medico gentoo-dev 2012-04-21 01:33:22 UTC
(In reply to comment #2)
> I already have PORTAGE_ELOG_CLASSES="warn error log", and I get messages
> from packages, but I never got anything telling me if I have configuration
> files in /etc to update (Sorry if I'm missing something!)

Yeah, it doesn't send mails for that yet. You can get elog messages mailed if you do this though:

  PORTAGE_ELOG_SYSTEM="${PORTAGE_ELOG_SYSTEM} mail"
Comment 4 Zac Medico gentoo-dev 2012-04-23 00:01:11 UTC
This is fixed in 2.1.10.57 and 2.2.0_alpha101.