Modify

Opened 6 years ago

Closed 3 years ago

#10685 closed defect (wontfix)

ushare doesn't honor config file

Reported by: p.pisati@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

/etc/config/ushare:
config 'ushare'

option 'enabled' '1'
option 'user' 'nobody'
option 'servername' 'OpenWrt'
option 'interface' 'br-lan'
option 'options' '-p 8010 -d'
option 'content_directories' '/mnt/storage'
option 'disable_telnet' '1'
option 'disable_webif' '0'

flag@OpenWrt:/mnt/storage/flag$ sudo /etc/init.d/ushare restart
flag@OpenWrt:/mnt/storage/flag$ ps -auxwwwww | grep ushare

2961 nobody 21964 R /usr/bin/ushare -n OpenWrt -i br-lan -c /mnt/storage
2973 flag 976 S grep ushare

flag@OpenWrt:/mnt/storage/flag$

see how the entire 'options' section is unattended.

Moreover according to the 'interface' section it should bind to 'br-lan' but, again, it is not honored:

flag@OpenWrt:/mnt/storage/flag$ sudo netstat -lp | grep ushare
tcp 0 0 0.0.0.0:49152 0.0.0.0:* LISTEN 2961/ushare
udp 0 0 0.0.0.0:1900 0.0.0.0:* 2961/ushare
udp 0 0 localhost:51626 0.0.0.0:* 2961/ushare

flag@OpenWrt:/mnt/storage/flag$ sudo opkg list | grep ushare
luci-app-ushare - trunk+svn8136-1 - uShare - UPnP A/V & DLNA Media Server
ushare - 1.1a-4 - uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by anonymous

/etc/config/ushare:
config 'ushare'
        option 'enabled' '1'
        option 'user' 'nobody'
        option 'servername' 'OpenWrt'
        option 'interface' 'br-lan'
        option 'options' '-p 8010 -d'
        option 'content_directories' '/mnt/storage'
        option 'disable_telnet' '1'
        option 'disable_webif' '0'

flag@OpenWrt:/mnt/storage/flag$ sudo /etc/init.d/ushare restart
flag@OpenWrt:/mnt/storage/flag$ ps -auxwwwww | grep ushare
 2961 nobody   21964 R    /usr/bin/ushare -n OpenWrt -i br-lan -c /mnt/storage
 2973 flag       976 S    grep ushare
flag@OpenWrt:/mnt/storage/flag$

see how the entire 'options' section is unattended. 

Moreover according to the 'interface' section it should bind to 'br-lan' but, again, it is not honored:

flag@OpenWrt:/mnt/storage/flag$ sudo netstat -lp | grep ushare
tcp        0      0 0.0.0.0:49152           0.0.0.0:*               LISTEN      2961/ushare
udp        0      0 0.0.0.0:1900            0.0.0.0:*                           2961/ushare
udp        0      0 localhost:51626         0.0.0.0:*                           2961/ushare

flag@OpenWrt:/mnt/storage/flag$ sudo opkg list | grep ushare
luci-app-ushare - trunk+svn8136-1 - uShare - UPnP A/V & DLNA Media Server
ushare - 1.1a-4 - uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by jogo

  • Resolution set to wontfix
  • Status changed from new to closed

Ushare is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.
See https://github.com/openwrt/packages/blob/master/CONTRIBUTING.md for details.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.