Modify

Opened 5 years ago

Closed 3 years ago

#12417 closed defect (moved_to_github)

asterisk startup script makes unwritable /var directories

Reported by: nop@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Attitude Adjustment 12.09 Beta
Keywords: Cc:

Description

https://dev.openwrt.org/browser/branches/packages_12.09/net/asterisk-1.8.x/files/asterisk.init#L12

If asterisk is running with uid==asterisk, it will not be able to write to the directories created in /var for it. For example, /var/log/asterisk can't be 755 if it's owned by root:root.

This is important for systems with /var on tmpfs.

The luci-pbx asterisk scripts attempt to work around this by changing ownership but they are run after asterisk startup and (IIRC) don't get all of the permissions right.

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by jogo

  • Resolution set to moved_to_github
  • Status changed from new to closed

Asterisk is now maintained here: https://github.com/openwrt/telephony.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.