Bug 250498

Summary: audio/spotifyd will not launch as user/nobody only as root
Product: Ports & Packages Reporter: break19
Component: Individual Port(s)Assignee: Rodrigo Osorio <rodrigo>
Status: Open ---    
Severity: Affects Only Me CC: fernape, rodrigo, swills
Priority: --- Flags: fernape: maintainer-feedback? (rodrigo)
Version: Latest   
Hardware: Any   
OS: Any   

Description break19 2020-10-21 01:50:01 UTC
FreeBSD13-CURRENT, not sure if it's affect elsewhere, or what about my system has it affecting me.

I had to modify the rc.d script to run spotifyd as root instead of as nobody. It complains that an address already exists and fails to launch when launching as any user.
Comment 1 Fernando ApesteguĂ­a freebsd_committer 2020-11-10 08:24:57 UTC
Informing maintainer.
Comment 2 Rodrigo Osorio freebsd_committer 2021-03-23 09:53:57 UTC
(In reply to break19 from comment #0)
Are you using chrome(ium) on the same computer ?
Comment 3 break19 2021-03-23 13:18:59 UTC
(In reply to Rodrigo Osorio from comment #2)
No. I don't use chrome at all on any of my devices. Firefox only.
Comment 4 Steve Wills freebsd_committer 2021-03-23 15:17:14 UTC
(In reply to break19 from comment #0)
Hmm, I use spotifyd as my user without issues. I have these values in rc.conf:

spotifyd_enable="YES"
spotifyd_user="swills"
spotifyd_env="HOME=/usr/home/swills XDG_RUNTIME_DIR=/var/run/user/1001"
spotifyd_config=/usr/home/swills/.config/spotifyd/spotifyd.conf

What exactly have you changed and what is the text of the error message you are seeing?
Comment 5 Rodrigo Osorio freebsd_committer 2021-04-09 22:02:59 UTC
(In reply to break19 from comment #3)

break19@:

Can you run spotifyd manually an see what's the output message ?
The is the command :

/usr/local/bin/spotifyd --no-daemon --verbose --config-path /usr/local/etc/spotifyd.conf