severity 475499 minor
retitle 475499 mediatomb-daemon: Check if $GROUP is specified
thanks

On Friday 11 April 2008 10:52:10 am Christopher Pharo Glæserud wrote:
> Andres Mejia,
>
> > > Package: mediatomb-daemon
> > > Version: 0.11.0-2
> > > Severity: grave
> > > Justification: renders package unusable
> > >
> > > /etc/init.d/mediatomb has an error on line 76:
> > >
> > > DAEMON_ARGS="-c /etc/mediatomb/config.xml -d -u $USER -g $GROUP -P
> > > $PIDFILE -l $LOGFILE $INTERFACE_ARG $OPTIONS"
> > >
> > > $GROUP is never declared or assigned in the script, which causes it to
> > > fail with "group -P not found".
> >
> > What do you have in /etc/default/mediatomb?
>
> Not what I am supposed to, it seems. Normally, I would expect a
> .dpkg-dist file, but this is not there. Neither is the original
> mediatomb file changed. Upon reinstalling the package, the correct
> version is installed (with USER and GROUP). I would probably attribute
> this to a local error and not the package, since it works fine on
> reinstall.
>
> Which means that this bug can be dismissed.

OK. Actually what I'm going to do is have a check to see if $GROUP is 
specified and if not, specify it with what's already in $USER. I'll set the 
severity of this bug to minor and retitle it.

-- 
Regards,
Andres


Reply via email to