Gabor Gombas wrote:
On Fri, Jul 24, 2009 at 06:39:53PM +0200, Giacomo Catenazzi wrote:BTW it seems that all previous tries to remove the bug in bash failed.Actually it's not a bug in bash at all. The bug is the combined effect of how bash behaves and how the NSS functionality is implemented inside glibc. AFAIR "fixing" bash would make it incompatible with existing user scripts. So it would have (almost) all of the drawbacks of the bash->dash transition without none of the benefits.
Not necessarily, but also not easy to fix. bash could wait until the first nss use to "connect" to libc nss. This would also speed up bash for these users. Or telling bash (and shells in general) via some environment variable, that we are shutting down things. Not clean, but I think the init could provide some extra informations. ciao cate