psu25682@odin.cc.pdx.edu (Karl M. Hegbloom): > What if we had an /etc/profile.d (not invented here) where packages > (like postgresql) could drop a startup file for /etc/profile to source > in a for f in /etc/profile.d/* loop? > > Pros and cons? - It's shell specific. Similar stuff would be needed for other shells. - If the package needs it, it's buggy and should be fixed. (The correct way in that case is to make it a script wrapper aound the actual program, not assume things are done in /etc/profile.) - If the package doesn't need it, it's unnecessary clutter that will fill up my root partition and slow up my logins needlessly. As sysadmin, I don't want to have to clean up stuff like that after every upgrade. - If it is meant just as an example, put it in /usr/doc/*/examples. In summary, I still (as on some earlier occasions when this has been suggested) that the idea is not worth it. -- Stupid little mailer under construction, sorry for any problems.
Attachment:
pgprXzbUR3AWl.pgp
Description: PGP signature