Bug#406714: asterisk: FHS violation: asterisk privacy mode writes in /usr/share/asterisk/sounds/priv-callerintros

Lionel Elie Mamane lionel at mamane.lu
Fri Jan 19 20:50:15 CET 2007


On Thu, Jan 18, 2007 at 05:31:14PM -0800, Steve Langasek wrote:
> On Sat, Jan 13, 2007 at 11:13:09AM +0100, Lionel Elie Mamane wrote:

>> Version: 1.2.13~dfsg-2
>> Severity: serious
>> Justification: Policy 9.1.1

>> The asterisk privacy mode (Dial with option "P") records caller
>> intros in /usr/share/asterisk/sounds/priv-callerintros . This
>> violates the FHS and hence Debian policy.

> But does asterisk run as root (I hope not)?

Indeed, it does not.

> If not, then surely no intros can be written to this directory,

Indeed.

> so policy isn't actually being violated --

I hadn't thought of this in this way (that it must _effectively_, from
the package's directory ownerships, be able to write - directory
ownerships can be changed by the administrator, and all that), I must
admit. But it is indeed a consistent reasoning.

> it's just a feature that's unavailable to users of the package?

(Unless they manually create
/var/lib/asterisk/sounds/priv-callerintros and symlink
/usr/share/asterisk/sounds/priv-callerintros to it.)

-- 
Lionel




More information about the Pkg-voip-maintainers mailing list