Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 97309
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: voip herd <voip@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: CJ Kucera <pez@apocalyptech.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
siproxd-0.5.11-r1.patch siproxd-0.5.11-r1.patch patch CJ Kucera 2005-06-28 08:12 0000 751 bytes Details | Diff
siproxd.rc6.patch siproxd.rc6.patch patch CJ Kucera 2005-06-28 08:13 0000 510 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 97309 depends on: Show dependency tree
Bug 97309 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-28 08:11 0000
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 From CJ Kucera 2005-06-28 08:12:21 0000 -------
Created an attachment (id=62162) [details]
siproxd-0.5.11-r1.patch

Here's the patch to the ebuild itself

------- Comment #2 From CJ Kucera 2005-06-28 08:13:59 0000 -------
Created an attachment (id=62164) [details]
siproxd.rc6.patch

... and here's a patch for the init script

------- Comment #3 From Jakub Moc (RETIRED) 2005-06-30 04:22:30 0000 -------
*** Bug 97473 has been marked as a duplicate of this bug. ***

------- Comment #4 From Stefan Knoblich (RETIRED) 2005-09-22 16:24:52 0000 -------
changes have been added to the ebuild, thanks a lot

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug