Bug#656577: asterisk: UMASK not exported

Andriy Ivashchenko info at ai.kh.ua
Sat Jan 21 14:09:22 UTC 2012


В Sat, 21 Jan 2012 13:12:35 +0200
Tzafrir Cohen <tzafrir.cohen at xorcom.com> пишет:

> On Sat, Jan 21, 2012 at 12:20:55PM +0200, Andriy Ivashchenko wrote:
> > В Fri, 20 Jan 2012 13:03:29 +0200
> > Tzafrir Cohen <tzafrir.cohen at xorcom.com> пишет:
> > 
> > > On Fri, Jan 20, 2012 at 11:26:41AM +0200, Andriy Ivashchenko
> > > wrote:
> 
> > > Should it be exported? Or should we create
> > > /etc/asterisk/startup.d/aa_debian.sh as a symlink to
> > > /etc/default/asterisk ? (look for startup.d in the script
> > > safe_asterisk).
> > > 
> > 
> >   In safe_asterisk `umask $UMASK' happens
> > before /etc/asterisk/startup.d/ If you want to do something with
> > variables in startup.d, you should to worry about what to do with
> > them. You need to do duplicate `umask $UMASK'. Is it really good? 
> >  Except UMASK, there need to export MAXFILES too. I think those vars
> > need to be in /etc/default/asterisk and exported to safe_asterisk.
> > May be somebody needs another critical variables which should be
> > exported from /etc/default/asterisk ? I have no one.
> > Thanks.
> 
> See https://reviewboard.asterisk.org/r/1601/
> 

Good point to move startup.d up

-- 
  Corporate Telephone Systems. VoIP. http://ai.kh.ua





More information about the Pkg-voip-maintainers mailing list