Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293459 - sys-apps/mlocate: /etc/cron.daily/mlocate not POSIX-compliant
Summary: sys-apps/mlocate: /etc/cron.daily/mlocate not POSIX-compliant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 06:05 UTC by Richard Li
Modified: 2009-11-18 10:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Li 2009-11-17 06:05:14 UTC
/etc/cron.daily/mlocate says "/bin/sh" in the shebang line, but uses bash-specific features - the "source" keyword is known to bash only, we can replace it with a dot which all POSIX shells understand.

Normally /bin/sh always symlinks to bash in Gentoo, but it seems from bug #214817 that they're in the process of introducing app-admin/eselect-sh to tree (now in sunrise overlay), which will allow users to switch to dash (which Ubuntu and Debian persons have used as the default /bin/sh for years) or something alike. So I think it's time to get this fixed before many users do that.

Reproducible: Always
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-18 10:29:36 UTC
Thanks for your hint, I fixed it in mlocate-0.22.2-r1