| Summary: | app-admin/tenshi: chown fails in "fowners tenshi:root /var/lib/tenshi" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Raphael Marichez (Falco) (RETIRED) <falco> |
| Component: | Current packages | Assignee: | Andrea Barisani (RETIRED) <lcars> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Raphael Marichez (Falco) (RETIRED)
2007-08-24 15:24:26 UTC
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 |