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 Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs