Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397583 - net-im/prosody update init-script from --chuid to --user
Summary: net-im/prosody update init-script from --chuid to --user
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL: http://sources.gentoo.org/cgi-bin/vie...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-04 02:49 UTC by ScytheMan
Modified: 2012-01-04 03:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.