Bug#486097: asterisk.postinst should always check group memberships

Tim Retout tim at retout.co.uk
Fri Jun 13 11:15:29 UTC 2008


Package: asterisk
Version: 1:1.4.20~dfsg-1
Severity: minor

If the asterisk postinst script is aborted before asterisk is added to
the dialout and audio groups, subsequent runs of the script will not fix
the problem. (See section 6.2 of the Debian Policy Manual.)

The attached patch just brings the group checks outside of the check
that the user 'asterisk' exists. Currently they should always be true,
because the user has only just been created.

-- 
Tim Retout <tim at retout.co.uk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: asterisk-add-groups-separately.patch
Type: text/x-patch
Size: 993 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20080613/3810d064/attachment.bin 


More information about the Pkg-voip-maintainers mailing list