freevo: Problem running imdb plugin from command line

Bug #314720 reported by u19809
4
Affects Status Importance Assigned to Milestone
freevo (Debian)
Fix Released
Unknown
freevo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: freevo

when running

freevo imdb -s test

as a regular user (part of the freevo group)

I noticed that I got the imdb usage message.

when running

freevo -d imdb -s test

the GUI starts up (and not as expected the imdb-fetch command)

after some investigation I noticed this in the /usr/bin/freevo
startup script

exec sg freevo -c "$DAEMON.real $@"

and noticed when tracing the sg command that the arguments expanded
by $@ were not interpreted as one string (as sg requires) but as
parts. I.e. only the first argument was passed to
the /usr/bin/freevo.real command and not all arguments.

Changing the command in the script as

X="$DAEMON.real $@"
and then
exec sg freevo -c "$X"

makes all things work just nicely.

Related branches

Revision history for this message
Alessio Treglia (quadrispro) wrote :
Changed in freevo:
status: New → Confirmed
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
James Westby (james-w) wrote :

Hi,

I assume this bug affects Debian? If so, could you please forward the patch
there?

Thanks,

James

Revision history for this message
u19809 (wim-delvaux) wrote : Re: [Bug 314720] Re: freevo: Problem running imdb plugin from command line

On Friday 09 January 2009 12:38:34 James Westby wrote:
> Hi,
>
> I assume this bug affects Debian? If so, could you please forward the patch
> there?
>
> Thanks,
>
> James

you ppl have to make up your mind how to report bugs.

I first ran 'reportbug'. Then got a message I need to send to some place else,
now you want me to 'forward' it to debian, assuming I know where to forward
it too. I though reportbug (as being a debian tool) would do that.

I think it is best you forward the problem to where you think it should go.

W

Revision history for this message
James Westby (james-w) wrote :

Hi,

I was asking Alessio to forward his patch.

Thanks,

James

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Done.

Revision history for this message
u19809 (wim-delvaux) wrote :

On Friday 09 January 2009 13:06:29 James Westby wrote:
> Hi,
>
> I was asking Alessio to forward his patch.

OK ... sorry

W

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freevo - 1.8.1-3ubuntu1

---------------
freevo (1.8.1-3ubuntu1) jaunty; urgency=low

  * debian/scripts/freevo:
    - The arguments expanded by $@ were not interpreted as one string
      (as sg requires) but as parts, i.e. only the first argument was
      passed to the /usr/bin/freevo.real command and not all arguments,
      fixes LP: #314720.

 -- Alessio Treglia <email address hidden> Thu, 08 Jan 2009 23:47:05 +0100

Changed in freevo:
status: Confirmed → Fix Released
Changed in freevo:
status: Unknown → New
Changed in freevo (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.