VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
seandarcy2 at gmail.com Guest
|
Posted: Tue Dec 02, 2014 2:23 pm Post subject: [asterisk-users] On Fedora, kernel update resets /var/run/as |
|
|
On Fedora 20, every time the kernel updates, /var/run/asterisk owner is
set to root.root. I'm running asterisk under user asterisk.
Is there any way to keep /var/run/asterisk as asterisk.asterisk. Or do I
find a new place to put asterisk.pid?
sean
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jeff at ocjtech.us Guest
|
Posted: Tue Dec 02, 2014 2:45 pm Post subject: [asterisk-users] On Fedora, kernel update resets /var/run/as |
|
|
Are you using the Fedora RPMs or are you compiling it yourself? If
you're compiling it yourself, you'll need to create a file called
/etc/tmpfiles.d/asterisk.conf with this content:
d /run/asterisk 0755 asterisk asterisk
On Fedora /var/run is a symlink to /run, and /run is a tmpfs
partition, which means it gets wiped out every time you reboot.
systemd-tmpfiles uses the files in /etc/tmpfiles.d and
/usr/lib/tmpfiles.d to recreate files/directories at boot time.
On Tue, Dec 2, 2014 at 1:22 PM, sean darcy <seandarcy2@gmail.com> wrote:
Quote: | On Fedora 20, every time the kernel updates, /var/run/asterisk owner is set
to root.root. I'm running asterisk under user asterisk.
Is there any way to keep /var/run/asterisk as asterisk.asterisk. Or do I
find a new place to put asterisk.pid?
sean
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Jeff Ollie
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jeff at ocjtech.us Guest
|
Posted: Tue Dec 02, 2014 2:47 pm Post subject: [asterisk-users] On Fedora, kernel update resets /var/run/as |
|
|
On Tue, Dec 2, 2014 at 1:22 PM, sean darcy <seandarcy2@gmail.com> wrote:
Quote: |
Or do I
find a new place to put asterisk.pid?
|
Also, if you use the native systemd unit file, you no longer need a
PID file, although you still need /run/asterisk to store the control
socket.
--
Jeff Ollie
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
seandarcy2 at gmail.com Guest
|
Posted: Tue Dec 02, 2014 4:00 pm Post subject: [asterisk-users] On Fedora, kernel update resets /var/run/as |
|
|
On 12/02/2014 02:46 PM, Jeffrey Ollie wrote:
Quote: | On Tue, Dec 2, 2014 at 1:22 PM, sean darcy <seandarcy2@gmail.com> wrote:
Quote: |
Or do I
find a new place to put asterisk.pid?
|
Also, if you use the native systemd unit file, you no longer need a
PID file, although you still need /run/asterisk to store the control
socket.
|
So systemd is taking over the galaxy.
Put asterisk.conf in /etc/tmpfiles.d, and all worked. It needs to be
included in the rpm.
I still need ctl so I can access * remotely.
Thanks for the help.
sean
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Tue Dec 02, 2014 6:12 pm Post subject: [asterisk-users] On Fedora, kernel update resets /var/run/as |
|
|
On Tue, Dec 02, 2014 at 04:00:25PM -0500, sean darcy wrote:
Quote: | On 12/02/2014 02:46 PM, Jeffrey Ollie wrote:
Quote: | On Tue, Dec 2, 2014 at 1:22 PM, sean darcy <seandarcy2@gmail.com> wrote:
Quote: |
Or do I
find a new place to put asterisk.pid?
|
Also, if you use the native systemd unit file, you no longer need a
PID file, although you still need /run/asterisk to store the control
socket.
|
So systemd is taking over the galaxy.
|
No. /run has become a tmpfs directory. /var/run has been a "tmpfs" in
Debian (tmpfs or deleted at startup) even before systemd.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
jeff at ocjtech.us Guest
|
Posted: Tue Dec 02, 2014 7:28 pm Post subject: [asterisk-users] On Fedora, kernel update resets /var/run/as |
|
|
On Tue, Dec 2, 2014 at 3:00 PM, sean darcy <seandarcy2@gmail.com> wrote:
Quote: |
Put asterisk.conf in /etc/tmpfiles.d, and all worked. It needs to be
included in the rpm.
|
It's already in the RPMs distributed by Fedora. I wouldn't know about
the RPMs distributed by Digium.
--
Jeff Ollie
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|