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

Bug 397583

Summary: net-im/prosody update init-script from --chuid to --user
Product: Gentoo Linux Reporter: ScytheMan <scytheman666>
Component: New packagesAssignee: Dirkjan Ochtman (RETIRED) <djc>
Status: RESOLVED INVALID    
Severity: normal CC: rafaelmartins
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-im/prosody/files/prosody.initd
Whiteboard:
Package list:
Runtime testing required: ---

Description ScytheMan 2012-01-04 02:49:11 UTC
Init-Script has two lines with old --chuid param:

start() {
        checkconfig || return 1
        ebegin "Starting Prosody XMPP Server"
        start-stop-daemon --start -b --pidfile ${PIDFILE} \
                --make-pidfile --chuid ${USER} --exec ${COMMAND}
        eend $?
}

stop() {
        ebegin "Stopping Prosody XMPP Server"
        start-stop-daemon --stop --pidfile ${PIDFILE} \
                --chuid ${USER} --exec ${COMMAND}
        eend $?
}


see tracker bug #377843
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-04 03:31:43 UTC
Um, no it doesn't. Maybe you have an old version in an overlay?
Comment 2 ScytheMan 2012-01-04 03:42:18 UTC
pretty strange, tried reinstalling it now.

eix prosody
[I] net-im/prosody
     Available versions:  (~)0.8.1 (~)0.8.2 {libevent mysql postgres sqlite ssl zlib}
     Installed versions:  0.8.2(04:34:54 AM 01/04/2012)(sqlite ssl zlib -libevent -mysql -postgres)
     Homepage:            http://prosody.im/
     Description:         Prosody is a flexible communications server for Jabber/XMPP written in Lua.


etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)

It seems the fault is on my side, as  files/prosody.initd is correct.

emerge log says:
--- replaced obj /etc/init.d/prosody
but it didn't get replaced.

ls gives:
120094803  4 -rwxr-xr-x  1 root root  1157 Apr 15  2011 prosody*

After moving it manually and re-emerging prosody it set up a new initd file.  


Sorry for the noise.