First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 36403
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Davis (zhen) (RETIRED) <zhen@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 36403 depends on: Show dependency tree
Bug 36403 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: 2003-12-23 18:40 0000
stunnel cannot write to /var/run/stunnel.pid because it drops perms to
nobody:nogroup when it starts. If I create the file /var/run/stunnel.pid and
give nobody full (750) perms to it, stunnel will still not start because it
needs to create the file itself. 

Reproducible: Always
Steps to Reproduce:
1. emerge stunnel
2. /etc/init.d/stunnel start; /etc/init.d/stunnel stop
3. check stunnel.log, no stunnel running!




Maybe this is an upstream issue, mainly because stunnel should not bail out if
the pidfile is already available, but my current recommendation is to give
stunnel its own user and give that user write access to /etc/stunnel, placing
the pidfile in there.

------- Comment #1 From John Davis (zhen) (RETIRED) 2003-12-23 18:42:54 0000 -------
i see that 4.04-r2 adds the stunnel user, but there are still no perms set on
/etc/stunnel or the pid file

------- Comment #2 From Daniel Ahlberg (RETIRED) 2004-01-03 11:32:56 0000 -------
-r3 in CVS which should fix this and other stuff.

------- Comment #3 From John Davis (zhen) (RETIRED) 2004-01-08 16:08:50 0000 -------
-r3 works great for me - thanks for the cleanup :)

------- Comment #4 From Daniel Ahlberg (RETIRED) 2004-02-21 13:30:35 0000 -------
*** Bug 37986 has been marked as a duplicate of this bug. ***

------- Comment #5 From Daniel Ahlberg (RETIRED) 2005-01-07 04:14:52 0000 -------
*** Bug 61077 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug