Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150360

Summary: net-im/jit doesn't create /var/log/jabber but expects to store a pidfile there
Product: Gentoo Linux Reporter: Adam Nielsen <a.nielsen>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Nielsen 2006-10-07 02:08:52 UTC
The init.d/jit-transport initscript expects the JIT pidfile to be located in /var/log/jabber, but the ebuild doesn't create that directory during the install so JIT can't write its pidfile there.

Consequently, it's impossible to terminate JIT by running init.d/jit-transport stop - the first time it will report an error, and after that it will say JIT is not running, even though "ps -A | grep jit" clearly shows it is.

Running these extra commands during the install will fix the problem:

# mkdir /var/log/jabber
# chown jabber:jabber /var/log/jabber

It is also possible to move the pidfile elsewhere, but this requires editing the JIT config file as well as the jit-transport initscript.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-07 02:12:03 UTC

*** This bug has been marked as a duplicate of 65793 ***