Summary: | After update of sys-libs/pam and sys-apps/shadow postgresql complians on startup/shutdown | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart W. Finlayson <stu> |
Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | VERIFIED FIXED | ||
Severity: | minor | CC: | esigra, k.epost, Werner.Peter |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 99596 | ||
Bug Blocks: |
Description
Stuart W. Finlayson
2005-07-08 15:12:45 UTC
I'm experiencing the same problem when trying to run a php script from crontab as the apache user. So this is a larger problem. su: Authentication service cannot retrieve authentication info. Problem is in /etc/shadow file. For example postgres user is not included in this file, I cannot say if it was in this file before (but I think it was). Now when you add line postgres:*::::::: into /etc/shadow, warning should disappear. Please try it, if it solves the problem. If this line was already there before upgrading sys-apps/shadow, then it is a major failure (or maybe critical) - losing lines from /etc/shadow can prevent user from login. See bug# 110416 The actual dev-db/postgresql ebuilds correctly set up their groups and users. A solution posted in the forums is to simply run '/usr/sbin/pwconv' as root to fix this, but that isn't the ebuilds job. Best regards, CHTEKK. *** Bug 110416 has been marked as a duplicate of this bug. *** See Bug 151056, Comment #1. Closing. (In reply to comment #4) > The actual dev-db/postgresql ebuilds correctly set up their groups and users. > A solution posted in the forums is to simply run '/usr/sbin/pwconv' as root to > fix this, but that isn't the ebuilds job. Shouldn't at least this solution be included in the Gentoo GPostgreSQL Guide? -- Regards, Mick |