Your message dated Sun, 13 Nov 2016 12:38:02 +0100
with message-id <[email protected]>
and subject line Re: Bug#703181: [mlocate] please, consider using sh instead of 
bash in /etc/cron.daily/mlocate
has caused the Debian Bug report #703181,
regarding [mlocate] please, consider using sh instead of bash in 
/etc/cron.daily/mlocate
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
703181: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703181
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mlocate
Version: 0.23.1-1
Severity: wishlist

--- Please enter the report below this line. ---

Hi,

The /etc/cron.daily/mlocate shell script is intended to be run in a non
interactive way and seems to be posix compliant. Please, consider using
sh.

Regards,
-- 
Manolo

--- End Message ---
--- Begin Message ---
Hi,

sorry for the long delay in replying here, I've completely forgotten
about this bug.

]] Manolo Díaz 

> > 
> > > The /etc/cron.daily/mlocate shell script is intended to be run in a
> > > non interactive way and seems to be posix compliant. Please,
> > > consider using sh.
> > 
> > Why?
> > 
> Because dash, which is commonly used as default shell in Debian, is
> supposed to have a smaller footprint than bash and it's enough to run
> the script. Have I missed any downside?

Yes, we're using «which», which isn't POSIX sh.  It might be in dash,
but that's not sufficient for /bin/sh.  bash is essential, and the
overhead of bash vs dash is tiny compared to the work mlocate is doing,
so I'm going to close this bug now.

Cheers,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

--- End Message ---

Reply via email to