Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 21:05:11 +0000 (GMT)
From:      "Alexandre L." <axelbsd@ymail.com>
To:        J Sisson <sisson.j@gmail.com>
Cc:        FreeBSD Question <freebsd-questions@freebsd.org>
Subject:   Re: FreeBSD port : audio/mpdscribble
Message-ID:  <469980.28607.qm@web24809.mail.ird.yahoo.com>

next in thread | raw e-mail | index | archive | help

Thanks, I can start mpdscribble with my user account (that is in 'wheel' and 'operator' groups') if I set in the conf file the location of the pidfile in my homedir.

But if I start mpdscribble with the /etc/rc.conf (at startup), I get the error message though this change. 
Which user is used to lauch script set in the /etc/rc.conf file ?

The goal is to launch mpdscribble at startup.

--- En date de : Jeu 19.11.09, J Sisson <sisson.j@gmail.com> a écrit :

> De: J Sisson <sisson.j@gmail.com>
> Objet: Re: FreeBSD port : audio/mpdscribble
> À: "Alexandre L." <axelbsd@ymail.com>
> Cc: "FreeBSD Question" <freebsd-questions@freebsd.org>
> Date: Jeudi 19 Novembre 2009, 17h37
> On Thu, Nov 19, 2009 at 10:15 AM,
> Alexandre L. <axelbsd@ymail.com>
> wrote:
> 
> > mpdscribble: Failed to create pidfile
> /var/run/mpdscribble.pid: Permission
> > denied
> > Here my conf file /usr/local/etc/mpdscribble.conf :
> > # The location of the pid file.  mpdscribble
> saves its process id there.
> > pidfile = /var/run/mpdscribble.pid
> >
> 
> Just a shot in the dark, but can't you change the pidfile
> to a user-writable
> location in the conf file and save yourself the permissions
> headaches?
> Something like $HOME/mpdscribble.pid ?  Have you tried
> that yet?
> 
> -- 
> Computers are like air conditioners...
> They quit working when you open Windows.
> _______________________________________________
> freebsd-questions@freebsd.org
> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?469980.28607.qm>