Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90488 - Bash that recognizes a global bash_logout
Summary: Bash that recognizes a global bash_logout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 05:48 UTC by Andre Kloth
Modified: 2005-04-29 14:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
bash-3.0-r9.ebuild.patch (bash-3.0-r9.ebuild.patch,759 bytes, patch)
2005-04-26 05:48 UTC, Andre Kloth
Details | Diff
dummy /etc/bash.bash_logout (bash.bash_logout,76 bytes, text/plain)
2005-04-26 05:50 UTC, Andre Kloth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Kloth 2005-04-26 05:48:14 UTC
If you define

    #define SYS_BASH_LOGOUT "/etc/bash.bash_logout" 

in config-top.h, bash will execute /etc/bash.bash_logout on logout.

Patch for the bash ebuild and example bash.bash_logout are attached.

Reproducible: Always
Steps to Reproduce:
Comment 1 Andre Kloth 2005-04-26 05:48:56 UTC
Created attachment 57274 [details, diff]
bash-3.0-r9.ebuild.patch
Comment 2 Andre Kloth 2005-04-26 05:50:08 UTC
Created attachment 57275 [details]
dummy /etc/bash.bash_logout

Put this example file to ${FILESDIR}.
Comment 3 SpanKY gentoo-dev 2005-04-26 08:23:29 UTC
grr, you had to post this bug after i already killed off /etc/bash/
Comment 4 Andre Kloth 2005-04-26 08:45:22 UTC
At build time you can change the name/location of the global bash_logout file as you like. I don't understand your comment.
Comment 5 SpanKY gentoo-dev 2005-04-26 10:35:08 UTC
dont worry about it
Comment 6 SpanKY gentoo-dev 2005-04-28 21:16:41 UTC
now part of bash-3.0-r10
Comment 7 Andre Kloth 2005-04-29 07:02:51 UTC
Thanks for changing the ebuild in the official portage!

Unfortunately you forgot to change the new path of the global bashrc in /etc/profile :-)
Comment 8 SpanKY gentoo-dev 2005-04-29 14:12:46 UTC
no i didnt, update your baselayout :P