Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351403 - =media-video/ushare-1.1a - issue in /etc/init.d/ushare; starting the ushare server fails
Summary: =media-video/ushare-1.1a - issue in /etc/init.d/ushare; starting the ushare s...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 403979
Blocks:
  Show dependency tree
 
Reported: 2011-01-12 02:31 UTC by Joachim Schiele
Modified: 2012-04-02 19:14 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 Joachim Schiele 2011-01-12 02:31:15 UTC
/etc/init.d/ushare is wrong, as the '-c' paramter for ${USHARE_DIRS} is missing (see below, where i added it)

        start-stop-daemon --start --quiet --user ${USHARE_USER:-root} \
        --exec /usr/bin/ushare -- -D -i ${USHARE_IFACE}           \
        -n ${USHARE_NAME} ${USHARE_OPTS} -c ${USHARE_DIRS}        \
        ${ushare_port}                                            \
        ${ushare_telnet} ${ushare_telnet_port}                    \
        ${ushare_web}                                             \
        ${ushare_xbox}                                            \
        ${ushare_dlna}
        eend $?

this is a silent fail, the current version in portage will work nowhere as -c is needed, else no ushare service will star at all.

this is a gentoo bug (not upstream)

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-02-21 07:02:05 UTC
I don't get why you do NOT have this line:

start-stop-daemon --start --quiet -c ${USHARE_USER:-root} \

what's the reason for the discrepancy? 
Comment 2 Sal Gonzalez 2012-02-26 16:01:37 UTC
I also am unsure why your init is missing the -c.  In any event -c is being deprecated in favor of -u, this change will be handled in bug 403979.  Once that is in the tree, please re-emerge and make sure to update your configs!
Comment 3 Pacho Ramos gentoo-dev 2012-04-02 19:14:48 UTC
+*ushare-1.1a-r1 (02 Apr 2012)
+
+  02 Apr 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/01_all_ushare_build_system.patch,
+  +files/02_all_ushare_build_warnings.patch,
+  +files/03_all_ushare_mp4_video_mime.patch, +ushare-1.1a-r1.ebuild,
+  -ushare-1.1a.ebuild, metadata.xml:
+  Revision bump fixing tons of bugs and with a new maintainer by #403979. Thanks
+  a lot to Sal Gonzalez for his work. Remove old.
+