Summary: | net-misc/asterisk - add systemd service files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Craig Andrews <candrews> |
Component: | [OLD] Server | Assignee: | Tony Vroon (RETIRED) <chainsaw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, systemd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 448882 |
Description
Craig Andrews
2014-11-13 23:38:50 UTC
I've put some inital service files in place - which is mainly a cleaned up version of the version coming from fedora. The user configurable part for enabling a debug console on a TTY now resides (completeyl commented in) under /etc/systemd/system/asterisk.service.d/00gentoo.conf There is a minor caveat with above configuration with the configuration and a bug in systemd, though [1]. A fix is to not set User=asterisk, Group=asterisk in the service file but in the configuration file /etc/asterisk/asterisk.conf. But due to history, this is way too dangerous to change - if a user forgets to update a modified asterisk.conf file, asterisk runs with root privileges :-/ [1] https://bugs.freedesktop.org/show_bug.cgi?id=85255 *asterisk-11.14.2-r1 (30 Dec 2014) *asterisk-11.15.0-r1 (30 Dec 2014) *asterisk-12.8.0-r1 (30 Dec 2014) *asterisk-12.7.2-r1 (30 Dec 2014) 30 Dec 2014; Matthias Maier <tamiko@gentoo.org> +asterisk-11.14.2-r1.ebuild, +asterisk-11.15.0-r1.ebuild, +asterisk-12.7.2-r1.ebuild, +asterisk-12.8.0-r1.ebuild, +files/asterisk.service, +files/asterisk.service.conf, +files/asterisk.tmpfiles.conf: provide systemd service files, bug #529192 A, I should have been a bit more precise: This bug only triggers if the optional TTY debug console is enabled. The default service file commited is unaffected. |