← Back to team overview

registry team mailing list archive

[Bug 448682] Re: Cannot stop couchdb using /etc/init.d/couchdb after package install

 

Some conversations with cjwatson on IRC lead to two potential fixes to
address the issue:

1. < cjwatson> mathiaz: I meant calling sigaction in the daemon itself

2. < cjwatson> or create a tiny C wrapper that does  struct sigaction sa; 
                  memset (&sa, 0, sizeof sa); sa.sa_handler = SIG_DFL; 
                  sigemptyset (&sa.sa_mask); sa.sa_flags = 0; sigaction 
                  (SIGHUP, &sa, NULL);  and then execs the program

It seems that option 1. may not be possible if erlang doesn't support
signals.

** Also affects: couchdb (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Changed in: couchdb (Ubuntu Lucid)
       Status: New => Triaged

** Changed in: couchdb (Ubuntu Lucid)
   Importance: Undecided => Medium

-- 
Cannot stop couchdb using /etc/init.d/couchdb after package install
https://bugs.launchpad.net/bugs/448682
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.