[Pianod] Home directory not accessible: Permission denied

Gary Koch garyckoch at att.net
Thu Jul 3 18:05:55 PDT 2014


systemd services run with a stripped down environment.  You can set a home directory with the Environment= or EnvironmentFile= directive.  (http://www.freedesktop.org/software/systemd/man/systemd.exec.html)

Gary Koch

On Jul 3, 2014, at 8:20 PM, Fritz Hildebrand <fritz.hildebrand at gmail.com> wrote:

> Hi..
> I'm running pianod-165 on a Raspberry Pi with Arch, and am getting the above message when starting pianod as root with systemctl. systemctl status pianod gives the following:
>  
> * pianod.service - Pandora Client Daemon
>    Loaded: loaded (/usr/lib/systemd/system/pianod.service; disabled)
>    Active: active (running) since Fri 2014-07-04 12:00:31 NZST; 20s ago
>  Main PID: 26018 (pianod)
>    CGroup: /system.slice/pianod.service
>            `-26018 /usr/local/bin/pianod -i /etc/pianod.startscript -u /etc/pianod.userfile -Z 0xfefd
>  
> Jul 04 12:00:41 zenith pianod[26018]: 2014-07-04 12:00:41: 132 startscript selected the station: QuickMix
> Jul 04 12:00:41 zenith pianod[26018]: 2014-07-04 12:00:41: 200 Success
> Jul 04 12:00:41 zenith pianod[26018]: 2014-07-04 12:00:41: Retrieving new playlist
> Jul 04 12:00:42 zenith pianod[26018]: 2014-07-04 12:00:42: Server authentication ok
> Jul 04 12:00:43 zenith pianod[26018]: Home directory not accessible: Permission denied
> Jul 04 12:00:43 zenith pianod[26018]: 2014-07-04 12:00:43: Server authentication ok
> Jul 04 12:00:43 zenith pianod[26018]: 2014-07-04 12:00:43: Server authentication ok
> Jul 04 12:00:44 zenith pianod[26018]: 2014-07-04 12:00:44: Server authentication ok
> Jul 04 12:00:45 zenith pianod[26018]: 2014-07-04 12:00:45: Server authentication ok
> Jul 04 12:00:45 zenith pianod[26018]: 2014-07-04 12:00:45: 132 startscript has disconnected
> It seems to start OK and play music, so that's good, but am wondering what is causing the permission denied error. If I start pianod with "-n root", this message does not appear.
>  
> Any ideas of how to eliminate this message?
>  
> Thanks.
>  
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20140703/39c027c6/attachment-0002.htm>


More information about the Pianod mailing list