[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 38

On Fri, Aug 27, 2010 at 10:36:52AM +0200, posion bit wrote:
> On Fri, Aug 27, 2010 at 10:26 AM, Steve Langasek <vorlon@debian.org> wrote:
> > Given that he hasn't bothered to present a single definitively broken script
> > in /etc but instead seems to think that his prowess with grep entitles him
> > to leave this most basic proof as an exercise for the reader, I'm pretty
> > sure the answers to these other questions aren't interesting.

> I showed one case in /etc/profile

Message-id: <[🔎] AANLkTinQMYmk5uzDYXuz_Q8CAma3AGxBuZiCWMjk8g9c@mail.gmail.com>

No, you didn't.

But it seems you're referring to this:

 if [ -d /etc/profile.d ]; then
   for i in /etc/profile.d/*.sh; do
     if [ -r $i ]; then
       . $i
   unset i

This will fail to source any file in /etc/profile.d/ whose name contains a

This is a bug.

It is a *wishlist* bug; there is no requirement to honor the intent of
admins who choose goofy filenames for scripts under /etc, and failing to
source such weirdly named files does not impact the rest of the system.

If this is the best example you can come up with of this being a problem,
you shouldn't be surprised that Debian isn't rushing to address such
low-priority bugs.

> I've just fast looked and show another case in /etc/init.d/rc

You may have *seen* something that you think is another issue, but you
aren't *showing* anything.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: