Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83232 - mailbase emerge behaves badly for files in /etc/pam.d
Summary: mailbase emerge behaves badly for files in /etc/pam.d
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 13:54 UTC by Simon Matthews
Modified: 2005-05-31 08:44 UTC (History)
0 users

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 Simon Matthews 2005-02-24 13:54:49 UTC
Mailbase emerge refuses to install if if finds any one of a number of files in /etc/pam.d.

Surely this is something that should be handled in the normal Gentoo manner -- have these files updated by etc-update or dispatch-conf instead of having the user delete them?

Furthermore, since the files in /etc/pam.d from uw-imap and mailbase only differ in their comments, the whole thing is pretty pointless. 

Reproducible: Always
Steps to Reproduce:
1. emerge uw-imap (or similar, to create /etc/pam.d/pop and /etc/pam.d/imap)
2. emerge mailbase
3.

Actual Results:  
Mailbase ebuild fails

Expected Results:  
mailbase should continue and drop files in /etc/pam.d that will overwrite the
existing files when etc-update or dispatch-conf is run.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-24 14:37:29 UTC
You're asked to remove the files by hand. See Bug 79240 for the reasons.
Comment 2 Simon Matthews 2005-02-24 16:06:01 UTC
I read the bug you pointed me to and it discusses the collisions and changes to various pop/imap packages, but it does not give any explanation of why the update of the pam.d/pop and other files should not be handled by the normal etc-update or dispatch-conf process. 
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-02-24 16:19:17 UTC
Because it's not a normal upgrade path, but a change in the way these packages are handled. The message is there to tell you what you should do.
Comment 4 Hunter Cook 2005-05-31 08:44:31 UTC
Carsten, the trouble is that the current solution is based on the assumption
that everyone will use the files provided by mailbase, without any changes. If
the only concern is moving from the files provided by the imap server package to
the files provided by mailbase, this would make some sense...but that's not the
only concern. Some of us have edited these files...in my case, it's so that my
imap server can authenticate against mysql. So, for me, this solution means my
emerge world dies every time there's a new version of mailbase, and I have to
manually go in, move the files somewhere else, emerge the new mailbase, and move
them back.

I don't see any reason why the note couldn't simply be changed to explain why
there's now a mailbase package and the fact that it now provides these files,
and have it just add in the ._cfg0000 files. This is not going to be any more
confusing to normal users (who are just now upgrading to the mailbase setup)
than the current situation (and given that all the various imap servers seem to
use pretty much identical files anyway....who cares?), and for those of us that
actually want to change the config files, it won't be such a pain.