Hi, during the install phase: chown: cannot access `/var/tmp/portage/app-admin/tenshi-0.6/image//var/lib/tenshi': No such file or directory because var/lib/tenshi/ doesn't exist yet at this moment. (perhaps call "keepdir" before "fowners"?). This affects at least tenshi-0.[678] I guess user tenshi needs write access to be able to start.
Check the actual perms after installation, it's just a warning due to Makefile. The ebuild sets proper permission and everything works fine. Re-open if not the case. Cheers.
AFAICT it has nothing to do with any Makefile, but with the ebuild. The creation of /var/lib/tenshi resides in pkg_setup() but *only* if the user "tenshi" does not exist. The chown of /var/lib/tenshi resides in src_install(). Hence the warning if the tenshi user already exists. The resulting image/ directory will have a "root:root" /var/lib/tenshi. - emerge tenshi - unmerge tenshi : the directory is deleted - emerge tenshi again : it doesn't want to start [sleipnir:~]1# /etc/init.d/tenshi start * Caching service dependencies ...[ ok ] * Service tenshi starting * Service sysklogd starting * Service sysklogd started [ERROR] could not open pid file /var/lib/tenshi/tenshi.pid: Permission denied at /usr/sbin/tenshi line 720. [ !! ] * ERROR: tenshi failed to start
Right, I didn't unmerge completely but only updated. So I didn't reproduce the problem. Anyway fix works for me in 0.8-r1. Thanks