1. Install www-servers/resin-3.0.12 on amd64 with "~amd64" keyword on a machine that does not have /var/log/resin and /opt/resin folders. 2. Observe that /var/log/resin folder is created with user:group == "root:root". 3. Execute as root: /etc/init.d/resin start. Observe the error message that says: Can't create /var/log/resin/resin_out.log. 4. Execute as root: chown -R resin:resin /var/log/resin. Now the resin could be started. 5. Open "http://localhost:8080/" in a web browser. See exception that Resin was not able to create /opt/resin/webapps/ROOT/WEB-INF/tmp/ folder. 6. Stop resin (/etc/inid.d/resin stop). 7. Execute as root: chown -R resin:resin /opt/resin/webapps/ . 8. Now the above URL works after restarting resin. Problem solved! Morale of the story: The ebuild script /usr/portage/www-servers/resin/resin-3.0.12.ebuild should execute steps 4 and 7 as post-install steps.
*** This bug has been marked as a duplicate of 63246 ***