Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97309 - net-misc/siproxd-0.5.11 fixes (create needed directories, fix config mismatches)
Summary: net-misc/siproxd-0.5.11 fixes (create needed directories, fix config mismatches)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords: Inclusion
: 97473 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-28 08:11 UTC by CJ Kucera
Modified: 2005-09-22 16:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
siproxd-0.5.11-r1.patch (siproxd-0.5.11-r1.patch,751 bytes, patch)
2005-06-28 08:12 UTC, CJ Kucera
Details | Diff
siproxd.rc6.patch (siproxd.rc6.patch,510 bytes, patch)
2005-06-28 08:13 UTC, CJ Kucera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CJ Kucera 2005-06-28 08:11:34 UTC
The siproxd.conf.example bundled with siproxd contains references to the dirs
/usr/lib/siproxd and /var/run/siproxd, neither of which are created by the
current 0.5.11 ebuild.  /var/lib/siproxd is used for a persistant state file
which keeps track of SIP registrations (apparently), and is an optional dir for
siproxd to chroot to.  /var/run/siproxd is the default directory to store the
PIDfile in.  siproxd doesn't work properly without changing the default config
file unless these directories are present.

Because I was adding these dirs, I figured that it wouldn't hurt to have an
actual "siproxd" user for the daemon to run as, instead of just "nobody," so
I've added that into the ebuild as well, and made sure that the two new dirs
were owned by that user.

Additionally, the default conf file specifies /var/run/siproxd as the directory
to store the PID file, but the included init script had just been using
/var/run.  I've fixed that as well.

I'll attach patches momentarily.

Reproducible: Always
Steps to Reproduce:
Comment 1 CJ Kucera 2005-06-28 08:12:21 UTC
Created attachment 62162 [details, diff]
siproxd-0.5.11-r1.patch

Here's the patch to the ebuild itself
Comment 2 CJ Kucera 2005-06-28 08:13:59 UTC
Created attachment 62164 [details, diff]
siproxd.rc6.patch

... and here's a patch for the init script
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-06-30 04:22:30 UTC
*** Bug 97473 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Knoblich (RETIRED) gentoo-dev 2005-09-22 16:24:52 UTC
changes have been added to the ebuild, thanks a lot