#225 Improve packaging for Fedora/RHEL and derivatives

closed-accepted
nobody
packaging (17)
5
2012-06-26
2012-06-14
Peter Lemenkov
No

This patchset contains fixes/enhancements for the following issues:

* The init-script doesn't use pid-file properly which causes troubles in case then several opensips are running on the same machine.
* No sample /etc/sysconfig file provided.
* No required systemd files are provided.

These changes are harmless for the rest of the codebase.

Discussion

1 2 > >> (Page 1 of 2)
  • Peter Lemenkov
    Peter Lemenkov
    2012-06-14

    • labels: --> packaging
     
  • Peter Lemenkov
    Peter Lemenkov
    2012-06-14

    • summary: Improve packaging for Fedora --> Improve packaging for Fedora/RHEL and derivatives
     
  • Ovidiu Sas
    Ovidiu Sas
    2012-06-26

    Hello Peter,

    I pushed the patches into the trunk. Please test and let me know if everything is ok and then I will backport to 1.8.
    I wasn't sure if "opensips.tmpfiles.conf" is required or is a temporary file and therefore I didn't push that one. Please check and let me know.

    Regards,
    Ovidiu Sas

     
  • Peter Lemenkov
    Peter Lemenkov
    2012-06-26

    Hello Ovidiu.

    Regarding "opensips.tmpfiles.conf" - that's a requirement for systemd in case then your /var/run resides in tmpfs. It contains a list of directories which should be created before normal operation. In fact it isn't required for everyone but I think it should be included as well since most of recent distributions will have both systemd and /var/run mounted as tmpfs.

     
  • Ovidiu Sas
    Ovidiu Sas
    2012-06-26

    You have all files pushed into trunk. Please test and let me know if it's ok to backport to 1.8.

     
  • Peter Lemenkov
    Peter Lemenkov
    2012-06-26

    Hello Ovidiu.
    Yes, all things looks ok so I believe it's safe to backport to 1.8.x In fact I'm already using these changes with latest 1.8.0 release.

     
  • Ovidiu Sas
    Ovidiu Sas
    2012-06-26

    Please test and close the bug report.

    Regards,
    Ovidiu Sas

     
1 2 > >> (Page 1 of 2)