Bug#656577: asterisk: UMASK not exported

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jan 21 11:12:35 UTC 2012


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/

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list