[sr-dev] [kamailio/kamailio] Switch from deprecated /var/run to /run (#2110)

Guillem Jover notifications at github.com
Thu Oct 24 17:01:59 CEST 2019


#### Pre-Submission Checklist
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)

#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)

#### Checklist:
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)

#### Description

The FHS 3.0 ([/run](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html) and [/var/run](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s13.html)) has deprecated /var/run in favor of /run. Current distributions have done so for a long time (for example in Debian since 6.0 “squeeze”), even though they provide a compatibility symlink from /var/run to /run. But software like systemd have started emitting warnings when using /var/run, for example for its PIDFile directive, which pollute the logs.

I've included a change to a man page, because even though it looks like a similar case to the READMEs, I didn't find any part of the build system generating 8 section man pages. And I've not split this into components, as it is a global change, and seems preferable to have an atomic and bisectable commit.
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/2110

-- Commit Summary --

  * all: Switch from deprecated /var/run to /run

-- File Changes --

    M doc/scripts/cdefs2doc/dump_cfg_defs.pl (2)
    M doc/scripts/cdefs2doc/dump_counters.pl (2)
    M doc/scripts/cdefs2doc/dump_rpcs.pl (2)
    M doc/scripts/cdefs2doc/dump_selects.pl (2)
    M doc/tutorials/cfg_list/Makefile (2)
    M doc/tutorials/counter_list/Makefile (2)
    M doc/tutorials/rpc_list/Makefile (2)
    M doc/tutorials/select_list/Makefile (2)
    M etc/kamailio.cfg (6)
    M misc/examples/ims/icscf/kamailio.cfg (6)
    M misc/examples/ims/pcscf/kamailio.cfg (6)
    M misc/examples/ims/scscf/kamailio.cfg (6)
    M misc/examples/kemi/kamailio-basic-kemi.cfg (6)
    M misc/examples/mixed/kamailio-minimal-anycast.cfg (6)
    M misc/examples/mixed/kamailio-minimal-proxy.cfg (6)
    M misc/examples/pkg/kamailio-basic.cfg (6)
    M misc/examples/pkg/kamailio-oob.cfg (6)
    M misc/examples/scripts/sr (2)
    M misc/examples/webrtc/kamailio-default-websocket.cfg (6)
    M pkg/kamailio/alpine/APKBUILD (4)
    M pkg/kamailio/alpine/kamailio.initd (4)
    M pkg/kamailio/deb/bionic/kamailio.postinst (2)
    M pkg/kamailio/deb/bionic/rules (2)
    M pkg/kamailio/deb/buster/kamailio.postinst (2)
    M pkg/kamailio/deb/buster/rules (2)
    M pkg/kamailio/deb/debian/kamailio.postinst (2)
    M pkg/kamailio/deb/debian/rules (2)
    M pkg/kamailio/deb/jessie/kamailio.postinst (2)
    M pkg/kamailio/deb/jessie/rules (2)
    M pkg/kamailio/deb/precise/kamailio.postinst (2)
    M pkg/kamailio/deb/precise/rules (2)
    M pkg/kamailio/deb/sid/kamailio.postinst (2)
    M pkg/kamailio/deb/sid/rules (2)
    M pkg/kamailio/deb/stretch/kamailio.postinst (2)
    M pkg/kamailio/deb/stretch/rules (2)
    M pkg/kamailio/deb/trusty/kamailio.postinst (2)
    M pkg/kamailio/deb/trusty/rules (2)
    M pkg/kamailio/deb/wheezy/kamailio.postinst (2)
    M pkg/kamailio/deb/wheezy/rules (2)
    M pkg/kamailio/deb/xenial/kamailio.postinst (2)
    M pkg/kamailio/deb/xenial/rules (2)
    M pkg/kamailio/obs/kamailio.init (8)
    M pkg/kamailio/obs/kamailio.service (2)
    M pkg/kamailio/openbsd/patches/patch-scripts_kamctlrc (4)
    M pkg/kamailio/oracle/el6/kamailio.init (4)
    M pkg/kamailio/oracle/el7/kamailio.service (4)
    M pkg/kamailio/oracle/el7/kamailio.sysconfig (2)
    M pkg/kamailio/oracle/kamailio.logrotate (2)
    M src/Makefile (34)
    M src/modules/call_control/call_control.c (2)
    M src/modules/call_control/doc/call_control.8 (4)
    M src/modules/call_control/doc/call_control_admin.xml (4)
    M src/modules/cfgt/doc/cfgt_admin.xml (2)
    M src/modules/ctl/ctl.cfg (2)
    M src/modules/ctl/doc/ctl.xml (4)
    M src/modules/ctl/doc/ctl_params.xml (4)
    M src/modules/ctl/doc/ctl_rpc.xml (4)
    M src/modules/db_mysql/doc/db_mysql_admin.xml (2)
    M src/modules/dispatcher/doc/dispatcher_admin.xml (2)
    M src/modules/ims_diameter_server/examples/kamailio.cfg (2)
    M src/modules/ims_ocs/examples/full/kamailio.cfg (4)
    M src/modules/ims_ocs/examples/simple/kamailio.cfg (4)
    M src/modules/mediaproxy/doc/mediaproxy_admin.xml (4)
    M src/modules/mediaproxy/mediaproxy.c (2)
    M src/modules/nat_traversal/doc/nat_traversal_admin.xml (2)
    M src/modules/sipdump/doc/sipdump_admin.xml (2)
    M test/unit/7.cfg (2)
    M utils/kamctl/kamctl.base (2)
    M utils/kamctl/kamctl.rpcfifo (2)
    M utils/kamctl/kamctlrc (6)
    M utils/pdbt/debian/pdb-server.init.d (2)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2110.patch
https://github.com/kamailio/kamailio/pull/2110.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191024/5ca4befa/attachment-0001.html>


More information about the sr-dev mailing list