Summary: | sys-apps/man-db installs broken man-db script in cron.daily | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patryk Rzadzinski <patryk> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | minor | CC: | dan, floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Patryk Rzadzinski
2015-04-18 08:56:44 UTC
Not cronie's fault: # qfile -C /etc/cron.daily/man-db sys-apps/man-db (/etc/cron.daily/man-db) Thanks, fixed title. By "fresh system", do you mean from an unpacked stage3 tarball? If so, I suspect something is setting the wrong owner for /var/cache/man during the stage building process. (In reply to Mike Gilbert from comment #3) > By "fresh system", do you mean from an unpacked stage3 tarball? > > If so, I suspect something is setting the wrong owner for /var/cache/man > during the stage building process. Apologies, I can only assume that's what it is on linode, I just got a VPS from them. (In reply to Patryk Rzadzinski from comment #4) > Apologies, I can only assume that's what it is on linode, I just got a VPS > from them. A recent stage tarball has the correct permissions, so this is probably an issue specific to your hosting provider. % tar -tvf stage3-amd64-20150416.tar.bz2 | grep -F /var/cache/man drwxr-sr-x man/root 0 2015-04-16 00:27 ./var/cache/man/ -rw-r--r-- root/root 0 2015-04-16 00:27 ./var/cache/man/.keep_sys-apps_man-db-0 we had the ebuild reset perms in the past as part of upgrades/migrations, but i don't recall the ownership of the dirs ever being "shutdown" the perm setup in the cronjob is meant for cases where /var gets nuked, not for when the perms get fudged. i'm not sure we generally support that case as it's hard to tell when it was accident (eh?) or on purpose because the admin is trying to do something different. *** Bug 584198 has been marked as a duplicate of this bug. *** |