The media-tv/plex-media-server ebuild installs the /etc/default/plexmediaserver config file to /etc/plex/plexmediaserver, following gentoo philosophy. In order to redirect start_pms to this installed user config, a sed command was added to the ebuild. However, the result of that command is wrong: sed -e "s#${CONFIG_VANILLA}#${CONFIG_PATH}#g" -i "${S}"/usr/sbin/start_pms || die This effectively substitutes the /etc/default/plexmediaserver config to /etc/plex rather than /etc/plex/plexmediaserver as it should be. The proper substitution seems like it would be: sed -e "s#${CONFIG_VANILLA}#${CONFIG_PATH}/${_APPNAME}#g" -i "${S}"/usr/sbin/start_pms || die Or something similar.
Hey Camille, Thanks for reporting this. You were right, the path was wrong. This has now been fixed and has been included with 1.4.4-r1, 1.5.3-r1, and also the new 1.5.5 ebuild. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca88b815a7f5fb96f3a0a220e88db0d79e14a76 https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=104defd9f31e572d095e60495cabcfaf45515bd3