Am 07.05.2014 13:19, schrieb Dimitri John Ledkov: > > Hello all, > > I'm proposing below patch, which sources profile.d hooks into the > interactive shells from /etc/bash.bashrc. > > First of all, there is no reason to create a distinct /etc/bashrc.d, > since hooks can trivially inspect and figure out if they are sourced by > login or interactive shells (as vte.sh already does). > > If there is bad interaction between hooks, well, that's already a bug in > those hooks under login shells. > > Matthias and I, disagree on whether login & interractive shell > environments should be different or similar. I side, that the two should > be similar. Furthermore, looking at some of the existing hooks, I didn't > see any that would negatively affect interractive shells and/or where > for any reasons undesirable under interractive shells. > > Below change is also in-line with what other distributions are doing, > e.g. fedora 20 is sourcing profile.d from their system-wide bashrc. > > Everyone affected please test below patch, to see if it satisfies your > needs and unblocks shipping interractive shell hooks. I intend to NMU > this patch into delayed/10 on Friday, unless it is found buggy and/or > unacceptable, or maintainer chooses to fix this bug report using below > patch or any other means.
I don't think this is the correct solution, so please don't NMU. I think it is wrong to piggy back on the /etc/profile.d mechanism, which was introduced by the LSB. Also mixing profile and bashrc stuff seems to be wrong. Citing implementations in other distributions doesn't help much, these may change without notice. So the best thing would be to bring such a proposal to the LSB, or to FreeDesktop, and then implement that one after it is accepted. Matthias -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

